Troubleshooting Commands¶
ping¶
The ping command is used to test connectivity to another device on the network
Usage¶
The most simple use case is ‘ping [ip address]’
ping 192.168.1.1
This command can be used from Linux, Windows and Cisco IOS devices
traceroute¶
The trace command is used to view all the ‘hops’ a packet makes when being sent to a destination on the network.
Usage¶
The most simple use case is ‘tracert [ip address]’ for Cisco IOS and Linux devices:
traceroute 192.168.1.1
However, this command is also available Windows devices:
tracert 192.168.1.1
show running-config¶
Shows the running configuration of a Cisco IOS device. Really important troubleshooting command especially if you know YAML
Switch Verification Commands¶
show interfaces¶
Display interface status and configuration. Useful for checking for connectivity issues liek exessive noise on the line
switch# show interfaces [inteface-id]
show ip interface¶
Display IP information about an interface.
switch# show ip interface [interface-id]
show ipv6 interface¶
Display IPv6 information about an interface.
switch# show ipv6 interface [interface-id]