Verifying changes in the routing table

After configure the interfaces and routes on the router it is must to verify the route. The command is use for verify the route-

Router# show ip route

This command shows the routing table of the router. Some of the content of the routing table-

C-show the directly connected network

S-show the static route

I-show the protocol IGRP

R-show the protocol RIP

D-show the protocol EIGRP

O-show the protocol OSPF

B-show the protocol BGP

A routing table is used to store routing information from different sources. The main purpose of a routing table is to provide paths to the router to different destination networks. The routing table consist a list of network address those are directly connected, configured statically and dynamically.

Observing the changes to the routing table-

The debug ip command is used to display any changes that router performs when adding or removing any route from the routing table.

Router# debug ip route

The debug ip routing command display routing table processes for any route whether it is directly connected router, static route or dynamic route. We can disable the debug ip routing command by using the undebug up routing or the undebug all command.

Router# undebug ip routing

Changing the IP address-

To change the IP address and the subnet mask of an interface, reconfigure the IP address and subnet mask for that interface. This change overwrites the previous address. To remove the directly connected network from a router, two commands are used –shutdown and no ip address. The shutdown command is use to disable the interface. For example-

Router (config) # int fa0/0

Router (config) # shutdown

After the shutdown command is used, we can remove the ip address and the subnet mask from that interface.

To remove the IP address of a particular interface, we use the command no ip address as follow-

Router (config) # int fa0/0

Router (config) # no ip address

  • Share/Bookmark

No related posts.

Leave a Reply