Tuesday, October 30, 2018

Command Modes

Command Modes









Command Mode
Prompt
Exit Method
User EXEC
Router>
Use the logout command.
Privileged EXEC
Router#
To return to user EXEC mode, use the disable command.
Global configuration
Router(config)#
To return to privileged EXEC mode from global configuration mode, use the exit or end command, or press Ctrl-Z.
Interface configuration
Router(config-if)#
To return to global configuration mode, use the exit command.
To return to privileged EXEC mode, use the end command, or press Ctrl-Z.


Example: Administrative Distance


Example: Administrative Distance

Example: Administrative Distance


If we want to reach Pc2 (60.0.0.10) from Pc1 (10.0.0.10), There are two possible ways are available. Both are same distance only.
If we configure like above picture. It will work as load balance.In 256 Mbps Speed Connection, Packet will be forwarded with high speed.But in 64 Mbps Speed Connection, Packet will be arrived with delay. So Data queue will increase.So Set AD Value Lower for 256 Mbps Connection.


R1:


By default, AD Value is 1 for static route
So change AD Value higher than 1 for 64 Mbps connection

R1(config)#ip route 60.0.0.0 255.0.0.0 30.0.0.2 2

Here AD Value is Changed to 2

R4:

R4(config)#ip route 10.0.0.0 255.0.0.0 50.0.0.1 2


Here AD value in R4 changed to avoid load balancing of reply packet.



Now 256 Mbps Connection will work.
If 256 Mbps Connection disconnected/failed, then 64 Mbps Connection will work.


Administrative Distance




  • To select the best path (lower number is better) when there are two or more different routes to the same destination from two different routing protocols. 



Routing Protocol
Administrative distance


Static routing
1
Routing Information Protocol (RIP)
120
OSPF
110
EIGRP
90