Documente Academic
Documente Profesional
Documente Cultură
Mohammad Khalil
CCIE#35484 (R&S,SP)
Network Diagram
AS300
OSPF
A0
OSPF
A0
R7
AS300
R8
EIGRP
BGP
RIPv2
BGP
R4
R2
R5
R3
R6
R1
EIGRP
R9
RIPv2
R10
AS100
AS200
1
AS300
Lab Overview
The topology above contains two main ASes with one secondary AS, the main goal of
the setup is to maintain connectivity among the below
R7 R10 should communicate with each other via IPv4 (their loopback 0
networks)
R7 and R8 should communicate with each other via IPv6 (their loopback 0
betworks)
R8 and R10 should communicate with each other via IPv4 (their loopback 1
networks)
R8 and R9 should communicate with each other over the subnet 172.16.89.0/24
Solutions
One of the tricks in troubleshooting labs is to turn off logging to the console in order to
hide any message that could assist in solving problems, so let us turn on the logging on
all routers
R1 R10
logging console
Let us start now by dividing the areas we are going to work on
The IGP inside both ASes is OSPF, so let us check our OSPF adjacencies
R1#sh ip ospf neighbor
R1#
R1 should have neighborship with R4
R1#debug ip ospf adj
OSPF adjacency debugging is on
R1#
*Aug 17 13:15:46.986: OSPF-1 ADJ Fa2/0: Send with youngest Key 2
R1#
*Aug 17 13:15:49.362: OSPF-1 ADJ Fa2/0: Rcv pkt from 192.168.14.4 :
Mismatched Authentication Key - No message digest key 1 on interface
So, the error is clear, there is a mismatch in the authentication key ID
R1#sh ip ospf interface fastEthernet 2/0 | include authentication|key
Message digest authentication enabled
Youngest key id is 2
R4#sh ip ospf interface fastEthernet 1/0 | include authentication|key
Message digest authentication enabled
Youngest key id is 1
R1#sh run int f2/0 | inc key
ip ospf message-digest-key 2 md5 cisco
R1
interface fastEthernet 2/0
no ip ospf message-digest-key 2 md5 cisco
ip ospf message-digest-key 1 md5 cisco
R1#
*Aug 17 13:18:29.430: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on FastEthernet2/0
from LOADING to FULL, Loading Done
R1#
*Aug 17 13:18:36.718: %BGP-5-ADJCHANGE: neighbor 4.4.4.4 Up
*Aug 17 13:18:36.726: %LDP-5-NBRCHG: LDP Neighbor 4.4.4.4:0 (1) is UP
R1#sh ip ospf neighbor
Neighbor ID
4.4.4.4
Pri State
1 FULL/DR
Pri State
1 FULL/DR
Still R2 needs a neighborship with R3 but not shown in the show ip ospf neighbiors
output, let us check
R3#sh cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID
R1.lab.local
R2.lab.local
R5.lab.local
R6.lab.local
Local Intrfce
Fas 1/0
Fas 1/1
Fas 2/1
Fas 2/0
Holdtme
141
154
175
145
speed 100
duplex full
mpls ip
R3#ping 192.168.23.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.23.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 20/44/96 ms
So, there is IP reachability
R3#sh ip ospf interface brief
Interface PID Area
IP Address/Mask Cost State Nbrs F/C
Lo0
1
0
3.3.3.3/32
1
LOOP 0/0
Fa2/1
1
0
192.168.35.3/24 1
DR 0/0
Fa2/0
1
0
192.168.36.3/24 1
BDR 1/1
We can see that FastEthernet1/1 is not included in the ospf enabled interfaces, let us
check the global OSPF configuration
R3#sh run | sec router ospf
router ospf 1
router-id 3.3.3.3
network 3.3.3.3 0.0.0.0 area 0
network 192.168.35.3 0.0.0.0 area 0
network 192.168.36.3 0.0.0.0 area 0
As can be seen from the output above, there is no network statement for the interface
of concern, let us add it
R3
router ospf 1
network 192.168.23.3 0.0.0.0 area 0
R3#
*Aug 17 13:33:05.242: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on FastEthernet1/1
from LOADING to FULL, Loading Done
R2#sh ip ospf neighbor
Neighbor ID
5.5.5.5
3.3.3.3
Pri State
1 FULL/DR
1 FULL/BDR
Now, if we checked R5
R5#sh ip ospf neighbor
Neighbor ID
3.3.3.3
6.6.6.6
2.2.2.2
Pri State
Dead Time Address
Interface
1 INIT/DROTHER 00:00:35 192.168.35.3 FastEthernet2/0
0 FULL/ 00:00:33 192.168.56.6 FastEthernet1/1
1 FULL/BDR
00:00:35 192.168.25.2 FastEthernet1/0
As we can see that the relation with R3 is stuck in INIT state which means there is
something forbid OSPF hello messages from being exchanged
R3#sh ip interface fastEthernet 2/1 | include access
Outgoing access list is not set
Inbound access list is DENY_OSPF
IP access violation accounting is disabled
R3#sh access-lists
Extended IP access list DENY_OSPF
10 deny ospf any any (61548 matches)
20 permit ip any any (133501 matches)
R3
ip access-list extended DENY_OSPF
no deny ospf any any
R3#
*Aug 19 09:56:52.327: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on FastEthernet2/1
from LOADING to FULL, Loading Done
R3#sh ip ospf neighbor
Neighbor ID
2.2.2.2
5.5.5.5
6.6.6.6
Pri State
1 FULL/DR
1 FULL/DR
1 FULL/DR
Pri State
1 FULL/BDR
0 FULL/ 1 FULL/BDR
192.168.56.6
192.168.56.5
FastEthernet1/1
FastEthernet1/1
We can see that the election takes place on router and not on the other
R5#sh ip ospf interface fastEthernet 1/1 | inc Network
Internet Address 192.168.56.5/24, Area 0, Attached via Network Statement
Process ID 1, Router ID 5.5.5.5, Network Type POINT_TO_POINT, Cost: 1
R6#sh ip ospf interface fastEthernet 1/1 | inc Network
Internet Address 192.168.56.6/24, Area 0, Attached via Network Statement
Process ID 1, Router ID 6.6.6.6, Network Type BROADCAST, Cost: 1
So, the network type does not match on both interfaces
R5#sh run int f1/1 | inc ospf
ip ospf network point-to-point
R6
int f1/1
ip ospf network point-to-point
*Aug 19 10:00:45.682: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on FastEthernet1/1
from FULL to DOWN, Neighbor Down: Interface down or detached
*Aug 19 10:00:45.778: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on FastEthernet1/1
from LOADING to FULL, Loading Done
R5#sh ip ospf neighbor | inc 6.6.6.6
6.6.6.6
0 FULL/ 00:00:34
192.168.56.6
FastEthernet1/1
192.168.56.5
FastEthernet1/1
The neighborship were up due to the match in the hello/dead time intervals values, but
this will affect routes exchange between the routers on this link
Now, let us check our MPLS LDP neighborships
R6#show mpls ldp neighbor
Peer LDP Ident: 3.3.3.3:0; Local LDP Ident 6.6.6.6:0
TCP connection: 3.3.3.3.646 - 6.6.6.6.62211
State: Oper; Msgs sent/rcvd: 11176/11183; Downstream
Up time: 6d18h
LDP discovery sources:
3.3.3.3
19
19
19
19
19
10:04:43.978:
10:04:44.050:
10:04:44.058:
10:04:44.162:
10:04:44.278:
10
11
12
Default RD
100:1
Interfaces
Fa1/1
Fa2/0.49
13
14
R7
router rip
no auto-summary
R7#sh run | sec router rip
version 2
network 7.0.0.0
network 10.0.0.0
no auto-summary
R4#sh ip route vrf MSSK rip
Routing Table: MSSK
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
R
15
16
Maximum path: 4
Maximum hopcount 100
Maximum metric variance 1
Total Prefix Count: 6
Total Redist Count: 5
Automatic Summarization: disabled
Maximum path: 4
Routing for Networks:
10.10.49.4/32
Routing Information Sources:
Gateway
Distance
Last Update
Distance: internal 90 external 170
Routing Protocol is "bgp 100"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
IGP synchronization is disabled
Automatic route summarization is disabled
Redistributing: rip
Maximum path: 1
Routing Information Sources:
Gateway
Distance
Last Update
Distance: external 20 internal 200 local 200
So R4 is configured for a wrong AS (does not match R9)
R4#sh run | sec router eigrp
router eigrp 49
!
address-family ipv4 vrf MSSK autonomous-system 48
redistribute bgp 100 metric 1000 1000 255 1 1500
redistribute rip metric 1000 1000 255 1 1500
network 10.10.49.4 0.0.0.0
exit-address-family
debug eigrp address-family ipv4 vrf MSSK neighbor
R4
router eigrp 49
no address-family ipv4 vrf MSSK autonomous-system 48
address-family ipv4 vrf MSSK autonomous-system 49
redistribute bgp 100 metric 1000 1000 255 1 1500
redistribute rip metric 1000 1000 255 1 1500
network 10.10.49.4 0.0.0.0
17
18
which means the packet will die when arriving at the next hop , so two actions should
be taken now
R4
router rip
address-family ipv4 vrf MSSK
no redistribute bgp 100 metric 15
redistribute bgp 100 metric 1
redistribute eigrp 49 metric 1
R7#sh ip route | inc 9.9.9.9
R
9.9.9.9 [120/1] via 10.10.47.4, 00:00:13, FastEthernet1/0
R7#ping 9.9.9.9 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 9.9.9.9, timeout is 2 seconds:
Packet sent with a source address of 7.7.7.7
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/50/88 ms
R7#traceroute 9.9.9.9 source lo0 numeric
Type escape sequence to abort.
Tracing the route to 9.9.9.9
VRF info: (vrf in name/id, vrf out name/id)
1 10.10.47.4 36 msec 16 msec 8 msec
2 10.10.49.9 24 msec * 24 msec
Let us move now to AS 200 and check their CEs
R5#sh ip vrf
Name
MSSK
Default RD
200:1
Interfaces
Fa2/1.58
19
20
21
Gateway
Distance
Last Update
Distance: external 20 internal 200 local 200
R10#sh ip protocols
*** IP Routing is NSF aware ***
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 9 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive version 1
Interface
Send Recv Triggered RIP Key-chain
FastEthernet1/0
1
1
Loopback0
1
1
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
Routing Information Sources:
Gateway
Distance
Last Update
10.10.106.6
120
1w0d
Distance: (default is 120)
Routing Protocol is "bgp 300"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
IGP synchronization is disabled
Automatic route summarization is disabled
Neighbor(s):
Address
FiltIn FiltOut DistIn DistOut Weight RouteMap
8.8.8.8
Maximum path: 1
Routing Information Sources:
Gateway
Distance
Last Update
8.8.8.8
200
1w0d
Distance: external 20 internal 200 local 200
As can be seen, the RIP version on R10 is version 1
R10
router rip
version 2
R6#ping vrf MSSK 10.10.10.10
Type escape sequence to abort.
22
AS MsgRcvd MsgSent
100
5003
4996
0 3d03h
23
24
25
26
27
10.10.58.5
Fa1/0.58
Hold Uptime
(sec)
(ms)
12 1w2d
R8 is not installing any route even though the relation is up, so it should be related to
redistribution process on R5 (as R5 is teaching R8 via redistribution from BGP)
R5#sh run | sec router eigrp
router eigrp 58
address-family ipv4 vrf MSSK autonomous-system 58
redistribute bgp 200
network 10.10.58.5 0.0.0.0
exit-address-family
We can see the metric value is not deteremined
R5
router eigrp 58
address-family ipv4 vrf MSSK autonomous-system 58
redistribute bgp 200 metric 1000 1000 255 1 1500
Or we can use the below command
28
R5
router eigrp 58
default-metric 1000 1000 255 1 1500
R8#sh ip route eigrp
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
7.0.0.0/32 is subnetted, 1 subnets
D EX
7.7.7.7 [170/2818560] via 10.10.58.5, 00:00:20, FastEthernet1/0.58
10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
D EX
10.10.10.10/32
[170/2818560] via 10.10.58.5, 00:00:20, FastEthernet1/0.58
D EX
10.10.47.0/24
[170/2818560] via 10.10.58.5, 00:00:20, FastEthernet1/0.58
D EX
10.10.49.0/24
[170/2818560] via 10.10.58.5, 00:00:20, FastEthernet1/0.58
D EX
10.10.106.0/24
[170/2818560] via 10.10.58.5, 00:00:20, FastEthernet1/0.58
R10#ping 8.8.8.8 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 10.10.10.10
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/84/120 ms
Let us now check all customers connectivity
R7#tclsh
R7(tcl)#foreach x {
+>(tcl)#7.7.7.7
+>(tcl)#8.8.8.8
+>(tcl)#9.9.9.9
+>(tcl)#10.10.10.10
+>(tcl)#} { ping $x source lo0 }
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 7.7.7.7, timeout is 2 seconds:
Packet sent with a source address of 7.7.7.7
29
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/8 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 7.7.7.7
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 76/117/168 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 9.9.9.9, timeout is 2 seconds:
Packet sent with a source address of 7.7.7.7
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/31/40 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.10, timeout is 2 seconds:
Packet sent with a source address of 7.7.7.7
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 68/96/128 ms
R9#tclsh
R9(tcl)#foreach x {
+>(tcl)#7.7.7.7
+>(tcl)#8.8.8.8
+>(tcl)#9.9.9.9
+>(tcl)#10.10.10.10
+>(tcl)#} { ping $x source lo0 }
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 7.7.7.7, timeout is 2 seconds:
Packet sent with a source address of 9.9.9.9
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/61/152 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 9.9.9.9
.....
Success rate is 0 percent (0/5)
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 9.9.9.9, timeout is 2 seconds:
Packet sent with a source address of 9.9.9.9
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.10, timeout is 2 seconds:
Packet sent with a source address of 9.9.9.9
.....
Success rate is 0 percent (0/5)
So R9 is having issues with destinations outside its own AS, let us check its PE router
30
31
0 200 ?
0 200 ?
32
33
34
AS MsgRcvd MsgSent
0
18
0 3d19h
0 0 1w2d
100
0 200 300 i
35
AS MsgRcvd MsgSent
0
10
0 3d19h
0 0 1w2d
1
1
36
37
*>i 2001::7/128
*> 2001::8/128
::FFFF:3.3.3.3
2001:10:58::8
100
0 100 300 i
0 300 i
AS MsgRcvd MsgSent
300
42
42
0 00:33:45
38
AS MsgRcvd MsgSent
300
42
42
13
0 00:34:13
39
R8
vrf definition ABC
address-family ipv4
route-target import 300:1
R8#show bgp vpnv4 unicast all
BGP table version is 13, local router ID is 8.8.8.8
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network
Next Hop
Metric LocPrf Weight Path
Route Distinguisher: 300:1 (default for vrf ABC)
*> 88.8.8.8/32
0.0.0.0
0
32768 i
*>i 100.10.10.10/32 10.10.10.10
0 100
0i
Let us check MPLS LDP neighborships
R8#show mpls ldp neighbor
Peer LDP Ident: 10.10.58.5:0; Local LDP Ident 8.8.8.8:0
TCP connection: 10.10.58.5.65465 - 8.8.8.8.646
State: Oper; Msgs sent/rcvd: 3229/3234; Downstream
Up time: 1d22h
LDP discovery sources:
FastEthernet1/0.58, Src IP addr: 10.10.58.5
Addresses bound to peer LDP Ident:
10.10.58.5
R10#show mpls interfaces
Interface
IP
Tunnel BGP Static Operational
FastEthernet1/0
Yes (ldp)
No
No No
Yes
So, from R6 side , MPLS IP is not enabled
R6#show mpls interfaces
Interface
IP
Tunnel BGP Static Operational
FastEthernet1/0
Yes (ldp)
No
No No
Yes
FastEthernet1/1
Yes (ldp)
No
No No
Yes
R6#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
40
Device ID
R10.lab.local
R3.lab.local
R5.lab.local
Local Intrfce
Fas 2/0
Fas 1/0
Fas 1/1
Holdtme
131
140
174
R6
int f2/0
mpls ip
R6#
*Aug 21 09:05:19.683: %SYS-5-CONFIG_I: Configured from console by console
*Aug 21 09:05:19.743: %LDP-5-NBRCHG: LDP Neighbor (vrf MSSK) 10.10.10.10:0 (3)
is UP
R8#ping vrf ABC 100.10.10.10 source lo1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.10.10.10, timeout is 2 seconds:
Packet sent with a source address of 88.8.8.8
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/84/192 ms
R10#ping vrf ABC 88.8.8.8 source lo1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 88.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 100.10.10.10
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/74/204 ms
Finally, there is a layer 2 connection that should be established in order to achieve
reachability between R8 and R9
R8#sh run int FastEthernet1/0.158
interface FastEthernet1/0.158
encapsulation dot1Q 158
ip address 172.16.89.8 255.255.255.0
R9#sh run int FastEthernet1/0.149
interface FastEthernet1/0.149
encapsulation dot1Q 149
ip address 172.16.89.9 255.255.255.0
So, there should be xconnect configuration in place
R4#show mpls l2transport summary
Destination address: 5.5.5.5, total number of vc: 1
0 unknown, 0 up, 1 down, 0 admin down, 0 recovering, 0 standby, 0 hotstandby
41
Next Hop
0.0.0.0
192.168.12.2
192.168.14.4
192.168.12.2
R2#sh ip bgp
BGP table version is 25, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network
*> 1.1.1.1/32
*> 2.2.2.2/32
*> 4.4.4.4/32
*> 5.5.5.5/32
Next Hop
192.168.12.1
0.0.0.0
192.168.12.1
192.168.25.5
42
43
44
Bytes Label
45
Outgoing
Next Hop
Label
16
17
18
19
20
21
22
23
24
25
Label
or Tunnel Id
Switched
interface
No Label 7.7.7.7/32[V] 5130
Fa1/1
10.10.47.7
18
2.2.2.2/32
0
Fa1/0
192.168.14.1
26
5.5.5.5/32
0
Fa1/0
192.168.14.1
No Label 10.10.49.0/24[V] 0
aggregate/MSSK
No Label 9.9.9.9/32[V] 2360
Fa2/0.49 10.10.49.9
No Label 10.10.47.0/24[V] 0
aggregate/MSSK
No Label l2ckt()
0
drop
Pop Label 192.168.13.0/24 0
Fa1/0
192.168.14.1
Pop Label 1.1.1.1/32
0
Fa1/0
192.168.14.1
No Label 2001::7/128[V] 8436
Fa1/1
FE80::C806:7FF:FE31:1C
R5#
*Aug 21 09:16:30.287: %LDP-5-NBRCHG: LDP Neighbor 4.4.4.4:0 (5) is UP
R5#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
+ - replicated route, % - next hop override
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O E2
1.1.1.1 [110/1] via 192.168.25.2, 00:00:43, FastEthernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O
2.2.2.2 [110/2] via 192.168.25.2, 3d19h, FastEthernet1/0
3.0.0.0/32 is subnetted, 1 subnets
O
3.3.3.3 [110/2] via 192.168.35.3, 1d23h, FastEthernet2/0
4.0.0.0/32 is subnetted, 1 subnets
O E2
4.4.4.4 [110/1] via 192.168.25.2, 3d19h, FastEthernet1/0
6.0.0.0/32 is subnetted, 1 subnets
O
6.6.6.6 [110/2] via 192.168.56.6, 1d23h, FastEthernet1/1
O
192.168.23.0/24 [110/2] via 192.168.35.3, 1d23h, FastEthernet2/0
[110/2] via 192.168.25.2, 3d19h, FastEthernet1/0
O
192.168.36.0/24 [110/2] via 192.168.56.6, 1d23h, FastEthernet1/1
[110/2] via 192.168.35.3, 1d23h, FastEthernet2/0
R5#sh mpls forwarding-table
Local
Outgoing Prefix
Bytes Label
Label
Label
or Tunnel Id
Switched
16
Pop Label 192.168.23.0/24 0
Pop Label 192.168.23.0/24 0
46
17
18
19
20
21
23
24
25
26
27
28
29
30
31
32
33
19
10.10.49.0/24[V] 0
Fa1/0
192.168.25.2
Pop Label 6.6.6.6/32
405911
Fa1/1
192.168.56.6
31
1.1.1.1/32
0
Fa1/0
192.168.25.2
28
9.9.9.9/32[V] 1180
Fa1/0
192.168.25.2
Pop Label 8.8.8.8/32[V] 973132
Fa2/1.58 10.10.58.8
No Label l2ckt(1)
0
Fa2/1.158 point2point
25
4.4.4.4/32
0
Fa1/0
192.168.25.2
Pop Label 3.3.3.3/32
0
Fa2/0
192.168.35.3
No Label 2001::8/128[V] 5192
Fa2/1.58 FE80::C807:7FF:FE31:1C
23
10.10.106.0/24[V] \
0
Fa1/1
192.168.56.6
Pop Label 192.168.36.0/24 0
Fa2/0
192.168.35.3
Pop Label 192.168.36.0/24 0
Fa1/1
192.168.56.6
35
7.7.7.7/32[V] 2950
Fa1/0
192.168.25.2
29
10.10.10.10/32[V] \
12443
Fa1/1
192.168.56.6
Pop Label 10.10.58.0/24[V] 0
aggregate/MSSK
18
10.10.47.0/24[V] 0
Fa1/0
192.168.25.2
Pop Label 2.2.2.2/32
1180
Fa1/0
192.168.25.2
Before, we check the xconnect status, R1 should send label to R2 and vice versa
R1#sh run | sec router bgp
router bgp 100
bgp log-neighbor-changes
no bgp default ipv4-unicast
no bgp default route-target filter
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
neighbor 192.168.12.2 remote-as 200
neighbor 192.168.13.3 remote-as 200
!
address-family ipv4
network 1.1.1.1 mask 255.255.255.255
network 4.4.4.4 mask 255.255.255.255
neighbor 192.168.12.2 activate
exit-address-family
!
address-family vpnv4
neighbor 4.4.4.4 activate
neighbor 4.4.4.4 send-community both
neighbor 4.4.4.4 next-hop-self
neighbor 192.168.12.2 activate
neighbor 192.168.12.2 send-community both
exit-address-family
!
address-family vpnv6
47
48
49