Beruflich Dokumente
Kultur Dokumente
BRKRST-3310
Faraz Shamim
Technical Leader
Patrick Viscosi
Network Consulting Engineer
Agenda
LSA Overview
Troubleshooting Commands
Common Issues
OSPF for NX-OS and IOS-XR
Troubleshooting Enhancements
BRKRST-3310
Cisco Public
LSA Overview
BRKRST-3310
Type
LSA
Router
Network
Summary Network
Summary ASBR
External
Group Membership
NSSA
External Attributes
911
Opaque
Cisco Public
Cisco Public
DR
192.1.1.4
1
R4
192.1.1.3
R3
Area 0
18.10.0.5/30 6.6.6.6
192.1.4.0/24
R6
Cisco Public
DR
192.1.1.4
1
R4
192.1.1.3
R3
Area 0
18.10.0.5/30 6.6.6.6
192.1.4.0/24
R6
BRKRST-3310
Type
Description
Link ID
Link Data
Point-to-Point
Numbered
Neighbors
RID
Interface IP
Address
Point-to-Point
Unnumbered
Neighbors
RID
MIB-II Ifindex
Value
Transit
IP Address
of the DR
Interface IP
Address
Stub
IP Network
Number
Subnet Mask
Virtual Link
Neighbors
RID
Interface IP
Address
Cisco Public
Cisco Public
4.4.4.4
1.1.1.1
DR
192.1.1.4
R1
/24
2.2.2.2
1 192.1.1.3
R2
R4
Area 0
6.6.6.6
R3
2 18.10.0.4/32
192.1.4.0/24
R6
Type 3 Details
R4#show ip ospf database summary 192.1.2.0
Summary Net Link States (Area 0)
LS age: 1514
Options: (No TOS Capability)
LS type: Summary Links (Networks)
Link State ID: 192.1.2.0 (Summary Network Number)
Advertising Router: 4.4.4.4
RID of ABR
LS Seq Number: 80000001
Initial Seq Number
Checksum: 0xFC68
Length: 28
Network Mask: /24
TOS 0 Metric: 4
O IA
ABR
1.1.1.1
DR
192.1.1.4
192.1.2.0/24
3
R1
/24
2.2.2.2
1 192.1.1.3
R2
R4
ABR
Cisco Public
10
Area 0
6.6.6.6
R3
2 18.10.0.4
192.1.4.0/24
BRKRST-3310
192.1.2.0/24
metric 4
R6
Type 4 Details
R4#show ip ospf database asbr-summary 7.7.7.7
Summary ASB Link States (Area 0)
LS age: 1548
Options: (No TOS Capability)
LS type: Summary Links (AS Boundary Router)
Link State ID: 7.7.7.7 (AS Boundary Router address)
Advertising Router: 4.4.4.4
RID of ABR
LS Seq Number: 80000001
Initial Seq Number
Checksum: 0x93E2
Length: 28
Network Mask: /0
TOS: 0 Metric: 16
DR
1.1.1.1
3
192.1.2.0/24
192.1.1.4
R1
2.2.2.2
Cisco Public
External Route
8
Area 0
RID ASBR
7.7.7.7
6.6.6.6
R3
192.1.4.0/24
11
140.10.0.0
1 192.1.1.3
R2
BRKRST-3310
R4
/24
Type 4 Summary
18.10.0.4
R6
R7
Type 5 Details
R4#show ip ospf database external 140.10.0.0
LS age: 156
Options: (No TOS Capability)
LS type: AS External Link
Link State ID: 140.10.0.0 (External Network Number)
Advertising Router: 7.7.7.7
Router ID of ASBR
LS Seq Number: 80000001
Initial Seq Number
Checksum: 0x93E2
Length: 36
Network Mask: /16
Metric Type: 2
bit E = 1 -> O E2 (Default)
Metric: 20
Forwarding address: 0.0.0.0
3 1.1.1.1
External Route
DR
192.1.1.4
192.1.2.0/24
R1
2.2.2.2
Cisco Public
Area 0
4
6.6.6.6
R3
192.1.4.0/24
12
140.10.0.0
1 192.1.1.3
R2
BRKRST-3310
R4
/24
18.10.0.4
R6
R7
RID ASBR
7.7.7.7
External Type 5
Forwarding address
Must be known via intra or inter area route
router ospf 1
redistribute bgp 1 subnets
ASBR
BGP Gateway
Router
OSPF
Network
R1
BRKRST-3310
Cisco Public
13
OSPF is
running
on this
interface
Type 7 Details
R7#show ip ospf database nssa-external 140.10.0.0
LS age: 156
Options: (No TOS Capability, Type 7/5 translation)
LS type: AS External Link
Link State ID: 140.10.0.0 (External Network Number)
Advertising Router: 7.7.7.7
Router ID of R7(ASBR)
LS Seq Number: 80000001
Initial Seq Number
Checksum: 0x01A6
Length: 36
Network Mask: /16
Metric Type: 2
Metric: 20
DR
3
1.1.1.1
Forwarding address: 0.0.0.0
192.1.1.4
192.1.2.0/24
R1
1
2.2.2.2
R2
BRKRST-3310
Cisco Public
External Route
140.10.0.0
R4
/24
R3
14
Area 0
6.6.6.6
192.1.1.3
192.1.4.0/24
8
2
18.10.0.4
R6
R7
Type 7
RID ASBR
7.7.7.7
NSSA
Troubleshooting Commands
What to look for in the output?
Show IP OSPF
R3# show ip ospf
Routing Process "ospf 1" with ID 3.3.3.3 and Domain ID 0.0.0.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
It is an area border router
SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
Number of external LSA 1. Checksum Sum 0x3B57
Number of opaque AS LSA 0. Checksum Sum 0x0
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 2. 2 normal 0 stub 0 nssa
External flood list length 0
Area BACKBONE(0)
Number of interfaces in this area is 2
Area has no authentication
SPF algorithm executed 2773 times
Area ranges are
Number of LSA 17. Checksum Sum 0x686B5
Number of opaque link LSA 0. Checksum Sum 0x0
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 9
Flood list length 0
BRKRST-3310
Cisco Public
16
BRKRST-3310
IP Address/Mask
172.16.1.20/32
11.11.11.1/24
91.91.91.91/32
172.17.17.1/30
Cisco Public
17
Cost
1
1
1
48
State
LOOP
DR
LOOP
P2P
Nbrs F/C
0/0
1/1
0/0
1/1
Age Seq#
671 0x80000016
...
BRKRST-3310
Cisco Public
18
Delete
0
0
0
0
0
0
0
0
Maxage
0
0
0
0
0
0
0
0
Cisco Public
19
State
FULL/DROTHER
FULL/DROTHER
FULL/DR
FULL/ -
Dead Time
00:00:33
00:00:32
00:00:39
00:00:38
4.4.4.4
DR
1.1.1.1
192.1.1.4
R4
/24
R1
2.2.2.2
Area 0
6.6.6.6
192.1.1.3
R3
R2
Address
192.1.1.1
192.1.1.2
192.1.1.4
18.10.0.6
8
2
18.10.0.4
192.1.4.0/24
BRKRST-3310
Cisco Public
20
R6
Interface
FastEthernet0/0
FastEthernet0/0
FastEthernet0/0
Serial0/0
Cisco Public
BRKRST-3310
Cisco Public
22
Cisco Public
23
Cisco Public
D-Summ Ext
0
0
24
BRKRST-3310
Cisco Public
25
ADV Router
Age
Seq#
Checksum
3.3.3.3
3.3.3.3
1520
0x80000015 0xABFD
Link count
ADV Router
Age
Seq#
Checksum
192.1.1.0 3.3.3.3
1520
0x80000006
0x4E1A
192.1.2.0 3.3.3.3
1521
0x80000006
0x6103
...
Router Link States (Area 1)
BRKRST-3310
Link ID
ADV Router
Age
Seq#
3.3.3.3
3.3.3.3
1536
0x80000028 0x612D
Cisco Public
26
Link ID
ADV Router
Age
Seq#
Checksum
Link count
7.7.7.7
7.7.7.7
871(DNA)
0x8000000D
0x8FE2
ADV Router
Age
Seq#
Checksum
20.10.0.0
7.7.7.7
871 (DNA)
0x8000000A
0x39C4
Age
Seq#
Checksum
1944
0x80000004
0x3759
ADV Router
140.100.0.0 7.7.7.7
BRKRST-3310
Cisco Public
27
Tag
BRKRST-3310
Cisco Public
28
BRKRST-3310
Cisco Public
29
Pri
1
State
FULL/DR
Dead Time
00:00:38
R11# ping
Target IP address: 3.3.3.1
Repeat count [5]: 1
Extended commands [n]: y
Set DF bit in IP header? [no]: y
Validate reply data? [no]: y
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[V]:
Sweep range of sizes [n]: y
Sweep min size [36]:
Sweep max size [18024]: 1500
Sweep interval [1]:
Type escape sequence to abort.
Sending 1465, [36..1500]-byte ICMP Echos to 3.3.3.1, timeout is 2 seconds:
Packet sent with the DF bit set
Reply data will be validated
Reply to request 0 (4 ms) (size 36)
Reply to request 1 (1 ms) (size 37)
Reply to request 2 (1 ms) (size 38)
BRKRST-3310
Cisco Public
30
Address
3.3.3.1
Interface
GigabitEthernet0/1
Common Issues
Common things that can go wrong
Common Issues
Adjacency is not coming up
OSPF neighbor stuck in ? State
Information is in the database but not in the routing table
BRKRST-3310
Cisco Public
32
BRKRST-3310
Cisco Public
33
BRKRST-3310
Cisco Public
34
Cisco Public
35
Cisco Public
36
BRKRST-3310
Cisco Public
37
Cisco Public
38
Tip: Watch for the space at the end of the authentication key
Be sure encryption Type matches (i.e. MD5, ClearText)
BRKRST-3310
Cisco Public
39
Cisco Public
40
7.7.7.7
18.10.0.1
Area 2
R7
18.10.0.2
8.8.8.8
Area 2
NSSA
R8
BRKRST-3310
Cisco Public
41
Options
Normal area: OSPF: Send DBD to 141.108.97.1 on Serial0 seq 0xBC4 opt 0x2 flag 0x3 len 492
E bit is 1, Allow externals, option: 0x2(HEX) = 00000010(Bin)
Stub area: OSPF: Send DBD to 141.108.97.1 on Serial0 seq 0x1866 opt 0x0 flag 0x3 len 372
E bit is 0, no external allowed, options: 0x0 = 00000000
NSSA: OSPF: Send DBD to 141.108.97.1 on Serial0 seq 0x118 opt 0x8 flag 0x3 len 372
N/P bit is on, options: 0x8 = 00001000
DC: OSPF: Send DBD to 141.108.97.1 on Serial0 seq 0x1A1E opt 0x20 flag 0x3 len 392
DC bit is negotiated, options: 0x20 = 00100000
*
BRKRST-3310
DC
Cisco Public
EA
N/P
42
MC
BRKRST-3310
Cisco Public
43
2-WAY
EXSTART
3.3.3.3
6.6.6.6
R3
R6
EXCHANGE
LOADING
FULL
BRKRST-3310
Cisco Public
44
Stuck In ATTEMPT
3.3.3.3
6.6.6.6
NBMA
R3
R6
Hello
RID =3.3.3.3
Hello
RID =6.6.6.6
N = 3.3.3.3
BRKRST-3310
Cisco Public
45
Stuck In ATTEMPT
Reasons:
Our hellos are getting lost in NBMA cloud
BRKRST-3310
Cisco Public
46
Stuck In INIT
1.1.1.1
2.2.2.2
R1
R2
Hello
RID =1.1.1.1
Hello
RID =2.2.2.2
Hello
RID =1.1.1.1
N =2.2.2.2
Hello
RID =2.2.2.2
BRKRST-3310
Cisco Public
47
Stuck In INIT
Reasons:
One side is blocking the hello packet with access-list
One side is translating (NAT) OSPF hello
One side multicast capability is broken (Layer 2)
Dialer map or Frame Relay map is missing keyword broadcast
LLS capability issue when Cisco IOS is upgraded
BRKRST-3310
Cisco Public
48
Dead Time
00:00:33
Address
31.31.31.1
BRKRST-3310
Cisco Public
49
Interface
GigabitEthernet0/1
Stuck In 2-WAY
1.1.1.1
2.2.2.2
R1
R2
Hello
RID =1.1.1.1 P=0
Hello
RID =2.2.2.2 P=0
N =1.1.1.1
Hello
RID =1.1.1.1 P=0
N =2.2.2.2
BRKRST-3310
Cisco Public
50
Stuck In 2-WAY
Reasons:
This is normal in broadcast network types
BRKRST-3310
Cisco Public
51
Stuck In EXSTART/EXCHANGE
3.3.3.3
R3
6.6.6.6
R6
Hello
RID =3.3.3.3
Hello
RID =6.6.6.6
N =3.3.3.3
DBD
MTU = 1500 flag = 0x7
Seq = 1E55
DBD
MTU = 1500 flag = 0x7
Seq = 22AB
BRKRST-3310
Cisco Public
52
Stuck In EXSTART/EXCHANGE
Useful in debugging, defines I, M and MS bits
OSPF: Send DBD to 141.108.97.1 on Serial0 seq 0xBC4 opt 0x2 flag 0x3
len 492
Flag 0x7 --> 111 means I(Initial) = 1, M = 1(More), MS = 1(Master)
Flag 0x6 --> 110 not possible
Flag 0x5 --> 101 not possible
Flag 0x4 --> 100 not possible
Flag 0x3 --> 011 means master has more data to send
Flag 0x2 --> 010 means slave has more data to send
Flag 0x1 --> 001 means master has no more data left to send
Flag 0x0 --> 000 means slave has no more data left to send
0
BRKRST-3310
0
Cisco Public
0
53
MS
Stuck In EXSTART/EXCHANGE
Reasons:
Note: If Cisco IOS is > 12.0.7, it displays msg: %OSPF-3-DUP_RTRID and OSPF
neighbor list will be empty
Unicast is brokenEXCHANGE
1. Wrong VC/DLCi mapping in frame/ATM environment in highly redundant network
2. MTU problem, cant ping across with more than certain
length packet
3. Access-list blocking unicast; after two-way OSPF send unicast packet except p2p
links
4. NAT is translating unicast packet
BRKRST-3310
Cisco Public
54
Stuck In LOADING
3.3.3.3
6.6.6.6
R3
R6
LS Req
LS Type
Link State ID
Advertising Router
LS Update
# LSAs
LSAs
...
BRKRST-3310
Cisco Public
55
Stuck In LOADING
Reasons:
BRKRST-3310
Cisco Public
56
BRKRST-3310
Cisco Public
57
Area 0
6.6.6.6
R3
18.10.0.4/30
R6
Pri State
1
FULL/ -
Interface
Serial0
Cisco Public
58
Cisco Public
59
3.3.3.3
Area 0
R3
18.10.0.4/30
6.6.6.6
R6
Area 0
19.10.0.5/30
Pri
1
State
FULL/ -
Dead Time
00:00:30
Address
18.0.0.6
Cisco Public
60
Interface
Serial0
18.10.0.6/30
6.6.6.6
R6
Cisco Public
61
3.3.3.3
R3
Cisco Public
62
Area 0
19.10.0.5/30
18.10.0.6/30
6.6.6.6
R6
Cisco Public
63
3.3.3.3
S0
S1
R3
6.6.6.6
18.10.0.4/30
18.10.0.20/30
R6
Pri
1
1
State
FULL/ FULL/ -
Dead Time
00:00:30
00:00:33
Address
18.10.0.6
18.10.0.22
Interface
Serial0
Serial1
* Fix for CSCdp51090 will now prevent this issue. Neither OSPF neighbor would form.
BRKRST-3310
Cisco Public
64
Summary
LSA
Area 0
Area 0
Area 0
R1
Area 1
ABR1
ABR2
R2
BRKRST-3310
Cisco Public
65
BRKRST-3310
Cisco Public
66
BRKRST-3310
Cisco Public
67
Cisco Public
D-Summ Ext
0
0
68
BRKRST-3310
Cisco Public
69
Link ID
3.3.3.3
...
ADV Router
3.3.3.3
Age
106
Seq#
0x80000009
Checksum
0xC3F1
Link count
3
Seq#
0x80000008
0x80000004
Checksum
0x3DC2
0x27D8
Link ID
1.1.1.1
Seq#
0x80000016
Checksum
0xE6CD
ADV Router
1.1.1.1
Age
2
...
BRKRST-3310
Cisco Public
70
Link count
2
Cisco Public
71
NSSA
ASBR
Type 7
Area 1
NSSA
router ospf 1
network 10.10.10.10 0.0.0.0 area 0
RID: 7.7.7.7
NSSA
ABR
R8 RID: 8.8.8.8
Type 75 Conversion
BRKRST-3310
Cisco Public
Area 0
72
NSSA
ASBR
Type 7
Area 1
NSSA
router ospf 1
network 10.10.10.10 0.0.0.0 area 0
RID: 7.7.7.7
NSSA
ABR
Type 75 Conversion
R8 RID: 8.8.8.8
NSSA
ABR
BRKRST-3310
Cisco Public
Area 0
73
Area 1
NSSA
RID: 7.7.7.7
NSSA
ABR
Type 75 Conversion
R8 RID: 8.8.8.8
R9 RID:
NSSA
9.9.9.9
BRKRST-3310
Cisco Public
Area 0
74
ABR
1.1.1.1
Area 0
1.1.1.2
2.2.2.1
2.2.2.2
Area 0
Area 0
Area 0
R2
R1
Cisco Public
75
R3
Dead Time
00:00:39
Address
7.7.7.2
Interface
Tunnel1
Cisco Public
76
Cisco NX-OS
OSPF on the Nexus Platforms
Feature OSPF
OSPF command-line interface (CLI) configuration and verification commands are not
available until you enable the OSPF feature with the feature ospf command.
Cisco Public
78
Cisco Public
79
BRKRST-3310
Cisco Public
80
BRKRST-3310
Cisco Public
81
BRKRST-3310
Cisco Public
82
Cisco IOS-XR
OSPF on the IOS-XR Platforms
Show command CLI no longer uses the IP prefix. Example: show IP OSPF
neighbor becomes show OSPF neighbor
BRKRST-3310
Cisco Public
84
Cisco Public
85
BRKRST-3310
adv-router
asbr-summary
database-summary
Summary of database
external
network
nssa-external
router
self-originate
summary
Cisco Public
86
224.0.0.5 224.0.0.6
BRKRST-3310
Cisco Public
87
BRKRST-3310
Cisco Public
88
Cisco Public
89
BRKRST-3310
172.31.1.20
Loopback0
172.31.16.207
TenGigE0/0/0/0
172.31.16.239
TenGigE0/1/0/0
Cisco Public
90
Interface
PID
Area
IP Address/Mask
Cost
State
Nbrs F/C
Lo0
172.31.1.20/32
LOOP
0/0
Te0/0/0/0
172.31.16.207/27
DROTH
2/18
Te0/1/0/0
172.31.16.239/27
DROTH
2/17
BRKRST-3310
Cisco Public
91
BRKRST-3310
Trace Name
Size
Count
1. adj
8192
2963
adjacency
2. adj_cycle
8192
72484
dbd/flood events/pkts
3. config
2048
204
config events
4. errors
8192
1017
errors
5. events
4096
300
mda/rtrid/bfd/vrf
6. ha
8192
309
startup/HA/NSF
7. hello
2048
2852464
hello events/pkts
8. idb
8192
862
interface
9. pkt
2048
1453478
I/O packets
10. rib
8192
1927
rib batching
11. spf
8192
8848
spf/topology
Description
Cisco Public
92
Output Modifiers
<cr>
BRKRST-3310
Cisco Public
93
Apr 12 22:38:25.784* ospf_build_rtr_lsa: no change in router LSA, area 0.0.0.0 rtrid 172.31.1.20
BRKRST-3310
Cisco Public
94
Output is extensive. Use the file keyword to save data on local media.
BRKRST-3310
Cisco Public
95
Troubleshooting Enhancements
Debugging made easier
Cisco Public
97
R5# sh ip ospf
Routing Process "ospf 1" with ID 5.5.5.5
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
Supports area transit capability
Event-log enabled, Maximum number of events: 1000, Mode: cyclic
Enabled by default
Available in 15.x IOS code and later
Can be tuned using event-log keyword under OSPF process
BRKRST-3310
Cisco Public
98
Generic Events
interface
lsa
neighbor
reverse
rib
spf
Output modifiers
<cr>
BRKRST-3310
Cisco Public
99
BRKRST-3310
Cisco Public
100
In the example above, the output from the show tech-support ospf detail would be saved to
a file in flash called show-tech-ospf
To see the contents of the file, you can either copy the file up to a TFTP server or do this:
R1# term len 0
R1# more flash:show-tech-ospf
BRKRST-3310
Cisco Public
101
Summary
What Have We Learned?
Overview of OSPF LSAs
Different troubleshooting commands and what to look for in those commands
Common issues in OSPF networks; e.g., adjacency problems, information in the
database but not in RT, SPF problems and NSSA problems and how to correct
those problems
OSPF on Other Platforms
BRKRST-3310
Cisco Public
102
BRKRST-3310
Cisco Public
103
BRKRST-3310
Cisco Public
104
More Information
White Papers
Web and Mailers
Cisco Press
http://www.cisco.com/en/US/tech/tk365/tk480/tsd_technology_support_sub-protocol_home.html
BRKRST-3310
Cisco Public
105