Example Cisco Router configuration

1.Example Cisco Router configuration


  1. Router>enable
  2. Router#config
  3. Router(config)#hostname N115-7206
  4. N115-7206(config)#interface serial 1/1
  5. N115-7206(config-if)ip address 192.168.155.2 255.255.255.0
  6. N115-7206(config-if)ipv6 address fe80::230:1bff:fe80:b8ea/64
  7. N115-7206(config-if)ipv6 enable
  8. N115-7206(config-if)no shutdown
  9. N115-7206(config-if)ctrl-z
  10. N115-7206#show interface serial 1/1
  11. N115-7206#config
  12. N115-7206(config)#interface ethernet 2/3
  13. N115-7206(config-if)#ip address 192.168.150.90 255.255.255.0
  14. N115-7206(config-if)#no shutdown
  15. N115-7206(config-if)#ctrl-z
  16. N115-7206#show interface ethernet 2/3
  17. N115-7206#config
  18. N115-7206(config)#ip name-server 172.16.0.10
  19. N115-7206(config)#ctrl-z
  20. N115-7206#ping archie.au
  21. N115-7206#config
  22. N115-7206(config)#enable secret password
  23. N115-7206(config)#ctrl-z
  24. N115-7206#copy running-config startup-config
  25. N115-7206#exit

2. Troubleshooting your Cisco router

Inevitably, there will be problems. Usually, it will come in the form of a user notifying you that they can not reach a certain destination, or any destinattion at all. You will need to be able to check how the router is attempting to route traffic, and you must be able to track down the point of failure.
You are already familiar with the show commands, both specific commands and how to learn what other show commands are available. Some of the most basic, most useful commands you will use for troubleshooting are:

Router#show interfaces

Router#show ip protocols
Router#show ipv6 protocols
Router#show ip route
Router#show ipv6 route
Router#show ip arp
Router#show ipv6 neighbors