Category: CCNA Study Guide

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

Passive-Interface Command on CISCO Router/Switch

Command Passive-Interface Use This command disables RIP for a specific interface on the router. Syntax Router(config-router)#passive-interface <interface> 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 …

Version 2 Command on CISCO Router/Switch

Command Version 2 Use Switches router rip version to version 2. The benefits of rip version 2 are: -Increased security -More efficient (uses multicast instead of broadcast) -Supports classless addresses Syntax Router(config-router)#version 2 Example Here is the version 1 debug for R3. R3(config-router)#do debug ip rip RIP protocol …

Filtering Output Command on CISCO Router/Switch

Filtering Output Use In the Cisco IOS, there are several different ways to control the output so that you get only the information that you want. Syntax <any command> | <include or exclude or section> <text string or regular expression>< | ><text string or regular expression> Options <include> …

Show DHCP Lease Command on CISCO Router/Switch

Command Show DHCP Lease Use This command shows DHCP lease information for interfaces that are configured with DHCP on the router. Syntax Router#show dhcp lease Example In the below example we configure R1’s Fa0/0 to use DHCP. R1(config)#int fa0/0 R1(config-if)#ip address dhcp R1(config-if)# *Mar 1 01:39:29.295: %DUAL-5-NBRCHANGE: IP-EIGRP(0) …

Show IP Protocols Command on CISCO Router/Switch

Command Show IP Protocols Use This command displays a summary of configured routing protocol information. It is useful for quickly verifying how routing protocols are configured. It is mainly used for RIP, since there aren’t very many other troubleshooting commands available. Syntax Router#show ip protocols Example In the …

Show IP Route Connected Command on CISCO Router/Switch

Command Show IP Route Connected Use Allows you to see just the directly connected routes installed in the routing table. Syntax Router#show ip route ospf Example Here’s an example of the show ip route connected command. First, here’s the entire routing table of R2, outputted from the show ip route command. R2(config-if)#do sh …

Show IP Route RIP Command on CISCO Router/Switch

Command Show IP Route RIP Use Allows you to see the RIP routes installed in the routing table. Syntax Router#show ip route rip Example The following example demonstrates the output of this command. First, show ip route is executed on R2 to display the entire routing table. R2(config-if)#do sh ip route Codes: …