Basic Routing and Switching Troubleshooting



Checking the Routing Table:

Router#show ip route

Router#show ip route protocol

Router#show ip route w.x.y.z

Router#show ip route connected

Router#show ip route static

Router#show ip route summary

Router#show ipv6 route

Router#show ipv6 route X:X:X:X:X:X:X:X

Router#show ipv6 route protocol



Clearing The Routing Table:


Router#clear ip route *

Router#clear a.b.c.d ip route

Router#clear ipv6 route *

Router#clear X:X:X:X::X ipv6 route


Gateway Configuration:



Router(config)#ip default-network w.x.y.z

Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.20.1


Find the Last Routing Update:


Router#show ip route


Router#show ip route w.x.y.z

Router#show ipv6 route

Router#show ipv6 route X:X:X:X:X:X:X:X

Router#show ip protocols

Router#show ipv6 protocols


Layer -3 Testing:


Router#ping w.x.y.z


Router#ping aaaa:aaaa: aaaa:aaaa:aaaa:aaaa:aaaa:aaaa

Router#ping


Layer-7 Testing:

Router#debug telnet


Clearing Counter:


Router#clear counters


Router#clear counters interface type/slot

Traceroute Command:

Router#traceroute w.x.y.z


Router#traceroute ipv6 A:A:A:A:A:A:A:A

Show Controller:

Router#show controllers serial 0/0/0


Debug Command:


Router#debug all

Router#u all (short form of undebug all)

Router#show debug

Router#terminal monitor


No comments