Author: ITExamAnswers Editorial Team
The ITExamAnswers Editorial Team is a dedicated group of certified IT professionals and network engineers. We rigorously review, verify, and update all exam materials to ensure you receive the most accurate and reliable resources for your certification journey.
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> …
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. CopyR1(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) …
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 …
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. CopyR2(config-if)#do sh …
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. CopyR2(config-if)#do sh ip route Codes: …
Command Show IP OSPF Neighbor Use Displays the router’s ospf adjacencies. Syntax Router#show ip ospf neighbor Example Here are the ospf adjacencies for R2. CopyR2#show ip ospf neighborNeighbor ID Pri State Dead Time Address Interface 133.133.133.133 1 FULL/DR 00:00:35 10.2.2.3 FastEthernet1/0 111.111.111.111 1 FULL/DR 00:00:33 10.1.1.1 FastEthernet0/0
Command Show IP EIGRP Topology Use This command shows EIGRP topology information on the router. This information includes the advertised and feasible distance for all paths as well as the successors. This is especially useful when calculating variance. Syntax Router#show ip eigrp topology Example In the below example …
Command Show DHCP Server Use This command shows information about known DHCP servers that have communicated with the router. Syntax Router#show dhcp server Example In the below example we configure R1’s Fa0/0 to use DHCP. CopyR1(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) 100: Neighbor …
Command Show IP DHCP Binding Use This command lists the addresses that the DHCP service on a router has assigned. Syntax Router#show ip dhcp binding Example In the below example we configure R1’s Fa0/0 to use DHCP. CopyR1(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) …
Command Show Sessions Use This command displays information about the telnet sessions that the router has established. Syntax Router#show sessions Example In this example, we use show sessions on R1 after we telnet to R2 and suspend the session. CopyR1(config)#do telnet 10.1.1.2 Trying 10.1.1.2 … Open User Access Verification Password: …