Skip to main content

Cisco Switch commands

Assign IP

enable
configure terminal
interface vlan <No>
ip address <IP> <Mask>
no shutdown
exit

Remove IP

enable
configure terminal
interface vlan <No>
no ip address <IP> <Mask>
exit

Assign a Gateway

enable
configure terminal
ip default-gateway <ip>
exit

Show interface IPs

show ip interface brief

Backup Config

copy running-config ftp://admin:password123@ip/switch-config-backup.txt