CCNA IP Routing • Complete Question Bank
Complete CCNA IP Routing question bank — all 0 questions with answers and detailed explanations.
A router output shows this neighbor state:
Neighbor ID 10.1.1.1 State FULL/DR Address 192.168.12.1
What does the FULL/DR state indicate?
A router shows this output:
R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 10.1.1.2 1 FULL/DR 00:00:34 192.168.12.2 GigabitEthernet0/0 10.1.1.3 1 2WAY/DROTHER 00:00:39 192.168.12.3 GigabitEthernet0/0
Which statement is correct?
Which summary route best represents these four networks?
10.20.0.0/24 10.20.1.0/24 10.20.2.0/24 10.20.3.0/24
A router has these routes in its routing table:
O 172.16.0.0/16 O 172.16.20.0/24 S 172.16.20.128/25
A packet destined for 172.16.20.200 arrives. Which route will the router use?
A router shows the following route:
O 10.10.40.0/24 [110/20] via 192.0.2.2, 00:00:12, GigabitEthernet0/0
What does the value 110 represent?
A router shows the following routing table entries for the same destination:
O 10.10.50.0/24 [110/20] via 192.168.12.2, GigabitEthernet0/0 D 10.10.50.0/24 [90/30720] via 192.168.13.2, GigabitEthernet0/1
Which route will become the active route in the routing table?
A router interface is configured for OSPF, but neighbors do not form. The engineer checks the interface and sees Hello 10 and Dead 40. The neighbor on the same segment uses Hello 30 and Dead 120.
What is the most likely cause of the OSPF adjacency failure?
R1# show ip route O 10.1.1.0/24 [110/20] via 192.0.2.2, GigabitEthernet0/0 S 10.1.1.128/25 [1/0] via 192.0.2.6 O 10.1.0.0/16 [110/30] via 192.0.2.10, GigabitEthernet0/1 S* 0.0.0.0/0 [1/0] via 198.51.100.1
R1 has the following static route configured:
ip route 0.0.0.0 0.0.0.0 203.0.113.1
What does this route accomplish?
ip route 0.0.0.0 0.0.0.0 203.0.113.1
A network engineer enters the following configuration on R1 and R2, but R1 cannot form an OSPF adjacency with R2 on interface GigabitEthernet0/0.
R1# show running-config interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 10.0.0.1 255.255.255.0 ip ospf hello-interval 10 ip ospf dead-interval 40 ip ospf 1 area 0
!
R2# show running-config interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 10.0.0.2 255.255.255.0 ip ospf hello-interval 5 ip ospf dead-interval 20 ip ospf 1 area 0
What is the most likely cause of the failure?
R1# interface GigabitEthernet0/0 ip address 10.1.12.1 255.255.255.0 ip ospf hello-interval 10 ip ospf dead-interval 40 ! router ospf 10 network 10.1.12.0 0.0.0.255 area 0 R2# interface GigabitEthernet0/0 ip address 10.1.12.2 255.255.255.0 ip ospf hello-interval 5 ip ospf dead-interval 20 ! router ospf 10 network 10.1.12.0 0.0.0.255 area 0
R1# show ip route O 172.16.10.0/24 [110/20] via 10.1.1.2 S 172.16.10.128/25 [1/0] via 10.1.1.6 O 172.16.0.0/16 [110/30] via 10.1.1.10 S* 0.0.0.0/0 [1/0] via 203.0.113.1
R1# show ip ospf interface g0/0 GigabitEthernet0/0 is up, line protocol is up Internet Address 10.1.12.1/30, Area 0 Network Type POINT_TO_POINT R2# show ip ospf interface g0/0 GigabitEthernet0/0 is up, line protocol is up Internet Address 10.1.12.2/30, Area 0 Network Type BROADCAST
R1# interface GigabitEthernet0/0 ip address 10.10.12.1 255.255.255.0 ip ospf hello-interval 10 ip ospf dead-interval 40 ! router ospf 1 network 10.10.12.0 0.0.0.255 area 0 R2# interface GigabitEthernet0/0 ip address 10.10.12.2 255.255.255.0 ip ospf hello-interval 5 ip ospf dead-interval 20 ! router ospf 1 network 10.10.12.0 0.0.0.255 area 0
R1# interface GigabitEthernet0/0 ip address 10.1.12.1 255.255.255.0 ip ospf authentication message-digest ip ospf message-digest-key 1 md5 cisco123 ! router ospf 10 network 10.1.12.0 0.0.0.255 area 0 R2# interface GigabitEthernet0/0 ip address 10.1.12.2 255.255.255.0 ! router ospf 10 network 10.1.12.0 0.0.0.255 area 0
R1# show ip ospf interface g0/0 GigabitEthernet0/0 is up, line protocol is up Internet Address 10.1.12.1/30, Area 0 MTU 1500 bytes R2# show ip ospf interface g0/0 GigabitEthernet0/0 is up, line protocol is up Internet Address 10.1.12.2/30, Area 0 MTU 1400 bytes
R1# interface GigabitEthernet0/0 ip address 10.0.12.1 255.255.255.252 ip ospf authentication message-digest ip ospf message-digest-key 1 md5 cisco123 ! router ospf 1 network 10.0.12.0 0.0.0.3 area 0 R2# interface GigabitEthernet0/0 ip address 10.0.12.2 255.255.255.252 ip ospf authentication message-digest ip ospf message-digest-key 1 md5 cisco321 ! router ospf 1 network 10.0.12.0 0.0.0.3 area 0
R1# show ip ospf interface g0/0 GigabitEthernet0/0 is up, line protocol is up Internet Address 10.12.12.1/30, Area 0 Network Type POINT_TO_POINT R2# show ip ospf interface g0/0 GigabitEthernet0/0 is up, line protocol is up Internet Address 10.12.12.2/30, Area 0 Network Type BROADCAST
R1# interface GigabitEthernet0/0 ipv6 address fe80::1 link-local ipv6 ospf 10 area 0 ! ipv6 router ospf 10 router-id 1.1.1.1 R2# interface GigabitEthernet0/0 ipv6 address fe80::2 link-local ipv6 ospf 10 area 1 ! ipv6 router ospf 10 router-id 2.2.2.2
What is the main purpose of this configuration?
ipv6 route 2001:db8:100::/64 GigabitEthernet0/0
R1(config)# ipv6 route 2001:db8:100::/64 GigabitEthernet0/0
R1(config)# ?
R1(config)# ipv6 route ::/0 2001:db8:ff::1
interface Tunnel0 ip address 10.10.10.1 255.255.255.252 tunnel source GigabitEthernet0/0 tunnel destination 198.51.100.2
R1# show run | include ^ip route ip route 198.51.100.0 255.255.255.0 192.0.2.2 R1# show ip route O 198.51.100.64/26 [110/20] via 192.0.2.6, GigabitEthernet0/1 S 198.51.100.0/24 [1/0] via 192.0.2.2 Destination being tested: 198.51.100.70
R1# show ip route O 172.16.10.0/24 [110/20] via 192.0.2.10 S 172.16.10.128/25 [1/0] via 192.0.2.6 Destination being tested: 172.16.10.130
R1# show ip route O 10.1.1.0/24 [110/20] via 192.0.2.2 S 10.1.1.64/26 [1/0] via 192.0.2.6 O 10.1.0.0/16 [110/30] via 192.0.2.10 S* 0.0.0.0/0 [1/0] via 198.51.100.1 Destination being tested: 10.1.1.70
R1# router ospf 1 network 10.1.12.0 0.0.0.255 area 0 ! interface GigabitEthernet0/0 ip address 10.1.12.1 255.255.255.0
R1# show interface serial0/0/0 | include Encapsulation Encapsulation PPP R2# show interface serial0/0/0 | include Encapsulation Encapsulation HDLC
R1# show ip route O 172.20.10.0/24 [110/20] via 192.0.2.2 S 172.20.10.32/27 [1/0] via 192.0.2.6 S* 0.0.0.0/0 [1/0] via 198.51.100.1 Destination being tested: 172.20.10.33
R1# show ip route O 10.50.0.0/16 [110/20] via 192.0.2.2 R 10.50.0.0/16 [120/1] via 192.0.2.6
R1# interface GigabitEthernet0/0 ip address 10.1.50.1 255.255.255.0 ! router ospf 1 network 10.1.50.0 0.0.0.255 area 0 R2# interface GigabitEthernet0/0 ip address 10.1.50.2 255.255.255.0 ! router ospf 1 network 10.1.50.0 0.0.0.255 area 1
R1# show run | include ^ip route ip route 192.168.40.0 255.255.255.0 203.0.113.2 ip route 0.0.0.0 0.0.0.0 198.51.100.1 R1# show ip route C 198.51.100.0/30 is directly connected, GigabitEthernet0/0 L 198.51.100.2/32 is directly connected, GigabitEthernet0/0
R1# interface Serial0/0/0 encapsulation ppp ppp chap hostname Branch1 ppp chap password cisco123 R2# interface Serial0/0/0 encapsulation ppp ppp chap hostname Branch1 ppp chap password cisco321
Current state: O*E2 0.0.0.0/0 [110/1] via 192.0.2.2 Configured backup: ip route 0.0.0.0 0.0.0.0 198.51.100.2 250 Primary route is then removed or lost.
R1# show run | include ip route|default-information ip route 0.0.0.0 0.0.0.0 198.51.100.2 250 R1# show ip route O*E2 0.0.0.0/0 [110/1] via 192.0.2.2
R1# show ip route D 10.10.10.0/24 [90/30720] via 192.0.2.2 O 10.10.10.0/24 [110/20] via 192.0.2.6 Destination being tested: 10.10.10.200
R1# show run | include ^ip route ip route 10.200.0.0 255.255.0.0 Serial0/0/0 R1# show ip interface brief Interface IP-Address OK? Method Status Protocol Serial0/0/0 unassigned YES unset administratively down down
R1# router ospf 1 network 10.20.12.0 0.0.0.255 area 0 passive-interface GigabitEthernet0/0 ! interface GigabitEthernet0/0 ip address 10.20.12.1 255.255.255.0 R2# router ospf 1 network 10.20.12.0 0.0.0.255 area 0 ! interface GigabitEthernet0/0 ip address 10.20.12.2 255.255.255.0
R1# show ip route C 172.18.9.0/24 is directly connected, GigabitEthernet0/1 S 172.18.0.0/16 [1/0] via 192.0.2.2 Destination being tested: 172.18.9.10
R1# show ip route O 10.60.4.0/24 [110/20] via 192.0.2.2 S 10.60.4.16/28 [1/0] via 192.0.2.6 D 10.60.0.0/16 [90/30720] via 192.0.2.10 Destination being tested: 10.60.4.17
R1# show ip route O 10.30.5.0/24 [110/20] via 192.0.2.2 S 10.30.5.128/25 [1/0] via 192.0.2.6 S* 0.0.0.0/0 [1/0] via 198.51.100.1 Destination being tested: 10.30.5.130
R1# show ip route O 192.168.10.0/24 [110/20] via 192.0.2.2 S 192.168.10.128/25 [1/0] via 192.0.2.6 S* 0.0.0.0/0 [1/0] via 198.51.100.1 Destination being tested: 192.168.10.130
R1# show ip route R 172.31.80.0/24 [120/1] via 192.0.2.2 S 172.31.0.0/16 [1/0] via 192.0.2.6 Destination being tested: 172.31.80.10
R1# show ip route S 10.90.0.0/16 [1/0] via 192.0.2.2 R 10.90.0.0/16 [120/1] via 192.0.2.6
R1# interface GigabitEthernet0/0 ip address 10.10.12.1 255.255.255.0 ip ospf authentication message-digest ip ospf message-digest-key 1 md5 C1sc0 ! router ospf 1 network 10.10.12.0 0.0.0.255 area 0 R2# interface GigabitEthernet0/0 ip address 10.10.12.2 255.255.255.0 ip ospf authentication message-digest ip ospf message-digest-key 1 md5 C1scO ! router ospf 1 network 10.10.12.0 0.0.0.255 area 0
R1 interface to LAN: 192.168.50.1/24 on G0/1 R1 OSPF config: router ospf 1 network 192.168.5.0 0.0.0.255 area 0 network 10.0.12.0 0.0.0.3 area 0
R1: S* 0.0.0.0/0 [200/0] via 192.0.2.2 (configured) OSPF neighbor advertises 0.0.0.0/0 as O E2 [110/1]
R1 G0/0: ip 10.1.12.1/30, ip ospf hello-interval 10, ip ospf dead-interval 40 R2 G0/0: ip 10.1.12.2/30, ip ospf hello-interval 5, ip ospf dead-interval 20 Both interfaces are up/up and in area 0.
R1 G0/0: 10.12.12.1/30, ip ospf 1 area 0 R2 G0/0: 10.12.12.2/30, ip ospf 1 area 1 Both interfaces are up/up.
ip route 192.0.2.0 255.255.255.0 10.1.1.1 10 ip route 192.0.2.0 255.255.255.0 10.1.1.2 5
ip route 0.0.0.0 0.0.0.0 10.1.1.2 ip route 0.0.0.0 0.0.0.0 10.1.2.2 200 Primary interface remains up/up when upstream device fails.
R3 routing candidates for 10.50.0.0/16: via 10.0.23.2 cost 20 via 10.0.34.4 cost 20 Both learned as OSPF intra-area routes
Exhibit: A router has the following routes in its routing table: - OSPF: 10.1.1.0/24 - Static: 10.1.1.128/25 - Default: 0.0.0.0/0
A packet is destined for 10.1.1.130. Which route does the router use?
O 10.1.1.0/24 via 192.0.2.1 S 10.1.1.128/25 via 198.51.100.1 S* 0.0.0.0/0 via 203.0.113.1
show ip route 0.0.0.0 S* 0.0.0.0/0 [1/0] via 192.0.2.2 O*E2 0.0.0.0/0 [110/1] via 198.51.100.2
Current state: R1 priority 1 - DR R2 priority 1 - BDR R3 priority changed from 1 to 200 after adjacency formed
R1 G0/1: 10.1.12.1 255.255.255.0 R2 G0/1: 10.1.12.2 255.255.255.252 Both interfaces are up and in area 0
R2#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 2.2.2.2 1 FULL/DR 00:00:33 10.1.1.2 Gig0/0 3.3.3.3 1 2WAY/DROTHER 00:00:39 10.1.1.3 Gig0/0
show ip route 10.50.0.0 O 10.50.0.0/24 [110/30] via 192.0.2.2 S 10.50.0.0/24 [130/0] via 198.51.100.2
ip route 172.20.8.0 255.255.255.0 10.1.13.2 show ip route 10.1.13.0 % Network not in table
R1# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 2.2.2.2 0 EXSTART 00:00:31 10.1.12.2 Serial0/0/0
R1# show ip route 172.16.10.0 D 172.16.10.0/24 [90/30720] via 10.1.1.2 O 172.16.10.0/24 [110/20] via 10.1.2.2 R 172.16.10.0/24 [120/1] via 10.1.3.2 S 172.16.10.0/24 [95/0] via 10.1.4.2
R1# show ip route 192.168.50.0 Routing entry for 192.168.50.0/24 Known via "static", distance 1, metric 0 Routing Descriptor Blocks: * 10.1.1.2 Candidate sources seen on R1: - static via 10.1.1.2 - eBGP via 10.2.2.2 metric 0 - OSPF via 10.3.3.3 metric 20 - RIP via 10.4.4.4 metric 2
R1# show ip route | include 0.0.0.0 O*E2 0.0.0.0/0 [110/1] via 10.1.12.2 R1(config)# ip route 0.0.0.0 0.0.0.0 192.0.2.1 150
R1# ping 10.1.23.2 !!!!! R1# show ip route 192.168.3.0 % Network not in table
Exhibit: Consider the following ACL applied inbound on interface G0/0:
access-list 100 deny ip host 10.10.10.10 any access-list 100 deny tcp any host 10.10.10.10 eq 23 access-list 100 permit ip any any
The intent is to block only Telnet (TCP port 23) to server 10.10.10.10 while permitting everything else. However, users cannot reach any service on that server. Why?
ip access-list extended BLOCK-TELNET deny ip any host 10.10.10.10 deny tcp any host 10.10.10.10 eq 23 permit ip any any
R1 g0/0: area 0, ip ospf authentication message-digest R2 g0/0: area 1, no authentication
R1(config)# ip route 172.16.40.0 255.255.255.0 10.10.10.2 R1# show ip route 172.16.40.0 % Subnet not in table R1# show ip route 0.0.0.0 S* 0.0.0.0/0 [1/0] via 192.0.2.254
Routing information sources: O 172.16.50.0/24 [110/20] via 10.1.1.2 S 172.16.50.0/24 [5/0] via 192.0.2.1
ip route 0.0.0.0 0.0.0.0 198.51.100.1 ip route 0.0.0.0 0.0.0.0 203.0.113.1 200
S* 0.0.0.0/0 via 203.0.113.1 O 192.168.50.0/24 [110/20] via 10.10.10.2
R1# show ip route static
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
S* 0.0.0.0/0 [1/0] via 192.168.1.2
S 10.10.10.0/24 [200/0] via 192.168.2.2
R1# show running-config | include ip route
ip route 0.0.0.0 0.0.0.0 192.168.1.2
ip route 10.10.10.0 255.255.255.0 192.168.2.2 200RouterA# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is 10.10.10.2 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.10.10.2, GigabitEthernet0/0
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.10.10.0/30 is directly connected, GigabitEthernet0/0
L 10.10.10.1/32 is directly connected, GigabitEthernet0/0
S 10.10.20.0/24 [1/0] via 10.10.10.2, GigabitEthernet0/0
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, Vlan10
L 192.168.10.1/32 is directly connected, Vlan10R1# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface R1# R1# show running-config | section router ospf 1 router ospf 1 passive-interface default network 10.0.0.0 0.255.255.255 area 0 !
R1# show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 EXSTART/EXCHANGE 00:00:35 10.1.1.2 GigabitEthernet0/0
R1# show ip ospf interface gigabitEthernet 0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 10.1.1.1/24, Area 0, Attached via Network Statement
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Topology-MTID Cost Disabled Shutdown Topology Name
0 1 no no Base
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 10.1.1.1
Backup Designated router (ID) 2.2.2.2, Interface address 10.1.1.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:03
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Can be used as a virtual-link endpoint
Index 1/1/1, runqueue 0x0
Neighbor Count is 1, Adjacent neighbor count is 0
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R1# show running-config | section router ospf
router ospf 1
router-id 1.1.1.1
network 10.1.1.0 0.0.0.255 area 0
passive-interface default
no passive-interface GigabitEthernet0/0R1# show ospfv3 neighbor
OSPFv3 1 address-family ipv6 (router-id 1.1.1.1)
Neighbor ID Pri State Dead Time Interface ID Interface
R1# show ipv6 interface brief
GigabitEthernet0/0 [up/up]
FE80::1
GigabitEthernet0/1 [up/up]
FE80::2
R1# show running-config | section router ospfv3
router ospfv3 1
address-family ipv6
router-id 1.1.1.1
area 0
interface GigabitEthernet0/0
interface GigabitEthernet0/1
R1# show running-config interface GigabitEthernet0/0
interface GigabitEthernet0/0
ipv6 address FE80::1 link-local
ipv6 ospfv3 1 ipv6 area 0
!R1# show running-config | section router ospfv3 router ospfv3 1 router-id 1.1.1.1 area 0 authentication ipsec spi 256 md5 1234567890ABCDEF1234567890ABCDEF ! interface Serial0/0/0 ipv6 address 2001:DB8:1:1::1/64 ospfv3 1 ipv6 area 0 R2# show running-config | section router ospfv3 router ospfv3 1 router-id 2.2.2.2 ! interface Serial0/0/0 ipv6 address 2001:DB8:1:1::2/64 ospfv3 1 ipv6 area 0
R1# show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface
192.168.1.2 1 EXSTART/DR 00:00:32 2 GigabitEthernet0/0
R1# show ipv6 ospf interface gigabitethernet0/0
GigabitEthernet0/0 is up, line protocol is up
Link Local Address FE80::1, Interface ID 2
Area 0, Process ID 1, Router ID 192.168.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 192.168.1.1, local address FE80::1
Backup Designated router (ID) 192.168.1.2, local address FE80::2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:07
Index 1/1/1, flood queue length 0
Next 0x0(0)/0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Neighbor Count is 1, Adjacent neighbor count is 0
Adjacent with neighbor 192.168.1.2 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R1# show ipv6 route ospf
<no output>An engineer is troubleshooting a first-hop redundancy issue on a subnet where two routers, R1 and R2, are configured with HSRP. Hosts on the VLAN are intermittently losing connectivity to the default gateway. The engineer runs the `show standby` command on R1 and sees this output:
``` Vlan1 - Group 10 State is Active 2 state changes, last state change 00:00:45 Virtual IP address is 192.168.1.254 Active virtual MAC address is 0000.0c07.ac0a Local virtual MAC address is 0000.0c07.ac0a (v1 default) Hello time 3 sec, hold time 10 sec Next hello sent in 1.2 secs Preemption enabled Active router is local
Standby router is 192.168.1.1, priority 200 (configured 200)
Priority 150 (configured 150) Group name is "hsrp-Vlan1-10" (default) ```
What is the most likely root cause of the problem?
R1# show standby Vlan100 - Group 10 Local state is Standby, priority 100 (configured 100) Hellotime 3 sec, holdtime 10 sec Next hello sent in 1.920 sec Virtual IP address is 192.168.10.1 Active router is 192.168.10.2, priority 150 (expires in 8.832 sec) Standby router is local 1 state changes, last state change 00:00:45 Virtual MAC address is 0000.0c07.ac0a Preemption enabled
R1# show standby
Vlan10 - Group 1
State is Active
2 state changes, last state change 00:03:45
Virtual IP address is 192.168.10.1
Active virtual MAC address is 0000.0c07.ac01
Local virtual MAC address is 0000.0c07.ac01 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 1.920 secs
Preemption disabled
Active router is local
Standby router is 192.168.10.3, priority 100 (expires in 8.928 sec)
Priority 110 (configured 110)
Group name is "hsrp-Vlan10-1" (v1)
R2# show standby
Vlan10 - Group 1
State is Standby
3 state changes, last state change 00:03:42
Virtual IP address is 192.168.10.1
Active virtual MAC address is 0000.0c07.ac01
Local virtual MAC address is 0000.0c07.ac02 (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.432 secs
Preemption disabled
Active router is 192.168.10.2, priority 110
Standby router is local
Priority 100 (configured 100)
Group name is "hsrp-Vlan10-1" (v1)R1# show ip route 10.0.0.1
% Network not in table
R1# show ip route 10.0.0.0
Routing entry for 10.0.0.0/24
Known via "eigrp", distance 90, metric 30720, type internal
Redistributing via eigrp 1
Last update from 192.168.1.2 on GigabitEthernet0/0, 00:12:34 ago
Routing Descriptor Blocks:
* 192.168.1.2, from 192.168.1.2, 00:12:34 ago, via GigabitEthernet0/0
Route metric is 30720, traffic share count is 1
R1# show ip route 10.0.0.0 255.255.255.0
Routing entry for 10.0.0.0/24
Known via "connected", distance 0, metric 0 (connected)
Redistributing via eigrp 1
Directly connected via GigabitEthernet0/1
R1# show ip route 10.0.0.1 255.255.255.255
% Network not in tableR1# show ip route 10.0.0.5
Routing entry for 10.0.0.0/24
Known via "connected", distance 0, metric 0 (connected)
Routing Descriptor Blocks:
* 10.0.0.1, via GigabitEthernet0/1
Route metric is 0, traffic share count is 1
R1# show ip route | begin Gateway
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
C 10.0.0.0/24 is directly connected, GigabitEthernet0/1
O 10.0.0.0/16 [110/2] via 192.168.2.2, 00:00:15, GigabitEthernet0/0
O 10.0.0.0/8 [110/3] via 192.168.3.2, 00:00:20, GigabitEthernet0/2R1# show running-config | section ip route
ip route 0.0.0.0 0.0.0.0 10.0.0.2
ip route 0.0.0.0 0.0.0.0 10.0.0.6 10
ip route 192.168.10.0 255.255.255.0 10.0.0.2
!
R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 2 subnets
C 10.0.0.0 is directly connected, GigabitEthernet0/0
L 10.0.0.1 is directly connected, GigabitEthernet0/0
C 10.0.0.4 is directly connected, GigabitEthernet0/1
L 10.0.0.5 is directly connected, GigabitEthernet0/1
S 192.168.10.0/24 [1/0] via 10.0.0.2
! Note: static default route to 10.0.0.2 is missing from routing table (recursive failure)
R1# show ipv6 interface brief
GigabitEthernet0/0 [up/up]
FE80::1
2001:DB8:1:1::1/64
GigabitEthernet0/1 [up/up]
FE80::1
2001:DB8:2:1::1/64
R1# show ipv6 route
IPv6 Routing Table - default - 4 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C 2001:DB8:1:1::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:DB8:1:1::1/128 [0/0]
via GigabitEthernet0/0, receive
C 2001:DB8:2:1::/64 [0/0]
via GigabitEthernet0/1, directly connected
L 2001:DB8:2:1::1/128 [0/0]
via GigabitEthernet0/1, receive
! No IPv6 default route configuredR1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.0.0.0/30 is directly connected, GigabitEthernet0/0
L 10.0.0.1/32 is directly connected, GigabitEthernet0/0
198.51.100.0/24 is variably subnetted, 2 subnets, 2 masks
C 198.51.100.0/30 is directly connected, GigabitEthernet0/1
L 198.51.100.1/32 is directly connected, GigabitEthernet0/1
203.0.113.0/24 is variably subnetted, 2 subnets, 2 masks
C 203.0.113.0/30 is directly connected, GigabitEthernet0/2
L 203.0.113.1/32 is directly connected, GigabitEthernet0/2
R1# show ipv6 route
IPv6 Routing Table - default - 4 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
ND - Neighbor Discovery, NDp - Neighbor Discovery prefix
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C 2001:db8:10:0:0:0:0:0/112 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:db8:10:0:0:0:0:1/128 [0/0]
via GigabitEthernet0/0, receive
C 2001:db8:198:51:100:0:0:0/112 [0/0]
via GigabitEthernet0/1, directly connected
L 2001:db8:198:51:100:0:0:1/128 [0/0]
via GigabitEthernet0/1, receive
C 2001:db8:203:0:113:0:0:0/112 [0/0]
via GigabitEthernet0/2, directly connected
L 2001:db8:203:0:113:0:0:1/128 [0/0]
via GigabitEthernet0/2, receive
R1# show running-config | section ip route
ip route 0.0.0.0 0.0.0.0 203.0.113.2
ip route 0.0.0.0 0.0.0.0 198.51.100.2 200
R1# show running-config | section ipv6 route
ipv6 route ::/0 2001:db8:203:0:113::2R1# show running-config | section ip route
ip route 192.0.2.0 255.255.255.0 10.0.0.2
ip route 0.0.0.0 0.0.0.0 203.0.113.2
!
R1# show running-config | section ipv6 route
ipv6 route 2001:db8:1::/32 2001:db8:0:1::2
!
R1# show ip route
Codes: C - connected, S - static, ...
10.0.0.0/30 is subnetted, 1 subnets
C 10.0.0.0/30 is directly connected, GigabitEthernet0/0
S 192.0.2.0/24 [1/0] via 10.0.0.2
S* 0.0.0.0/0 [1/0] via 203.0.113.2
!
R1# show ipv6 route
IPv6 Routing Table - default - 3 entries
C 2001:db8:0:1::/64 [0/0]
via GigabitEthernet0/0, directly connected
S 2001:db8:1::/32 [1/0]
via 2001:db8:0:1::2
!R1# show running-config | section ip route
ip route 0.0.0.0 0.0.0.0 10.0.0.2
ip route 192.0.2.0 255.255.255.0 10.0.0.1
!
R1# show running-config | section ipv6 route
ipv6 route ::/0 2001:db8:1::2
!
R1# show ip route static
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.0.0.2 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.0.0.2
S 192.0.2.0/24 [1/0] via 10.0.0.1 - recursive failureR1# show running-config | section ip route
ip route 0.0.0.0 0.0.0.0 192.0.2.2
ip route 203.0.113.0 255.255.255.0 192.0.2.2
ip route 203.0.113.0 255.255.255.0 198.51.100.2 150
!
R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.0.2.2 to network 0.0.0.0
192.0.2.0/30 is subnetted, 1 subnets
C 192.0.2.0/30 is directly connected, GigabitEthernet0/0
198.51.100.0/30 is subnetted, 1 subnets
C 198.51.100.0/30 is directly connected, GigabitEthernet0/1
S 203.0.113.0/24 [1/0] via 192.0.2.2
S 203.0.113.0/24 [150/0] via 198.51.100.2
S* 0.0.0.0/0 [1/0] via 192.0.2.2MLS1# show running-config | section ip route
ip route 0.0.0.0 0.0.0.0 192.0.2.2
ip route 0.0.0.0 0.0.0.0 198.51.100.2 10
ipv6 route 2001:db8:1::10/128 2001:db8:1::1
!
MLS1# show ip route 0.0.0.0 0.0.0.0
% Network not in table
MLS1# show ip route 192.0.2.2
% Network not in table
MLS1# show ipv6 route 2001:db8:1::10/128
IPv6 Routing Table - 3 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
S 2001:db8:1::10/128 [1/0]
via 2001:db8:1::1
MLS1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
Vlan10 192.0.2.1 YES NVRAM up up
Vlan20 198.51.100.1 YES NVRAM up up
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/1 unassigned YES NVRAM up upR1#show running-config | section ip route
ip route 203.0.113.0 255.255.255.0 10.0.0.2
ip route 203.0.113.0 255.255.255.0 10.0.1.2 200
ip route 0.0.0.0 0.0.0.0 10.0.0.2
!
ipv6 route 2001:db8:1::/48 2001:db8:0:1::2
ipv6 route 2001:db8:1::/48 2001:db8:1:1::2 200
ipv6 route ::/0 2001:db8:0:1::2
!
R1#show ip route 203.0.113.0
% Subnet not in table
R1#show ipv6 route 2001:db8:1::/48
IPv6 Routing Table - 5 entries
...
S 2001:db8:1::/48 [1/0]
via 2001:db8:0:1::2
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.0.0.1 YES manual up up
GigabitEthernet0/1 10.0.1.1 YES manual up up
Loopback0 192.0.2.1 YES manual up up
R1#show ipv6 interface brief
GigabitEthernet0/0 [up/up]
FE80::1
2001:db8:0:1::1
GigabitEthernet0/1 [up/up]
FE80::2
2001:db8:1:1::1
Loopback0 [up/up]
FE80::3
2001:db8:2::1R1# show running-config | section ip route
ip route 203.0.113.0 255.255.255.0 10.0.0.5
ip route 0.0.0.0 0.0.0.0 192.0.2.2 100
R1# show running-config | section ipv6 route
ipv6 route 2001:db8:1::/48 2001:db8:ff::2
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.0.0.1 YES manual up up
GigabitEthernet0/1 192.0.2.1 YES manual up up
R1# show ip route
Codes: C - connected, S - static, ...
10.0.0.0/30 is subnetted, 1 subnets
C 10.0.0.0/30 is directly connected, GigabitEthernet0/0
S 203.0.113.0/24 [1/0] via 10.0.0.5
S* 0.0.0.0/0 [100/0] via 192.0.2.2
R1# show ipv6 route
C 2001:db8:ff::/64 [0/0]
via GigabitEthernet0/0, directly connected
S 2001:db8:1::/48 [1/0]
via 2001:db8:ff::2
R1# show ip route 203.0.113.0
Routing entry for 203.0.113.0/24
Known via "static", distance 1, metric 0
Last update from 10.0.0.5 on GigabitEthernet0/0
* 10.0.0.5, via GigabitEthernet0/0
Route is not advertised to any peerR1# show running-config | section ip route
ip route 203.0.113.0 255.255.255.0 10.0.0.1
ip route 0.0.0.0 0.0.0.0 10.0.0.2 200
!
ipv6 route 2001:db8:acad:1::/64 10.0.0.2
ipv6 route ::/0 10.0.0.2
!
R1# show ip route static
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
R1# show ipv6 route static
IPv6 Routing Table - default - 3 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext type 1, OE2 - OSPF ext type 2
ON1 - OSPF NSSA ext type 1, ON2 - OSPF NSSA ext type 2
D - EIGRP, EX - EIGRP external
S ::/0 [1/0]
via 10.0.0.2
S 2001:db8:acad:1::/64 [1/0]
via 10.0.0.2R1# show running-config | section ipv6 router
ipv6 unicast-routing
!
ipv6 route 2001:db8:1::1/128 2001:db8:0:2::1
!
R1# show ipv6 route static
IPv6 Routing Table - default - 2 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
S 2001:db8:1::1/128 [1/0]
via 2001:db8:0:2::1
R1# show ipv6 route 2001:db8:1::1
% Subnet not in table
R1# show ipv6 neighbors
R1#
R1# show running-config | include ip route
ip route 0.0.0.0 0.0.0.0 198.51.100.2 1
!
R1# show ip route static
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 198.51.100.2 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 198.51.100.2
R1# show ip route 0.0.0.0
Routing entry for 0.0.0.0/0, supernet
Known via "static", distance 1, metric 0
Last update from 198.51.100.2 on GigabitEthernet0/0
* 198.51.100.2, via GigabitEthernet0/0
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 198.51.100.1 YES NVRAM up up
GigabitEthernet0/1 10.0.0.1 YES NVRAM up up
Loopback0 192.0.2.1 YES NVRAM up upR1# show running-config | section router ospf router ospf 1 router-id 1.1.1.1 network 203.0.113.0 0.0.0.3 area 0 network 203.0.113.128 0.0.0.0 area 0 passive-interface Loopback0 R1# show ip ospf neighbor R1# show ip ospf interface gigabitethernet 0/0 GigabitEthernet0/0 is up, line protocol is up Internet Address 203.0.113.1/30, Area 0 Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State WAITING, Priority 1 No Hellos (Passive interface) R2# show running-config | section router ospf router ospf 1 router-id 2.2.2.2 network 203.0.113.0 0.0.0.3 area 0
R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 172.16.1.2 1 EXSTART/DR 00:00:30 10.0.0.2 GigabitEthernet0/0 R1#show running-config | section interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 10.0.0.1 255.255.255.252 ip ospf hello-interval 10 ip ospf dead-interval 40 duplex auto speed auto media-type rj45 ! R1#show running-config | section router ospf router ospf 1 router-id 1.1.1.1 network 10.0.0.0 0.0.0.3 area 0 ! R2#show running-config | section interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 10.0.0.2 255.255.255.252 ip ospf hello-interval 5 ip ospf dead-interval 20 duplex auto speed auto media-type rj45 ! R2#show running-config | section router ospf router ospf 1 router-id 172.16.1.2 network 10.0.0.0 0.0.0.3 area 0 !
R1# show running-config | section router ospf router ospf 1 router-id 1.1.1.1 network 10.0.0.0 0.255.255.255 area 0 passive-interface GigabitEthernet0/0 passive-interface Serial0/0/0 passive-interface Serial0/0/1 ! R1# show ip ospf interface brief Interface PID Area IP Address/Mask Cost State Nbrs F/C Gi0/0 1 0 10.0.0.1/24 1 DR 0/0 Se0/0/0 1 0 10.0.1.1/30 64 P2P 0/0 Se0/0/1 1 0 10.0.2.1/30 64 P2P 0/0 Lo0 1 0 10.0.255.1/24 1 LOOP 0/0 R1# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 2.2.2.2 0 FULL/ - 00:00:32 10.0.1.2 Serial0/0/0 3.3.3.3 0 FULL/ - 00:00:39 10.0.2.2 Serial0/0/1
R1# show running-config | section router ospf
router ospf 1
router-id 1.1.1.1
network 192.0.2.0 0.0.0.3 area 0
network 10.0.0.0 0.255.255.255 area 0
passive-interface GigabitEthernet0/1
!
R1# show ip ospf interface gigabitethernet 0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 192.0.2.1/30, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 192.0.2.1
No backup designated router on this network
Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
oob-resync timeout 120
Hello due in 00:00:18
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
R1# show ip ospf neighbor
R1#
R2# show running-config | section router ospf
router ospf 1
router-id 2.2.2.2
network 192.0.2.0 0.0.0.3 area 0
!
R2# show ip ospf interface gigabitethernet 0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 192.0.2.2/30, Area 0
Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 192.0.2.1
Backup Designated Router (ID) 2.2.2.2, Interface address 192.0.2.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:03
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 1.1.1.1 (Designated Router)
Suppress hello for 0 neighbor(s)R1#show ip interface brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 10.0.0.1 YES manual up up GigabitEthernet0/1 192.168.1.1 YES manual up up Loopback0 10.1.1.1 YES manual up up R1#show running-config | section interface interface GigabitEthernet0/0 ip address 10.0.0.1 255.255.255.252 no shutdown ! interface GigabitEthernet0/1 ip address 192.168.1.1 255.255.255.0 no shutdown ! interface Loopback0 ip address 10.1.1.1 255.255.255.255
R1#show running-config | section router ospf
router ospf 1
router-id 1.1.1.1
network 10.0.0.0 0.0.0.3 area 1
!
R1#show ip ospf interface gigabitethernet 0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 10.0.0.1/30, Area 1
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 10.0.0.1
Backup Designated router (ID) 0.0.0.0, Interface address 0.0.0.0
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:07
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
R2#show running-config | section router ospf
router ospf 1
router-id 2.2.2.2
network 10.0.0.0 0.0.0.3 area 0
!
R2#show ip ospf interface gigabitethernet 0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 10.0.0.2/30, Area 0
Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 2.2.2.2, Interface address 10.0.0.2
Backup Designated router (ID) 0.0.0.0, Interface address 0.0.0.0
Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5
oob-resync timeout 20
Hello due in 00:00:04
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)R1#show running-config | section router ospf router ospf 1 router-id 1.1.1.1 network 10.0.0.0 0.0.0.3 area 1 ! interface GigabitEthernet0/0 ip address 10.0.0.1 255.255.255.252 ip ospf hello-interval 10 ip ospf dead-interval 40 mtu 1500 ! R2#show running-config | section router ospf router ospf 1 router-id 2.2.2.2 network 10.0.0.0 0.0.0.3 area 0 ! interface GigabitEthernet0/0 ip address 10.0.0.2 255.255.255.252 ip ospf hello-interval 5 ip ospf dead-interval 20 mtu 1500 !
R1#show running-config | section router ospf
router ospf 1
router-id 1.1.1.1
network 10.0.0.0 0.0.0.3 area 0
network 10.0.0.1 0.0.0.0 area 0
!
R1#show ip ospf interface g0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 10.0.0.1/30, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 10.0.0.1
Backup Designated router (ID) 0.0.0.0, Interface address 0.0.0.0
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:03
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
R1#show ip ospf neighbor
R1#
R2#show running-config | section router ospf
router ospf 1
router-id 2.2.2.2
network 10.0.0.0 0.0.0.3 area 0
!
R2#show ip ospf interface g0/1
GigabitEthernet0/1 is up, line protocol is up
Internet Address 10.0.0.2/30, Area 0
Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 10.0.0.1
Backup Designated router (ID) 2.2.2.2, Interface address 10.0.0.2
Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
Hello due in 00:00:12
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)R1#show running-config | section router ospf
router ospf 1
router-id 1.1.1.1
network 10.0.12.0 0.0.0.3 area 0
network 10.0.13.0 0.0.0.3 area 0
!
R1#show ip ospf interface gigabitethernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 10.0.12.1/30, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 10.0.12.1
Backup Designated router (ID) 2.2.2.2, Interface address 10.0.12.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
No Hellos (Passive interface)
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R1#show ip ospf interface gigabitethernet0/1
GigabitEthernet0/1 is up, line protocol is up
Internet Address 10.0.13.1/30, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 10.0.13.1
Backup Designated router (ID) 3.3.3.3, Interface address 10.0.13.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
No Hellos (Passive interface)
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 3.3.3.3 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R2#show running-config | section router ospf
router ospf 1
router-id 2.2.2.2
network 10.0.12.0 0.0.0.3 area 0
network 10.0.23.0 0.0.0.3 area 1
!
R2#show ip ospf interface gigabitethernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 10.0.12.2/30, Area 0
Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 10.0.12.1
Backup Designated router (ID) 2.2.2.2, Interface address 10.0.12.2
Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
R2#show ip ospf interface gigabitethernet0/1
GigabitEthernet0/1 is up, line protocol is up
Internet Address 10.0.23.2/30, Area 1
Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 2.2.2.2, Interface address 10.0.23.2
Backup Designated router (ID) 0.0.0.0, Interface address 0.0.0.0
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
R3#show running-config | section router ospf
router ospf 1
router-id 3.3.3.3
network 10.0.13.0 0.0.0.3 area 0
network 10.0.23.0 0.0.0.3 area 0
!
R3#show ip ospf interface gigabitethernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 10.0.13.2/30, Area 0
Process ID 1, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 10.0.13.1
Backup Designated router (ID) 3.3.3.3, Interface address 10.0.13.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 1.1.1.1 (Designated Router)
Suppress hello for 0 neighbor(s)
R3#show ip ospf interface gigabitethernet0/1
GigabitEthernet0/1 is up, line protocol is up
Internet Address 10.0.23.2/30, Area 0
Process ID 1, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 10.0.23.2
Backup Designated router (ID) 0.0.0.0, Interface address 0.0.0.0
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 0
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)R1# show running-config | section router ospf
router ospf 1
router-id 1.1.1.1
network 192.0.2.0 0.0.0.3 area 0
!
R1# show ip ospf interface gigabitethernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 192.0.2.1/30, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State WAITING, Priority 1
No designated router on this network
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:01
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
R2# show running-config | section router ospf
router ospf 1
router-id 2.2.2.2
network 192.0.2.0 0.0.0.3 area 0
!
R2# show ip ospf interface gigabitethernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 192.0.2.2/30, Area 0
Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State WAITING, Priority 1
No designated router on this network
No backup designated router on this network
Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5
oob-resync timeout 20
Hello due in 00:00:03
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)R1#show running-config | section router ospf
router ospf 1
router-id 1.1.1.1
passive-interface loopback0
network 10.0.0.1 0.0.0.0 area 0
network 192.168.1.0 0.0.0.3 area 0
!
R1#show ip ospf interface gigabitethernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 192.168.1.1/30, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 1.1.1.1, Interface address 192.168.1.1
Backup Designated router (ID) 0.0.0.0, Interface address 0.0.0.0
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:03
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
R1#show ip ospf neighbor
R1#
R2#show running-config | section router ospf
router ospf 1
router-id 2.2.2.2
network 192.168.1.0 0.0.0.3 area 0
!
R2#show ip ospf interface gigabitethernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 192.168.1.2/30, Area 0
Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 2.2.2.2, Interface address 192.168.1.2
Backup Designated router (ID) 0.0.0.0, Interface address 0.0.0.0
Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5
oob-resync timeout 20
Hello due in 00:00:01
Supports Link-local Signaling (LLS)
Cisco NSF helper support enabled
IETF NSF helper support enabled
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)R1# show running-config | section ipv6
ipv6 unicast-routing
!
interface GigabitEthernet0/0
ipv6 address 2001:db8:acad:1::1/64
no shutdown
!
interface Loopback0
ipv6 address 2001:db8:acad:1::100/64
no shutdown
!
end
R1# show ipv6 interface brief
GigabitEthernet0/0 [up/up]
FE80::1
2001:db8:acad:1::1
Loopback0 [up/up]
FE80::100
2001:db8:acad:1::100R1#show running-config | section ipv6
ipv6 router ospf 1
router-id 1.1.1.1
!
interface GigabitEthernet0/0
ipv6 address 2001:db8:0:1::1/64
no shutdown
!
interface Loopback0
ipv6 address 2001:db8:1:1::1/64
!
R1#show ipv6 interface brief
GigabitEthernet0/0 [up/up]
FE80::1
2001:db8:0:1::1
Loopback0 [up/up]
FE80::1
2001:db8:1:1::1
R2 (partial config for context):
ipv6 unicast-routing
ipv6 router ospf 1
router-id 2.2.2.2
!
interface GigabitEthernet0/0
ipv6 address 2001:db8:0:1::2/64
ipv6 ospf 1 area 0
no shutdown
!
interface Loopback0
ipv6 address 2001:db8:1:2::2/64
ipv6 ospf 1 area 0R1# show running-config | section ipv6 ipv6 unicast-routing ! interface GigabitEthernet0/0 ipv6 address 2001:db8:1:1::1/64 no shutdown ! interface Loopback0 ipv6 address 2001:db8:1:0::1/64 no shutdown !
R1# show running-config | section ipv6 ipv6 unicast-routing ! interface Loopback0 ipv6 address 2001:db8:1::1/64 ! interface GigabitEthernet0/0 ipv6 address 2001:db8:12::1/64 no shutdown ! interface GigabitEthernet0/1 ipv6 address 2001:db8:13::1/64 no shutdown R2# show running-config | section ipv6 ipv6 unicast-routing ! interface Loopback0 ipv6 address 2001:db8:2::1/64 ! interface GigabitEthernet0/0 ipv6 address 2001:db8:23::1/64 no shutdown ! interface GigabitEthernet0/1 ipv6 address 2001:db8:12::2/64 no shutdown
R1# show running-config | section ipv6 ipv6 unicast-routing ! interface Loopback0 ipv6 address 2001:DB8:1::1/64 ! interface GigabitEthernet0/0 ipv6 address 2001:DB8:12::1/64 no shutdown ! end R2# show running-config | section ipv6 ipv6 unicast-routing ! interface Loopback0 ipv6 address 2001:DB8:2::1/64 ! interface GigabitEthernet0/0 ipv6 address 2001:DB8:12::2/64 no shutdown ! end
R1# show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
ip address 192.0.2.1 255.255.255.252
duplex auto
speed auto
media-type rj45
no shutdown
!
R1# show ipv6 interface brief
GigabitEthernet0/0 [up/up]
FE80::1
2001:DB8:1::1/64
Loopback0 [up/up]
FE80::1
2001:DB8:2::1/64
R1# show running-config | include ipv6 unicast-routing
no ipv6 unicast-routingR1#show running-config | section ipv6 ipv6 unicast-routing ! interface GigabitEthernet0/0 ipv6 address 2001:db8:1:1::1/64 no shutdown ! interface Loopback0 ipv6 address 2001:db8:1:3::1/64 ! end R2#show running-config | section ipv6 ipv6 unicast-routing ! interface GigabitEthernet0/0 ipv6 address 2001:db8:1:1::2/64 no shutdown ! interface Loopback0 ipv6 address 2001:db8:1:2::1/64 ! end
R1# show running-config | section ipv6
ipv6 unicast-routing
!
interface GigabitEthernet0/0
ipv6 address 2001:DB8:CAFE:1::1/64
no shutdown
!
R1# show ipv6 route
IPv6 Routing Table - default - 3 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
ND - Neighbor Discovery, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C 2001:DB8:CAFE:1::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:DB8:CAFE:1::1/128 [0/0]
via GigabitEthernet0/0, receive
R1# show ospfv3 neighbor
R1#R1# show running-config | section ipv6 ipv6 unicast-routing ! interface GigabitEthernet0/0 ipv6 address 2001:db8:abcd::1/64 ! interface Loopback0 ipv6 address 2001:db8:1::1/32 ! router ospfv3 1 router-id 1.1.1.1 ! R2# show running-config | section ipv6 ipv6 unicast-routing ! interface GigabitEthernet0/0 ipv6 address 2001:db8:abcd::2/64 ! interface Loopback0 ipv6 address 2001:db8:2::2/32 ! router ospfv3 1 router-id 2.2.2.2
R1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 10 100 Active local 192.168.10.2 192.168.10.254
Gi0/0 10 100 Active 192.168.10.2 local 192.168.10.254
R1# show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
ip address 192.168.10.1 255.255.255.0
standby version 2
standby 10 ip 192.168.10.254
standby 10 priority 100
no standby 10 preempt
!
interface GigabitEthernet0/1
ip address 10.0.0.1 255.255.255.252
!R1#show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 10 100 Active 192.168.1.1 192.168.1.2 192.168.1.1
R1#show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
R1#show running-config | section interface GigabitEthernet0/1
interface GigabitEthernet0/1
ip address 10.0.0.1 255.255.255.252
no shutdownR1#show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
ip address 192.168.10.2 255.255.255.0
standby 10 ip 192.168.10.254
standby 10 priority 150
standby 10 preempt
!
R1#show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 10 150 P Active local 192.168.10.3 192.168.10.254
R1#show standby
GigabitEthernet0/0 - Group 10
State is Active
2 state changes, last state change 00:00:45
Virtual IP address is 192.168.10.254
Active virtual MAC address is 0000.0c07.ac0a
Local virtual MAC address is 0000.0c07.ac0a (v1 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 0.816 secs
Preemption enabled
Active router is local
Standby router is 192.168.10.3
Priority 150 (configured 150)
Group name is "hsrp-Gi0/0-10" (default)
R2#show standby brief
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 10 100 Active local 192.168.10.2 192.168.10.254R1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0.10 10 100 Active local 192.168.10.2 192.168.10.254
Gi0/0.10 10 100 Active 192.168.10.2 local 192.168.10.254
R1# show running-config | section interface GigabitEthernet0/0.10
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.3 255.255.255.0
standby version 2
standby 10 ip 192.168.10.254
standby 10 priority 100
! Note: no 'preempt' configured
! Note: no track interface configuredR1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 10 100 Active local unknown 192.0.2.254
Gi0/0 11 100 Active local unknown 203.0.113.1
R1# show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
ip address 10.0.0.1 255.255.255.252
standby version 2
standby 10 ip 192.0.2.254
standby 10 priority 100
standby 11 ip 203.0.113.1
standby 11 priority 100
!R1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0.100 1 100 Active local 192.0.2.2 192.0.2.254
R1# show running-config | section interface GigabitEthernet0/0.100
interface GigabitEthernet0/0.100
encapsulation dot1Q 100
ip address 192.0.2.1 255.255.255.0
standby 1 ip 192.0.2.254
standby 1 priority 100
standby 1 preempt
standby 1 track GigabitEthernet0/1 20
!
R2# show standby brief (from show ip arp, not shown, but known that both are active)R1# show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
description LAN to VLAN 100
ip address 192.168.1.1 255.255.255.0
standby 10 ip 192.168.1.254
standby 10 priority 100
standby 10 preempt
!
interface GigabitEthernet0/1
description WAN to ISP
ip address 203.0.113.1 255.255.255.252
!
R1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 10 100 Active local 192.168.1.2 192.168.1.254
Gi0/0 10 100 Active 192.168.1.2 local 192.168.1.254
(Note: Two lines for group 10 indicate both routers consider themselves Active.)R1# show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
standby version 2
standby 1 ip 192.168.1.254
standby 1 priority 100
standby 1 preempt
!
interface GigabitEthernet0/1
ip address 203.0.113.1 255.255.255.252
no shutdown
!
R1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 1 100 Active local 192.168.1.2 192.168.1.254
R2# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 1 100 Active 192.168.1.1 local 192.168.1.254R1#show running-config | section interface GigabitEthernet0/0
interface GigabitEthernet0/0
ip address 192.168.1.2 255.255.255.0
standby version 2
standby 1 ip 192.168.1.254
standby 1 priority 100
standby 1 preempt
!
interface GigabitEthernet0/1
ip address 10.0.0.1 255.255.255.252
!
R1#show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 1 100 Active local 192.168.1.3 192.168.1.254
R2#show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/0 1 100 Active 192.168.1.2 local 192.168.1.254Current relevant configuration and output on R1:
R1# show running-config | section interface Vlan100
interface Vlan100
ip address 192.168.100.10 255.255.255.0
standby version 2
standby 100 ip 192.168.100.254
standby 100 priority 100
no standby preempt
!
R1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Vl100 100 100 Active local 192.168.100.11 192.168.100.254
R1# show ip interface brief | include GigabitEthernet0/1
GigabitEthernet0/1 10.0.0.1 YES manual up upR1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
192.0.2.0/30 is subnetted, 1 subnets
C 192.0.2.0/30 is directly connected, GigabitEthernet1/0/1
L 192.0.2.1/32 is directly connected, GigabitEthernet1/0/1
198.51.100.0/30 is subnetted, 1 subnets
C 198.51.100.0/30 is directly connected, GigabitEthernet1/0/2
L 198.51.100.1/32 is directly connected, GigabitEthernet1/0/2
S 203.0.113.0/24 [1/0] via 192.0.2.2
S 203.0.113.0/24 [200/0] via 198.51.100.2
R1# show running-config | section ip route
ip route 203.0.113.0 255.255.255.0 192.0.2.2
ip route 203.0.113.0 255.255.255.0 198.51.100.2
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet1/0/1 192.0.2.1 YES manual up up
GigabitEthernet1/0/2 198.51.100.1 YES manual up up
(Simulate that after failure, show ip interface brief shows Gi1/0/1 down/down, but show ip route still shows the static route via 192.0.2.2 as the best route.)
R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
198.51.100.0/30 is subnetted, 1 subnets
C 198.51.100.0/30 is directly connected, GigabitEthernet1/0/2
L 198.51.100.1/32 is directly connected, GigabitEthernet1/0/2
S 203.0.113.0/24 [1/0] via 192.0.2.2
S 203.0.113.0/24 [200/0] via 198.51.100.2
(Note: The connected route for 192.0.2.0/30 is missing, but the static route via 192.0.2.2 remains with AD 1, blocking the floating static from being installed.)R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.0.0.0/30 is directly connected, GigabitEthernet0/0
L 10.0.0.1/32 is directly connected, GigabitEthernet0/0
192.0.2.0/24 is variably subnetted, 1 subnets, 1 mask
C 192.0.2.0/24 is directly connected, GigabitEthernet0/1
R1# show run | section ip route
! No static routes configured
R1# show ip eigrp neighbors
% EIGRP is not enabled on any interfacesR1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.0.0.2 to network 0.0.0.0
D* 0.0.0.0/0 [90/3072] via 10.0.0.2, 00:12:34, GigabitEthernet0/0
S* 0.0.0.0/0 [1/0] via 203.0.113.2
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.0.0.0/30 is directly connected, GigabitEthernet0/0
L 10.0.0.1/32 is directly connected, GigabitEthernet0/0
R1# show running-config | section ip route
ip route 0.0.0.0 0.0.0.0 203.0.113.2 10
!
router eigrp 100
network 10.0.0.0 0.0.0.3
redistribute static metric 10000 100 255 1 1500
!
R1# show ip eigrp topology
P 0.0.0.0/0, 1 successors, FD is 3072
via 10.0.0.2 (3072/2816), GigabitEthernet0/0R1# show running-config | include ip route
ip route 0.0.0.0 0.0.0.0 198.51.100.1
ip route 0.0.0.0 0.0.0.0 203.0.113.1 130
R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 198.51.100.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 198.51.100.1, GigabitEthernet0/0
R1# ping 8.8.8.8 source GigabitEthernet0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5)
R1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# interface GigabitEthernet0/0
R1(config-if)# shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down
R1(config-if)# end
R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 198.51.100.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 198.51.100.1, GigabitEthernet0/0
R1# show ip route 0.0.0.0 0.0.0.0 longer-prefixes
% Subnet not in table
R1# show ip route 0.0.0.0 0.0.0.0
Routing entry for 0.0.0.0/0, supernet
Known via "static", distance 1, metric 0 (connected)
Last update from 198.51.100.1 on GigabitEthernet0/0
Routing Descriptor Blocks:
* 198.51.100.1, via GigabitEthernet0/0
Route metric is 0, traffic share count is 1R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
192.0.2.0/30 is subnetted, 1 subnets
C 192.0.2.0/30 is directly connected, GigabitEthernet0/0
198.51.100.0/30 is subnetted, 1 subnets
C 198.51.100.0/30 is directly connected, GigabitEthernet0/1
192.168.10.0/24 is subnetted, 1 subnets
S 192.168.10.0/24 [1/0] via 198.51.100.2
R1# show running-config | section ip route
ip route 192.168.10.0 255.255.255.0 198.51.100.2
ip route 192.168.10.0 255.255.255.0 192.0.2.2 200R1# show ip route 172.16.20.0
Routing entry for 172.16.20.0/24
Known via "ospf 1", distance 110, metric 20
Last update from 10.0.0.2 on GigabitEthernet0/0, 00:02:15 ago
Routing Descriptor Blocks:
* 10.0.0.2, from 10.0.0.2, 00:02:15 ago, via GigabitEthernet0/0
Route metric is 20, traffic share count is 1
R1# show ip route static | include 172.16.20.0
S 172.16.20.0/24 [130/0] via 203.0.113.2
R1# show running-config | include ip route
ip route 172.16.20.0 255.255.255.0 203.0.113.2 130R1# show running-config | section router ospf router ospf 1 network 10.1.1.0 0.0.0.3 area 0 passive-interface default R1# show running-config interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 10.1.1.1 255.255.255.252 no shutdown R2# show running-config | section router ospf router ospf 1 network 10.1.1.0 0.0.0.3 area 0 R2# show running-config interface GigabitEthernet0/0 interface GigabitEthernet0/0 ip address 10.1.1.2 255.255.255.252 no shutdown
R1# show running-config | include ip route ip route 0.0.0.0 0.0.0.0 192.168.12.2 ip route 0.0.0.0 0.0.0.0 192.168.12.6 200 R1# show ip interface brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 192.168.12.1 YES manual administratively down down GigabitEthernet0/1 192.168.12.5 YES manual administratively down down GigabitEthernet0/2 unassigned YES unset administratively down down
R1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Vlan10 10 110 Active local 192.168.10.2 192.168.10.1
R2# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Vlan10 20 100 Active local unknown 192.168.10.1R1# show running-config | section router ospf router ospf 1 network 10.1.1.0 0.0.0.3 area 0 passive-interface default no passive-interface GigabitEthernet0/0 R1# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface (no output) R1# show ip ospf interface brief Interface PID Area IP Address/Mask Cost State Nbrs F/C Se0/0/0 1 0 10.1.1.1/30 64 P2P 0/0 Gi0/0 1 0 192.168.1.1/24 1 DR 0/0
R1# show running-config | include ip route ip route 0.0.0.0 0.0.0.0 Serial0/0/0 130 R1# show ip interface brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 192.168.1.1 YES manual up up Serial0/0/0 10.1.1.1 YES manual up down Serial0/0/1 unassigned YES unset administratively down down
R1# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 10.0.0.2 1 EXSTART/DROTHER 00:00:35 10.0.0.2 GigabitEthernet0/0 10.0.1.2 1 FULL/DROTHER 00:00:38 10.0.1.2 GigabitEthernet0/1 192.168.1.1 1 FULL/DR 00:00:37 192.168.1.1 GigabitEthernet0/2
R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.1.1.0/24 is directly connected, GigabitEthernet0/0
L 10.1.1.1/32 is directly connected, GigabitEthernet0/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/1
L 192.168.1.1/32 is directly connected, GigabitEthernet0/1
O 192.168.2.0/24 [110/2] via 192.168.1.2, 00:05:03, GigabitEthernet0/1R1# show ip ospf interface GigabitEthernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 192.168.1.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State PASSIVE, Priority 1
No designated router on this network
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
No Hellos (Passive interface)
Adjacent neighbor count is 0R1# show ip ospf database summary
OSPF Router with ID (192.168.1.1) (Process ID 1)
Summary Net Link States (Area 0)
LS age: 312
Options: (No TOS-capability, DC)
LS Type: Summary Links(Network)
Link State ID: 10.1.0.0 (summary Network Number)
Advertising Router: 10.1.1.1
LS Seq Number: 8000000A
Checksum: 0x1F3A
Length: 28
Network Mask: /16
MTID: 0 Metric: 1000
LS age: 467
Options: (No TOS-capability, DC)
LS Type: Summary Links(Network)
Link State ID: 10.2.0.0 (summary Network Number)
Advertising Router: 10.1.1.1
LS Seq Number: 80000005
Checksum: 0xA5C1
Length: 28
Network Mask: /16
MTID: 0 Metric: 10
LS age: 285
Options: (No TOS-capability, DC)
LS Type: Summary Links(Network)
Link State ID: 10.3.0.0 (summary Network Number)
Advertising Router: 10.1.1.1
LS Seq Number: 80000007
Checksum: 0x7F2B
Length: 28
Network Mask: /16
MTID: 0 Metric: 20R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
S 10.10.10.0/24 [1/0] via 10.1.1.2
S 10.10.10.0/26 [1/0] via 10.2.2.2
C 10.1.1.0/24 is directly connected, GigabitEthernet0/1
L 10.1.1.1/32 is directly connected, GigabitEthernet0/1
C 10.2.2.0/24 is directly connected, GigabitEthernet0/2
L 10.2.2.1/32 is directly connected, GigabitEthernet0/2R1# show ip route 172.16.0.0
Routing entry for 172.16.0.0/16
Known via "ospf 1", distance 110, metric 20, type inter area
Redistributing via ospf 1
Last update from 10.1.1.2 on GigabitEthernet0/0, 00:02:15 ago
Routing Descriptor Blocks:
* 10.1.1.2, from 10.2.2.2, 00:02:15 ago, via GigabitEthernet0/0
Route metric is 20, traffic share count is 1R1# show ip route 10.10.10.130
Routing entry for 10.10.10.128/26
Known via "static", distance 1, metric 0
Redistributing via eigrp 100
Advertised by eigrp 100 metric 10000 100 255 1 1500
Last update from 10.1.1.2 on GigabitEthernet0/0, 00:16:45 ago
Routing Descriptor Blocks:
* 10.1.1.2, from 10.1.1.2, 00:16:45 ago, via GigabitEthernet0/0
Route metric is 0, traffic share count is 1
total delay is 10 microseconds, minimum bandwidth is 100000 Kbit
reliability 255/255, minimum MTU 1500 bytes
loading 1/255, Hops 0R1# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is 203.0.113.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 203.0.113.1
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.1.1.0/24 is directly connected, GigabitEthernet0/0
L 10.1.1.1/32 is directly connected, GigabitEthernet0/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/0.10
L 192.168.1.1/32 is directly connected, GigabitEthernet0/0.10R1# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 10.1.1.1 1 FULL/DR 00:00:35 192.168.1.1 GigabitEthernet0/0 10.2.2.2 1 FULL/BDR 00:00:36 192.168.1.2 GigabitEthernet0/0 172.16.1.1 0 2WAY/DROTHER 00:00:38 192.168.1.3 GigabitEthernet0/0 Total number of neighbors: 3
R1# show ip route ospf
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
O 192.168.10.0/24 [110/2] via 10.1.1.2, 00:35:14, GigabitEthernet0/1
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
O 192.168.20.0/24 [110/2] via 10.1.1.2, 00:35:14, GigabitEthernet0/1
R1#