Know your outputs
•
•
shoshow w ipip rouroutete
•
•
shoshow w ipip ospospff
•
•
shshow ipow ip osospfpf neneigighbhboror
•
•
shoshow iw ipp ospospff borborderder-ro-routeuterr
•
•
shoshow ipw ip datdatabaabasese
•
•
shoshow ipw ip intinterfaerfacece
158 158
Inter
Internal#snal#show how ipip routroutee Co
Codedes: s: C -C - coconnnnececteted, d, S -S - ststataticic, I , I -- IGIGRPRP, R , R -- RIRIP, P, M -M - momobibilele, B , B -- BGBGPP D -
D - EIGEIGRP, RP, EX EX -- EIGEIGRP RP extexternernal, al, O -O - OSPOSPF, F, IA IA -- OSPOSPF iF intenter arr areaea N1 -
N1 - OSPF NOSPF NSSA exSSA externternal typal type 1, Ne 1, N2 -2 - OSPF NOSPF NSSA eSSA externxternal typal type 2e 2 E1 -
E1 - OSPOSPF extF externernal tyal type 1, Epe 1, E2 -2 - OSPOSPF extF externernal tyal type 2, E pe 2, E -- EGPEGP <text omitted>
<text omitted>
Gateway of last resort is not set Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 4 subnets, 3 172.16.0.0/16 is variably subnetted, 4 subnets, 3 masksmasks O
O IA IA 172.16.51.1/32 172.16.51.1/32 [110/783] [110/783] via via 172.16.10.5, 172.16.10.5, 00:13:48, 00:13:48, Serial0Serial0 C
C 172.16.20.0/24 172.16.20.0/24 is is directly directly connected, connected, FastEthernet0FastEthernet0 C
C 172.16.10.4/30 172.16.10.4/30 is is directly directly connected, connected, Serial0Serial0 O
O IA IA 172.16.1.0/24 172.16.1.0/24 [110/782] [110/782] via via 172.16.10.5, 172.16.10.5, 00:13:53, 00:13:53, Serial0Serial0 192.168.4.0/32 is subnetted, 1 subnets
192.168.4.0/32 is subnetted, 1 subnets C
C 192.168.4.1 192.168.4.1 is is directly directly connected, connected, Loopback0Loopback0 O E2 11.0.0.0/8 [110/20] via
O E2 11.0.0.0/8 [110/20] via 172.16.10.5, 00:14:41, Serial0172.16.10.5, 00:14:41, Serial0 O E2 12.0.0.0/8 [110/20] via
O E2 12.0.0.0/8 [110/20] via 172.16.10.5, 00:14:41, Serial0172.16.10.5, 00:14:41, Serial0 O E2 13.0.0.0/8 [110/20] via
O E2 13.0.0.0/8 [110/20] via 172.16.10.5, 00:14:42, Serial0172.16.10.5, 00:14:42, Serial0 Internal#
Internal#
•
• LSA 1 and LSA LSA 1 and LSA 2: Denoted by “O2: Denoted by “O”” or “C”or “C” •
• LSA 3: LSA 3: Denoted by Denoted by “IA”“IA” •
• LSA LSA 5: 5: DenotDenoted by ed by “E1”“E1” or “or “E2”E2” (defa(default)ult)
s
159 159
AB
ABR-2R-2#sh#show ipow ip ospospff Routi
Routing Proceng Process "ospfss "ospf 1" with ID 192.161" with ID 192.168.3.18.3.1 Supports only single TOS(TOS0) routes
Supports only single TOS(TOS0) routes It is an area border router
It is an area border router SPF schedule
SPF schedule delay 5 secs, delay 5 secs, Hold time betweHold time between two SPFsen two SPFs 10 secs10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 3. Checksum Sum 0x97E3
Number of external LSA 3. Checksum Sum 0x97E3 Numbe
Number of DCbir of DCbitlesstless exterexternal LSA 0nal LSA 0 Numbe
Number of DoNr of DoNotAgeotAge exterexternal LSA nal LSA 00 Number of areas in this router is
Number of areas in this router is 2. 2 normal 0 stub 0 2. 2 normal 0 stub 0 nssanssa External flood list length 0
External flood list length 0 Area BACKBONE(0)
Area BACKBONE(0)
Number of interfaces in this area is Number of interfaces in this area is 11 Area has no authentication
Area has no authentication SPF algorithm executed 8 times SPF algorithm executed 8 times <text omitted>
<text omitted> Area 1
Area 1
Number of interfaces in this area is Number of interfaces in this area is 11 Area has no authentication
Area has no authentication SPF algorithm executed 5 times SPF algorithm executed 5 times
<text omitted> <text omitted>
s
shhoow w iipp oossppff
160 160 ASASBRBR#s#shohow w ipip osospfpf neneigighbhboror
Ne
Neighighbor bor ID ID PriPri StaState te Dead Dead TimTime e AddAddresress s IntInterferfaceace 192.168.3.1
192.168.3.1 100 100 FULL/BDR FULL/BDR 00:00:37 00:00:37 172.16.1.3 172.16.1.3 FastEthernet0/0FastEthernet0/0 192.168.2.1
192.168.2.1 200 200 FULL/DR FULL/DR 00:00:33 00:00:33 172.16.1.2 172.16.1.2 FastEthernet0/0FastEthernet0/0
•
•
Displays a list of Displays a list of neighborneighbors and their link state s and their link state statusstatuss
161 161
sho
show ipw ip ospfospf bordborder-rer-routouterer •
• To display the internal OSPF routing table entries to an Area Border Router (ABR) andTo display the internal OSPF routing table entries to an Area Border Router (ABR) and Autonomous System Boundary Router (ASBR), use the
Autonomous System Boundary Router (ASBR), use the show show ipip ospfospf bordeborder-router-routersrs privileged EXEC command.
privileged EXEC command. •
• LSA 4’s (routes to ASBRs) are not installed in the LSA 4’s (routes to ASBRs) are not installed in the main IP routing table but in the main IP routing table but in the specialspecial internal OSPF routing table.
internal OSPF routing table.
This command will
This command will displays any ABRsdisplays any ABRs in the area or any in the area or any ASBRsASBRs in the OSPF routing din the OSPF routing domain.omain.
•
• DestinDestination -ation - Router ID of the destRouter ID of the destinatioination.n.
•
• Next Hop -Next Hop - Next hop toNext hop toward the desward the destinatitination.on.
•
• Cost -Cost - Cost of usCost of using thiing this route.s route.
•
• Type -Type - The router type of the The router type of the destination; it is either an destination; it is either an ABR or ASBR ABR or ASBR or both.or both.
•
• Rte Type -Rte Type - The type of this routThe type of this route; it is either an intra-e; it is either an intra-area or interarea or interareaarea route.route.
•
• Area -Area - The area ID of the The area ID of the area from which thiarea from which this route is learned.s route is learned.
•
• SPF No -SPF No - The internal number of The internal number of the shortest path first (SPF) calculation the shortest path first (SPF) calculation that installs this route.that installs this route. AB
ABR-R-1#1#shshow ipow ip osospfpf bobordrderer
OSPF Process 1 internal Routing Table OSPF Process 1 internal Routing Table
Codes
Codes: i : i -- IntrIntra-area a-area routeroute, I , I -- InterInter-are-area roa routeute
i 192.168.1.1 [
i 192.168.1.1 [1] via 172.16.11] via 172.16.1.1, FastEthernet0/0.1, FastEthernet0/0, ASBR, Area , ASBR, Area 0,0, SPF 38SPF 38 i 192.168.3.1 [1] via 172.16.1.3, FastEthernet0/0, ABR, Area 0, SPF 38 i 192.168.3.1 [1] via 172.16.1.3, FastEthernet0/0, ABR, Area 0, SPF 38 ABR-1#
ABR-1#
162 162
In
Inteternrnalal#s#shohow ipw ip osospfpf dadatata
OSPF Router with ID (192.168.4.1) (Process ID 1) OSPF Router with ID (192.168.4.1) (Process ID 1)
Router Link States (Area 1) Router Link States (Area 1) Link
Link ID ID ADV ADV Router Router Age Age Seq# Seq# Checksum Checksum Link Link countcount 192.168.3.1
192.168.3.1 192.168.3.1 192.168.3.1 898 898 0x80000003 0x80000003 0xCE56 0xCE56 22 192.168.4.1
192.168.4.1 192.168.4.1 192.168.4.1 937 937 0x80000003 0x80000003 0xFD44 0xFD44 33
Summary Net Link States (Area 1) Summary Net Link States (Area 1) Link
Link ID ID ADV ADV Router Router Age Age Seq# Seq# Checksum Checksum 172.16.1.0
172.16.1.0 192.168.3.1 192.168.3.1 848 848 0x80000005 0x80000005 0xD3390xD339 172.16.51.1 192.168.3.1 843
172.16.51.1 192.168.3.1 843 0x80000001 0x80000001 0xB3290xB329
Summary ASB Link States (Area 1) Summary ASB Link States (Area 1) Link
Link ID ID ADV ADV Router Router Age Age Seq# Seq# Checksum Checksum 192.168.1.1 192.168.3.1 912
192.168.1.1 192.168.3.1 912 0x80000003 0x80000003 0x93CC0x93CC
Type-5 AS External Link States Type-5 AS External Link States Link
Link ID ID ADV ADV Router Router Age Age Seq# Seq# Checksum Checksum TagTag 11.0.0.0 11.0.0.0 192.168.1.1 192.168.1.1 1302 1302 0x80000001 0x80000001 0x3FEA 0x3FEA 00 12.0.0.0 12.0.0.0 192.168.1.1 192.168.1.1 1303 1303 0x80000001 0x80000001 0x32F6 0x32F6 00 13.0.0.0 13.0.0.0 192.168.1.1 192.168.1.1 1303 1303 0x80000001 0x80000001 0x2503 0x2503 00
s
shhoow iw ipp oossppff ddaattaabbaassee
163 163
Router Link States (LSA 1) Router Link States (LSA 1) •
• Router Link States (LSA1’s) should display all the RouterIDsRouter Link States (LSA1’s) should display all the RouterIDs of routers in that area, including its own.of routers in that area, including its own. •
• Link State ID is always the same as the Advertising Router.Link State ID is always the same as the Advertising Router. •
• ADV Router is the Router ID of the router that created this LSA 1.ADV Router is the Router ID of the router that created this LSA 1. Net Link States (LSA 2)
Net Link States (LSA 2) •
• Net Link States (LSA2’s) should disNet Link States (LSA2’s) should display the RouterIDsplay the RouterIDs of the DRsof the DRs on all multi-access netwon all multi-access networks in the areaorks in the area and their IP addresses.
and their IP addresses. •
• Link ID is the IP address of DR on MultiAccessLink ID is the IP address of DR on MultiAccess Network.Network. •
• ADV Router is the ADV Router is the Router ID of the Router ID of the DR.DR. Summary Link States (LSA 3)
Summary Link States (LSA 3) •
• Should see networks in other areas and the ABR advertising that route.Should see networks in other areas and the ABR advertising that route. •
• Link ID is the IP network addresses of networks in other areas.Link ID is the IP network addresses of networks in other areas. •
• ADV Router is the ABR Router ID sending the LSA-3.ADV Router is the ABR Router ID sending the LSA-3. Summary ASB Link States (LSA 4)
Summary ASB Link States (LSA 4) •
• Routers in non-area 0, should see Router ID of ASBR and its ABR to get there.Routers in non-area 0, should see Router ID of ASBR and its ABR to get there. •
• Link ID is the Router ID of ASBRLink ID is the Router ID of ASBR •
• ADV Router is the Router ID of the ABR advertising routeADV Router is the Router ID of the ABR advertising route Type-5 AS External Link States (LSA 5)
Type-5 AS External Link States (LSA 5) •
• All Routers should see External networks and the Router ID of ASBR to get thereAll Routers should see External networks and the Router ID of ASBR to get there •
• Link ID is the External NetworkLink ID is the External Network •
• ADV Router is the Router ID of ASBR advertising the LSA 5.ADV Router is the Router ID of ASBR advertising the LSA 5.
164 164
Sa
SanJnJosose3e3#s#shohow ipw ip osospfpf ininteterfrfacace fae fa 00 FastEthernet0 is up, line protocol is up FastEthernet0 is up, line protocol is up Internet Address 192.168.1.3/24, Area 0 Internet Address 192.168.1.3/24, Area 0 Process ID 1,
Process ID 1, Router ID 19Router ID 192.168.31.33, Network 2.168.31.33, Network Type BROADCAST,Type BROADCAST, Cost: 1Cost: 1 Transmit Delay is 1 sec, State DR, Priority 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 192.168.31.33, Interface address 192.168.1.3 Designated Router (ID) 192.168.31.33, Interface address 192.168.1.3 Backup Designate
Backup Designated router d router (ID) 192.168.(ID) 192.168.31.22, Interfac31.22, Interface addresse address 192.168.1.2192.168.1.2 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:08 Hello due in 00:00:08
Index 1/1, flood queue length 0 Index 1/1, flood queue length 0 Next 0x0(0)/0x0(0)
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is Last flood scan length is 1, maximum is 22 Last flood scan time is 0 msec,
Last flood scan time is 0 msec, maximum is 0 msecmaximum is 0 msec Neighbor Count is 2, Adjacent neighbor count is 2 Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 192.168.31.11 Adjacent with neighbor 192.168.31.11 Adjacent with
Adjacent with neighbor 192.16neighbor 192.168.31.22 8.31.22 (Backup Desig(Backup Designated Router)nated Router) Suppress hello for 0 neighbor(s)
Suppress hello for 0 neighbor(s) SanJose3#
SanJose3#
Do you know these? Do you know these?
s
165 165
•
•
The following sections contain information to help you understandThe following sections contain information to help you understand OSPF.OSPF.
•
•
This information is not necessarily on the CCNP Advanced RoutingThis information is not necessarily on the CCNP Advanced Routing Exam.Exam.
166 166
•
•
OSPF Hello traffic can keep an ISDN link up indefinitely.OSPF Hello traffic can keep an ISDN link up indefinitely.•
•
By entering the command “By entering the command “ipip osospfpf dedemamandnd-c-cirircucuitit”” on one on one side of side of a BRI,a BRI, adjacencies will be formed and:adjacencies will be formed and: –
– Ongoing OSPF Hellos will be suppressedOngoing OSPF Hellos will be suppressed –
– The DNA (Do-Not-Age) bit is set in the LSA so that this entry is The DNA (Do-Not-Age) bit is set in the LSA so that this entry is not aged innot aged in the router’s LSDB.
the router’s LSDB. •
• LSA is not flooded when LSA is notflooded when reaching LSRefreshreaching LSRefresh •
• LSA is not flooded if there is a LSA is notflooded if there is a new version but the connew version but the contents are thetents are the same
same
sh
show ow ipip ososppff iintntererffacace e brbrii 00
•
•
“Run as demand circuit”“Run as demand circuit”•
•
“(Hello Suppressed)”“(Hello Suppressed)”sh
show iow ipp ososppff nneieighghbboror