Neighbor Command on CISCO Router/Switch

Command Neighbor Use This command tells RIP to communicate with unicast updates to a specific neighbor. This is usually used with the passive-interface default command to prevent all other RIP communication. Syntax Router(config-router)#neighbor <ip address> Example In this example, we will configure R4 to send its updates to R3 using …

Offset-List Command on CISCO Router/Switch

Command Offset-List Use This command allows you to modify the metric of a route on the routing table. Syntax Router(config-router)#offset-list <list> <in or out> <offset> <interface> Options <list> = 0 All networks <list> = 1-99, 1300 – 1999 Standard accses list <list> = Name Named access list <in> …

Passive-Interface Default Command on CISCO Router/Switch

Command Passive-Interface Default Use This command disables RIP for all interfaces on the router. Syntax Router(config-router)#passive-interface default Example First, here are the route tables for all routers with no passive-interface default. R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router rip R2(config-router)#no passive-interface default R1 route …

Network Command on CISCO Router/Switch

Command Network Use Specifies which interfaces RIP will run on. Syntax Router(config-router)#network <ip address> Example In this example, RIP is enabled for all interfaces on R2. R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router rip R2(config-router)#network 10.1.1.2 R2(config-router)#network 10.2.2.2 R2(config-router)#network 2.2.2.2 Here, the running …

Timers Command on CISCO Router/Switch

Command Timers Use Changes the RIP timers associated with RIP on the router. Syntax Router(config-router)#timers basic <update interval> <invalid> <holddown> <flush> <sleep time> Options <update interval> Time between route updates <invalid> Time interval that determines that a route is down <holddown> Route is no longer used but is …

Distribute-List Command on CISCO Router/Switch

Command Distribute-List Use Allows you to filter routes from the routing table. For CCNA purposes, usually this is done through access lists. Syntax Router(config-router)#distribute-list <list> <in/out> OR Router(config-router)#distribute-list <list> <in/out> <interface> Options <list> Access list <in/out> Whether the router is receiving or sending the route Example In this …

Validate-Update-Source Command on CISCO Router/Switch

Command Validate-Update-Source Use This command is enabled by default. When enabled, RIP will only allow routes received on the same subnet. Syntax Router(config-router)#validate-update-source Example In this example, here’s what happens when no validate-update-source is enabled on R2. First, the IP of int fa0/0 on R2 is changed to 10.5.5.2, which …

No Auto-Summary Command on CISCO Router/Switch

Command No Auto-Summary Use Prevents RIP from advertising networks as a classful boundary. Syntax Router(config-router)#no auto-summary Example Here’s the route table from R2 with auto-summary enabled. R2#show ip route Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP D – EIGRP, EX – …

Distance Command on CISCO Router/Switch

Command Distance Use Modifies the administrative distance for RIP routes. Syntax Router(config-router)#distance <1-255>  OR Router(config-router)#distance <1-255> <source IP> <wildcard bits> <list> Options <source IP> The IP from which the routes are comming from <wildcard bits> The wildcard mask <list> Access list Example First, the administrative distance for all rip routes …

Maximum-Paths Command on CISCO Router/Switch

Command Maximum-Paths Use Controls how many equal cost paths OSPF will loadbalance with. Syntax Router(config-router)#maximum-path <1-16> Example In this example we will change the number of OSPF maximum paths to 6. R1(config)#router OSPF 1 R1(config-router)# maximum-paths 6