cisco switch helpful commands
Posted: Sun Oct 05, 2025 4:17 pm
cisco show ip
console connect
remove stack members
rename switch number
show live info in ssh
show ports status and description
terminal no breaks
show trunk
show routing
show ports brief
show vlans
remove vlan
set trunk port
save config
remove ssh timeout
reset cisco 8200 AP
make sure your in cisco shell, not controller mode.
Code: Select all
show ip intCode: Select all
sudo screen /dev/ttyUSB0 9600Code: Select all
enable
Switch#show run | i provision
switch 1 provision ws-c2960x-24ps-l
switch 3 provision ws-c2960x-24ps-l
conf t
no switch 3 provision ws-c2960x-24ps-lCode: Select all
conf t
switch 3 renumber 1show live info in ssh
Code: Select all
terminal monitorCode: Select all
show int statusCode: Select all
terminal length 0Code: Select all
show int trunkCode: Select all
show ip routeCode: Select all
show ip int brCode: Select all
show vlan brCode: Select all
conf t
no vlan <vlanid>Code: Select all
conf t
int GigabitEthernet 1/0/48
switchport mode trunkCode: Select all
copy run startCode: Select all
conf t
line vty 0 15
exec-timeout 0 0make sure your in cisco shell, not controller mode.
Code: Select all
capwap ap erase all