Month: April 2018

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. CopyR2#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. CopyR2#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 …

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 …

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 …