MichaelJLittle / PowerShell

Powershell
0 stars 0 forks source link

Cisco Commands Part 1 #14

Open MichaelJLittle opened 2 weeks ago

MichaelJLittle commented 2 weeks ago

Show logging # shows all logs

Show logging | include ERROR # shows errors as well

show interface # shows what interfaces are being used

show vlan # lists your vlans that you have in use

https://www.cisco.com/c/en/us/td/docs/server_nw_virtual/2-5_release/command_reference/show.html#wp1122127

Above link has a ton more

MichaelJLittle commented 2 days ago

enable password PASSWORD # adds a password to telnet into a device / enter config mode

NOTE must be done from config mode

MichaelJLittle commented 2 days ago

enable secret password

encrypts the password. if you do Show Run, then you will see that it is not visible

MichaelJLittle commented 2 days ago

enable telnet

conf t mode - input

line vty 0 4

enable secret password

MichaelJLittle commented 2 days ago

put password in for intial switch / router login

input enable for privledged mode

input conf t for configuration mode

-line console 0

now when you try to login intially it will prompt you for the password you input

MichaelJLittle commented 22 hours ago

add default gateway for seich config mode

ip default-gateway 192.168.1.100****