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

  • Run tftp64 on windows machine
  • Make sure it can be reached i.e. the Windows firewall is not blocking it.
copy running-startup-config ftp://admin:password123@ip/switch-config-backup.txt

could also use startup-configtftp: