OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : Inter-AS VPN Option-B Configuration : Validation
Validation
PE1
 
PE1#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
31.31.31.31 xe20 Passive OPERATIONAL 30 00:49:02
 
#show ip route vrf vrf1 database
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
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, L1 - IS-IS level-1, L2 - IS-IS level-2,
ia - IS-IS inter area, E - EVPN,
v - vrf leaked
> - selected route, * - FIB route, p - stale info
 
IP Route Table for VRF "vrf1"
C *> 10.1.1.0/24 is directly connected, xe22, 03:49:26
B *> 30.1.1.0/24 [200/0] via 41.41.41.41, 00:00:41
C *> 127.0.0.0/8 is directly connected, lo.vrf1, 03:50:18
 
PE1#show ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:1 (Default for VRF vrf1)
*> l 10.1.1.0/24 0.0.0.0 0 100 32768 ?
*>i 30.1.1.0/24 41.41.41.41 0 100 0 65001 ?
Announced routes count = 1
Accepted routes count = 1
Route Distinguisher: 1:1
*>i 30.1.1.0/24 41.41.41.41 0 100 0 65001 ?
Announced routes count = 0
Accepted routes count = 1
PE2-ASBR1
 
PE2-ASBR2#show ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime 31.31.31.31 xe47 Active OPERATIONAL 30 00:16:22
3.3.3.3 xe45 Active OPERATIONAL 30 00:14:54
 
 
 
#show ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:1
*>il 10.1.1.0/24 2.2.2.2 0 100 0 ?
*> l 30.1.1.0/24 20.1.1.3 0 100 0 65001 ?
Announced routes count = 0
Accepted routes count = 2
 
#show ip bgp vpnv4 all summary
BGP router identifier 41.41.41.41, local AS number 65000
BGP table version is 4
2 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
2.2.2.2 4 65000 168 171 4 0 0 00:29:03 1
20.1.1.3 4 65001 111 119 4 0 0 00:42:51 1
 
Total number of neighbors 2
 
Total number of Established sessions 2
PE3-ASBR2
 
PE3-ASBR2#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
41.41.41.41 xe45 Passive OPERATIONAL 30 00:15:47
40.40.40.40 xe6 Passive OPERATIONAL 30 00:24:32
 
 
#show ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:1
*> l 10.1.1.0/24 20.1.1.41 0 100 0 65000 ?
*>il 30.1.1.0/24 5.5.5.5 0 100 0 ?
Announced routes count = 0
Accepted routes count = 2
 
#show ip bgp vpnv4 all summary
BGP router identifier 3.3.3.3, local AS number 65001
BGP table version is 4
2 BGP AS-PATH entries
0 BGP community entries
 
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd
5.5.5.5 4 65001 41 45 4 0 0 00:15:59 1
20.1.1.41 4 65000 115 118 4 0 0 00:43:58 1
 
Total number of neighbors 2
 
Total number of Established sessions 2
PE4
#show ip bgp vpnv4 all
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, l - labeled
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:1 (Default for VRF vrf1)
*>i 10.1.1.0/24 3.3.3.3 0 100 0 65000 ?
*> l 30.1.1.0/24 0.0.0.0 0 100 32768 ?
Announced routes count = 1
Accepted routes count = 1
Route Distinguisher: 1:1
*>i 10.1.1.0/24 3.3.3.3 0 100 0 65000 ?
Announced routes count = 0
Accepted routes count = 1
 
#show ip route vrf vrf1 database
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
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, L1 - IS-IS level-1, L2 - IS-IS level-2,
ia - IS-IS inter area, E - EVPN,
v - vrf leaked
> - selected route, * - FIB route, p - stale info
 
IP Route Table for VRF "vrf1"
B *> 10.1.1.0/24 [200/0] via 3.3.3.3, 00:00:48
C *> 30.1.1.0/24 is directly connected, xe22, 03:46:38
C *> 127.0.0.0/8 is directly connected, lo.vrf1, 03:49:54
 
Gateway of last resort is not set
 
PE4#sh ldp session
 
Peer IP Address IF Name My Role State KeepAlive UpTime
40.40.40.40 xe5 Passive OPERATIONAL 30 00:26:30
 
P#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
2.2.2.2 xe7 Active OPERATIONAL 30 00:31:27
41.41.41.41 xe1 Passive OPERATIONAL 30 00:15:12
 
 
P#
P2#sh ldp session
Peer IP Address IF Name My Role State KeepAlive UpTime
3.3.3.3 xe6 Active OPERATIONAL 30 00:24:58
5.5.5.5 xe5 Active OPERATIONAL 30 00:24:15
 
 
 
Last modified date: 10/17/2023