|
|
5 years ago | |
|---|---|---|
| .. | ||
| README.md | 7 years ago | |
| assign-single-vlan-switchport.md | 7 years ago | |
| basic-setup.md | 7 years ago | |
| ios-image-backup.md | 5 years ago | |
| minicom.md | 6 years ago | |
| reconfigure-switchport.md | 7 years ago | |
| reconfigure-trunk-port.md | 7 years ago | |
| remove-trunk-port.md | 7 years ago | |
| troubleshooting.md | 5 years ago | |
| vlan-config.md | 6 years ago | |
Commands frequently used in Cisco IOS, so I don't forget them.
Bring up a disabled interface
no shut
Show all registered VLANs (and associated access ports)
show vlan brief
Show allowed VLANs on a particular trunk port
sh int Gi0/43 trunk
Return all IPs registered to the switch
show ip interface brief
If the ports are only VLAN carriers, exclude unneeded stuff:
show ip interface brief | exclude unassigned
Show port security info
sh port-security address
Show port security info for a specific switchport
sh port-security int Gi0/2
Show existing config files / flash memory
show flash
Device info (IOS version, etc)
show version
Most IOS commands can be abbreviated like int for interface or brie for brief.. what I use in my notes is dependent on how lazy I was at the time I saved the command.