Professional Documents
Culture Documents
• Link LSA Type 8 have link local scope. Used to notify neighbour
about the attached addresses on that link.
• Intra-area Prefix LSA Type 9. Advertises Router itself, attached stub
networks and transit network segments.
• Inter-area prefix LSA Type 3 outside the area. Generated by ABR.
• Inter-area router LSA Type 4. Generated by ABR to describe route to
ASBR.
• AS-External LSA Type 5 for redistributed routes generated by ASBR.
OSPF Neighbour Adjacency Process
10.1.1.1 10.2.2.2
R1 R2
Hello
• Init
{ RID =10.1.1.1
Hello
RID =10.2.2.2
Init on R2
Init on R1
Hello
{ 2-Way on R2
RID =10.1.1.1
N =10.2.2.2
• 2-Way
Hello
RID =10.2.2.2
2-Way on R1
N =10.1.1.1
OSPF Neighbour Adjacency Process
10.1.1.1 10.2.2.2
R1 R2
DBD
• EXSTART MTU = 1500
Flag = 0x7
Seq = 0x2499
DBD
• EXCHANGE MTU = 1500
Flag = 0x3
Seq = 0x837
OSPF Neighbour Adjacency Process
10.1.1.1 10.2.2.2
R1 R2
LS Request
LS Type
• LOADING Link State ID
Advertising Router
LS Update
# LSA’s
• FULL LSA’s
LSA ..
Troubleshooting
OSPF/OSPFv3
Lifecycle View of the OSPF Routing Process
R1#show ip/ipv6 ospf interface eth 0/0 R1#show ip/ipv6 ospf interface eth0/0
Ethernet0/0 is up, line protocol is up R1#
OSPF not enabled on this interface
Check for wrong network statement / For OSPFv3, check interface configuration
for missing “ipv6 ospf area” command
Adjacency Is Not Coming Up
• Mismatched subnet mask (OSPFv2 only) / Hello - Dead Interval
10.1.1.1 10.2.2.2
10.0.0.2/26
10.0.0.1/24
Area 2 Area 2
R1 R2
OSPF: Rcv pkt from 10.0.0.2, Et0/0, area 0.0.0.0 mismatch area 0.0.0.2 in the header
On R2:
%OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area
must be virtual-link but not found from 10.0.0.1, Ethernet0/0
Adjacency Is Not Coming Up
• Mismatched transit/stub/NSSA option
10.1.1.1 10.2.2.2
10.0.0.2
10.0.0.1
Area 2 NSSA
Area 2
R1 R2
Area 1 Area 1
R1 R2
Area 1 Area 1
R1 R2
OSPFv3 runs over link local address. Link local or unicast global address
is required to be configured on interface.
Adjacency Is Not Coming Up
Stuck in INIT
• One side is blocking the hello packet with access-list
• One side is translating (NAT) OSPF hello
• One side multicast capabilities is broken (Layer 2)
• OSPF authentication mismatch (only IPv4)
Stuck in 2-WAY
• Normal in Broadcast Network
R1 R2
• Neighbour RID is same as ours— Stuck in
EXSTART DBD
MTU = 1500
Flag = 0x7
• Unicast is broken—Stuck in EXCHANGE/EXSTART Seq = 0x2499
R1#sh ip ospf database network adv-router 10.2.2.2 R1#sh ipv6 ospf database network adv-router 10.2.2.2
IPv4 IPv6
OSPF Router with ID (10.1.1.1) (Process ID 1) OSPFv3 Router with ID (10.1.1.1) (Process ID 1)
Routing Bit Set on this LSA in topology Base with MTID 0 LS age: 1656
LS age: 1548 Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
Options: (No TOS-capability, DC) LS Type: Network Links
LS Type: Network Links Link State ID: 2 (Interface ID of Designated Router)
Link State ID: 10.1.123.2 (address of Designated Router) Advertising Router: 10.2.2.2
Advertising Router: 10.2.2.2 LS Seq Number: 80000002
LS Seq Number: 80000002 Checksum: 0xA021
Checksum: 0x72F9 Length: 36
Length: 36 Attached Router: 10.2.2.2
Network Mask: /24 Attached Router: 10.1.1.1
Attached Router: 10.2.2.2 Attached Router: 10.3.3.3
Attached Router: 10.1.1.1
Attached Router: 10.3.3.3
Summary LSA / Inter-area Prefix LSA Router IDs
R1: 10.1.1.1
10.1.24.0/24 10.1.45.0/24 R2: 10.2.2.2
2001:1:24::/64 2001:45::/64
10.1.123.0/24 10.20.1.0/24
10.10.10.10/32 R1 R2 R3: 10.3.3.3
2001:1:123::/64 R4 R5 2001:20:1::/64
2001:10:10::10/128 Area 2 R4: 10.4.4.4
Area 0
Area 1 10.1.5.0/24 / 2001:1:5::/64 R5: 10.5.5.5
R3
R1#sh ip ospf database summary 10.1.5.0 R1#show ipv6 ospf database inter-area prefix 2001:1:5::/64
IPv4 IPv6
OSPF Router with ID (10.1.1.1) (Process ID 1) OSPFv3 Router with ID (10.1.1.1) (Process ID 1)
Summary Net Link States (Area 1) Routing Bit Set on this LSA
LS age: 1655
Routing Bit Set on this LSA in topology Base with MTID 0 LS Type: Inter Area Prefix Links
LS age: 1445 Link State ID: 3
Options: (No TOS-capability, DC, Upward) Advertising Router: 10.2.2.2
LS Type: Summary Links(Network) LS Seq Number: 80000001
Link State ID: 10.1.5.0 (summary Network Number) Checksum: 0x9CCB
Advertising Router: 10.2.2.2 Length: 36
LS Seq Number: 80000001 Metric: 84
Checksum: 0x8A3E Prefix Address: 2001:1:5::
Length: 28 Prefix Length: 64, Options: None
Network Mask: /24
MTID: 0 Metric: 84
Summary ASBR LSA / Inter-area Router LSA Router IDs
R1: 10.1.1.1
10.1.24.0/24 10.1.45.0/24 R2: 10.2.2.2
2001:1:24::/64 2001:45::/64
10.1.123.0/24 10.20.1.0/24
10.10.10.10/32 R1 R2 R3: 10.3.3.3
2001:1:123::/64 R4 R5 2001:20:1::/64
2001:10:10::10/128 Area 2 R4: 10.4.4.4
Area 0
Area 1 10.1.5.0/24 / 2001:1:5::/64 R5: 10.5.5.5
R3
R1#sh ip ospf database asbr-summary adv-router 10.2.2.2 R1#sh ipv6 ospf database inter-area router adv-router 10.2.2.2
IPv4 IPv6
OSPF Router with ID (10.1.1.1) (Process ID 1) OSPFv3 Router with ID (10.1.1.1) (Process ID 1)
Summary ASB Link States (Area 1) Inter Area Router Link States (Area 1)
Routing Bit Set on this LSA in topology Base with MTID 0 Routing Bit Set on this LSA
LS age: 316 LS age: 355
Options: (No TOS-capability, DC, Upward) Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Summary Links(AS Boundary Router) LS Type: Inter Area Router Links
Link State ID: 10.5.5.5 (AS Boundary Router address) Link State ID: 168101125
Advertising Router: 10.2.2.2 Advertising Router: 10.2.2.2
LS Seq Number: 80000002 LS Seq Number: 80000002
Checksum: 0xB314 Checksum: 0x3F3A
Length: 28 Length: 32
Network Mask: /0 Metric: 74
MTID: 0 Metric: 74 Destination Router ID: 10.5.5.5
AS External LSA Router IDs
R1: 10.1.1.1
10.1.24.0/24 10.1.45.0/24 R2: 10.2.2.2
2001:1:24::/64 2001:45::/64
10.1.123.0/24 10.20.1.0/24
10.10.10.10/32 R1 R2 R3: 10.3.3.3
2001:1:123::/64 R4 R5 2001:20:1::/64
2001:10:10::10/128 Area 2 R4: 10.4.4.4
Area 0
Area 1 10.1.5.0/24 / 2001:1:5::/64 R5: 10.5.5.5
R3
R1#show ip ospf database external 10.20.1.0 R1#show ipv6 ospf database external 2001:20:1::/64
IPv4 IPv6
OSPF Router with ID (10.1.1.1) (Process ID 1) OSPFv3 Router with ID (10.1.1.1) (Process ID 1)
Routing Bit Set on this LSA in topology Base with MTID 0 Type-5 AS External Link States
LS age: 586
Options: (No TOS-capability, DC, Upward) Routing Bit Set on this LSA
LS Type: AS External Link LS age: 761
Link State ID: 10.20.1.0 (External Network Number ) LS Type: AS External Link
Advertising Router: 10.5.5.5 Link State ID: 0
LS Seq Number: 80000002 Advertising Router: 10.5.5.5
Checksum: 0xA3C3 LS Seq Number: 80000002
Length: 36 Checksum: 0x79E6
Network Mask: /24 Length: 36
Metric Type: 2 (Larger than any link state path) Prefix Address: 2001:20:1::
MTID: 0 Prefix Length: 64, Options: None
Metric: 20 Metric Type: 2 (Larger than any link state path)
Forward Address: 0.0.0.0 Metric: 20
External Route Tag: 0
OSPFv3 Only - Link States – Type 8 Router IDs
R1: 10.1.1.1
10.1.24.0/24 10.1.45.0/24 R2: 10.2.2.2
2001:1:24::/64 2001:45::/64
10.1.123.0/24 10.20.1.0/24
10.10.10.10/32 R1 R2 R3: 10.3.3.3
2001:1:123::/64 R4 R5 2001:20:1::/64
2001:10:10::10/128 Area 2 R4: 10.4.4.4
Area 0
Area 1 10.1.5.0/24 / 2001:1:5::/64 R5: 10.5.5.5
R3
R1#show ipv6 ospf database R1#show ipv6 ospf database link adv-router 10.2.2.2
OSPFv3 Router with ID (10.1.1.1) (Process ID 1) OSPFv3 Router with ID (10.1.1.1) (Process ID 1)
R1#show ipv6 ospf database R1#show ipv6 ospf database prefix adv-router 10.1.1.1
OSPFv3 Router with ID (10.1.1.1) (Process ID 1) OSPFv3 Router with ID (10.1.1.1) (Process ID 1)
TX Failed 0 0
TX Hello 10 792
TX DB des 6 624
TX LS req 2 112
TX LS upd 8 708
TX LS ack 5 460
TX Total 31 2696
10.2.2.2
10.1.1.1 Area 0
R1 R2
10.0.0.1/30 10.0.0.2/30
OSPF Routing Table
R1#sh ip ospf data router 10.2.2.2 R2#sh ip ospf data router 10.1.1.1
OSPF Router with ID (10.1.1.1) (Process ID 1) OSPF Router with ID (10.2.2.2) (Process ID 1)
Adv Router is not-reachable Adv Router is not-reachable
LS age: 1254 LS age: 1670
Options: (No TOS-capability, DC) Options: (No TOS-capability, DC)
LS Type: Router Links LS Type: Router Links
Link State ID: 10.2.2.2 Link State ID: 10.1.1.1
Advertising Router: 10.2.2.2 Advertising Router: 10.1.1.1
Link connected to: a Transit Network Link connected to: a Stub Network
(Link ID) Designated Router address: 10.0.0.2 (Link ID) Network/subnet number: 10.0.0.0
(Link Data) Router Interface address: 10.0.0.2 (Link Data) Network Mask: 255.255.255.252
Number of TOS metrics: 0 Number of TOS metrics: 0
TOS 0 Metrics: 10 TOS 0 Metrics: 10
10.2.2.2
10.1.1.1 Area 0
R1 R2
10.0.0.1/30 10.0.0.2/30
Quiz Time
41
EIGRP Reliable Communication
Reliable Transport Protocol (RTP)
• Purpose of RTP
– To transmit and receive EIGRP packets
• Characteristics of RTP
– Reliable & unreliable delivery:
Reliable delivery requires acknowledgment from destination
Unreliable delivery does not require an acknowledgement from destination
– Packets can be
Unicast
Multicast
42
EIGRP DUAL Routing Algorithm Concepts
• A neighbour meets the feasibility condition (FC) if the RD is smaller than the
FD of this router.
EIGRP DUAL Routing Algorithm
• Finite-State-Machine
Track all routes
Select a Successor
Remember Feasible Successors
If Successor lost
Use Feasible Successor
If no Feasible Successor exists
Query Neighbours and Recompute new Successor
Troubleshooting EIGRP
Lifecycle View of the EIGRP Routing Process
Example logs
Neighbor 10.0.0.2 (Ethernet0) is down: peer restarted
Neighbor 10.0.0.2 (Ethernet0) is down: holding time expired
Neighbor 10.0.0.2 (Ethernet0) is down: retry limit exceeded
Neighbor 10.0.0.2 (Ethernet0) is down: route filter changed (old)
Neighbor 10.0.0.2 (Ethernet0) is down: K-value mismatch
Neighbor 10.0.0.2 (Ethernet0) is down: manually cleared
Neighbor 10.0.0.2 (Ethernet0) is down: Interface Goodbye received
R2
• Common causes
- Mismatched MTU R2# ping
- Unidirectional link Protocol[ip]:
- Dirty link Target IP address: 10.0.0.1
- Bad Hardware
Repeat count [5]: 100
Datagram Size: 1500
Timeout in seconds[2]:
Extended commands[n]: y
EIGRP Topology Exchange
R1#show ip eigrp events Lo0: 10.1.1.1
Event information for AS 1:
R1
...
10 13:20:43.289 Rcv update met/succmet: 409600 128256 .1
.1
R2#debug ip/ipv6 eigrp 10 10.2.2.0 255.255.255.0
IP-EIGRP AS Target Events debugging is on 10.0.0.0/24
Lo0: 10.2.2.2
DUAL FD, RD, FS and Successor
A-B-E = 20+30 = 50 B
A-C-E = 20+40 = 60
10.200.1.0
20 Se1/1 RD=40
A-D-E = 20+70 = 90 20 RD=20
A C E
FD = 50
D
Computed Reported
Distance Distance
Show IP EIGRP Topology All-Links
10.200.1.0
.1 .2 .1 .2
56k 128k
A C E
Reported
Distance
57
Show IP EIGRP Topology Summary
Total number of routes in the local topology table
Number of queries this router is waiting on replies for
Internal data structures
C
B#show ip route 10.1.1.0
B#
Problem with External Routes
A
router eigrp 100
redistribute rip metric 1000 1 255 1 1500
....
C
B#show ip route 10.1.1.0 C#show ip route 10.1.1.0
.... C#
10.1.1.0/24 via [A]
Problem with External Routes 10.1.1.0/24
via RIP
A
• We’ve resolved the metric issue, and B
picked the route up, but C didn’t—why?
• B’s topology table show originating
router ID field in the external route is B
set to 192.168.1.1
192.168.1.1
• But, that’s Router C’s loopback C
B#show ip eigrp topology 10.1.1.0
address! 10.10.1.0/24
....
External data:
Originating router is 192.168.1.1
Problem indicated in event log:
1 02:30:18.591 Ignored route, metric: 192.168.1.0 2297856
2 02:30:18.591 Ignored route, neighbor info: 10.1.1.0/24 Serial0/3
3 02:30:18.591 Ignored route, dup router: 192.168.1.1
IPv6 Unique Issues
• IPv6 Router-ID: Uses the same router-id selection process as IPv4. If IPv4
address is not available manually set the router-ID.
• EIGRP does not use a network statement to specify its IPv6 interfaces
Two different methods exist:
• Classic mode uses the “ipv6 eigrp <AS>” command on each interface
• Named mode defaults to having all interfaces enabled
• Need to “shutdown” under af-interface <interface>
Router is configured only for IPv6. EIGRP has been enabled but EIGRP
does not seem to be working. What could be a problem?