Validation
PE1
OSPF adjacency should be in “Full” state.
PE1#show ip ospf neighbor
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
30.0.1.3 1 Full/ - 00:00:36 10.0.1.21 xe29 0
PE1#
P1
P1#show ip ospf neighbor
Total number of full neighbors: 2
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
30.0.1.2 1 Full/ - 00:00:38 10.0.1.12 xe4 0
30.0.1.1 1 Full/ - 00:00:31 10.0.1.20 xe2 0
PE2
PE2#show ip ospf neighbor
Total number of full neighbors: 1
OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
30.0.1.3 1 Full/ - 00:00:33 10.0.1.13 xe4 0
PE2#
To verify the BGP session status between PE1 and PE2, ensure that the session is in the "Established" state. Additionally, in the output of the show ip bgp neighbors command, confirm that the 4-Octet ASN capability and the L2VPN VPLS capability are both advertised and received, indicating successful capability negotiation between the peers.
PE1
PE1#show ip bgp summary
BGP router identifier 30.0.1.1, local AS number 80000
BGP table version is 1
1 BGP AS-PATH entries
0 BGP community entries
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
30.0.1.2 4 80000 5 5 1 0 0 00:00:30 0
Total number of neighbors 1
Total number of Established sessions 1
PE1#
PE1#show ip bgp neighbors
BGP neighbor is 30.0.1.2, remote AS 80000, local AS 80000, internal link, peer index: 2
BGP version 4, local router ID 30.0.1.1, remote router ID 30.0.1.2
BGP state = Established, up for 00:00:32
Last read 00:00:06, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
4-Octet ASN Capability: advertised and received
Address family IPv4 Unicast: advertised and received
Address family L2VPN VPLS: advertised and received
Received 5 messages, 0 notifications, 0 in queue
Sent 6 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
Update source is lo
For address family: IPv4 Unicast BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
AIGP is enabled
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
0 accepted prefixes
0 announced prefixes
For address family: L2VPN VPLS BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
1 accepted prefixes
1 announced prefixes
Connections established 1; dropped 0
Local host: 30.0.1.1, Local port: 179
Foreign host: 30.0.1.2, Foreign port: 54785
TCP MSS: (0), Advertise TCP MSS: (1460), Send TCP MSS: (1460), Receive TCP MSS: (536)
Sock FD : (28)
Nexthop: 30.0.1.1 lo
Nexthop global: :: lo
Nexthop local: :: lo
BGP connection: non shared network
PE1#
PE2
PE2#show ip bgp summary
BGP router identifier 30.0.1.2, local AS number 80000
BGP table version is 1
1 BGP AS-PATH entries
0 BGP community entries
Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd Desc
30.0.1.1 4 80000 7 7 1 0 0 00:00:56 0
Total number of neighbors 1
Total number of Established sessions 1
PE2#
PE2#show ip bgp neighbors
BGP neighbor is 30.0.1.1, remote AS 80000, local AS 80000, internal link, peer index: 2
BGP version 4, local router ID 30.0.1.2, remote router ID 30.0.1.1
BGP state = Established, up for 00:01:00
Last read 00:00:06, hold time is 90, keepalive interval is 30 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
4-Octet ASN Capability: advertised and received
Address family IPv4 Unicast: advertised and received
Address family L2VPN VPLS: advertised and received
Received 7 messages, 0 notifications, 0 in queue
Sent 7 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
Update source is lo
For address family: IPv4 Unicast BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
AIGP is enabled
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
0 accepted prefixes
0 announced prefixes
For address family: L2VPN VPLS BGP table version 1, neighbor version 1
Index 1, Offset 0, Mask 0x2
Community attribute sent to this neighbor (both)
Large Community attribute sent to this neighbor
1 accepted prefixes
1 announced prefixes
Connections established 1; dropped 0
Local host: 30.0.1.2, Local port: 54785
Foreign host: 30.0.1.1, Foreign port: 179
TCP MSS: (0), Advertise TCP MSS: (1460), Send TCP MSS: (1460), Receive TCP MSS: (536)
Sock FD : (28)
Nexthop: 30.0.1.2 lo
Nexthop global: :: lo
Nexthop local: :: lo
BGP connection: non shared network
PE2#
All RSVP sessions should be in “Up” state.
PE1
PE1#show rsvp session
Type : PRI - Primary, SEC - Secondary, DTR - Detour, BPS - Bypass
State : UP - Up, DN - Down, BU - Backup in Use, SU - Secondary in Use, FS - Forced to Secondary
* indicates the session is active with local repair at one or more nodes
(P) indicates the secondary-priority session is acting as primary
Ingress RSVP:
To From Tun-ID LSP-ID Type LSPName State Uptime Rt Style Labelin Labelout
30.0.1.2 30.0.1.1 5001 2201 PRI PE1-PE2-Primary UP 00:00:31 1 1 SE - 24321
Total 1 displayed, Up 1, Down 0.
Egress RSVP:
To From Tun-ID LSP-ID Type LSPName State Uptime Rt Style Labelin Labelout
30.0.1.1 30.0.1.2 5001 2201 PRI PE2-PE1-Primary UP 00:01:03 1 1 SE 24320 -
Total 1 displayed, Up 1, Down 0.
PE1#
PE2
PE2#show rsvp session
Type : PRI - Primary, SEC - Secondary, DTR - Detour, BPS - Bypass
State : UP - Up, DN - Down, BU - Backup in Use, SU - Secondary in Use, FS - Forced to Secondary
* indicates the session is active with local repair at one or more nodes
(P) indicates the secondary-priority session is acting as primary
Ingress RSVP:
To From Tun-ID LSP-ID Type LSPName State Uptime Rt Style Labelin Labelout
30.0.1.1 30.0.1.2 5001 2201 PRI PE2-PE1-Primary UP 00:01:08 1 1 SE - 24320
Total 1 displayed, Up 1, Down 0.
Egress RSVP:
To From Tun-ID LSP-ID Type LSPName State Uptime Rt Style Labelin Labelout
30.0.1.2 30.0.1.1 5001 2201 PRI PE1-PE2-Primary UP 00:00:36 1 1 SE 24320 -
Total 1 displayed, Up 1, Down 0.
PE2#
To verify BGP VPLS service status, the show mpls vpls mesh command should display the BGP VPLS session in the active state. The show mpls vpls detail output must show the Route Distinguisher (RD) and Route Targets (RTs) in the correct <4-byte ASN>:<VPLS ID> format. Additionally, the show bgp l2vpn vpls detail command should reflect accurate local and remote VE-IDs, proper RD information, and valid incoming and outgoing labels, ensuring proper signaling and label exchange between VPLS peers.
PE1
PE1#show mpls vpls mesh
(m) - Service mapped over multipath transport
(e) - Service mapped over LDP ECMP
VPLS-ID Peer Addr Tunnel-Label In-Label Network-Intf Out-Label Lkps/St PW-INDEX SIG-Protocol Status UpTime Ext-Color
101 30.0.1.2 24321 25039 xe29 25033 2/Up 1 BGP Active 00:01:01 -
PE1#show mpls vpls detail
Virtual Private LAN Service Instance: PE1-PE2, ID: 101
SIG-Protocol: BGP
Route-Distinguisher :80000:101
Route-Target :80000:101
VE-ID :10
Attachment-Circuit: UP
Learning: Enabled
Control-Word: Disabled
Flow Label Status: Disabled, Direction: None, Static: No
Group ID: 0, Configured MTU: 1500
Description: none
service-tpid: dot1.q
Operating mode: Raw
MAC Withdrawal:
Configured interfaces:
Interface: xe27.101
Status: Up
Subinterface Match Criteria(s) :
dot1q 101
Mesh Peers:
30.0.1.2 (Type: Ethernet) (Negotiated - CW: No, FAT: None) (Up) (UpTime: 00:01:03)
PE1#show bgp l2vpn vpls detail
VPLS ID: 101
VE-ID: 10
Discovered Peers: 1
Route-Target: 80000:101
Local RD: 80000:101
All Local Label Blocks:
[LB:24960, VBO:1, VBS:64]
[LB:25024, VBO:65, VBS:64]
Mesh Peers:
BGP Peer:30.0.1.2/32
VC Nbr Address:30.0.1.2, RD:80000:101, VE-ID:80
VC Details: VC-ID:1080
Local MTU:1500, Remote MTU:1500
Remote (LB:25024,VBO:1,VBS:64) Local (LB:25024,VBO:65,VBS:64)
LB sent on known VEID:Yes
In Label:25039, Out Label:25033
PW Status:Established
VC Installed:Yes
VC Signaled Time: 00:02:02
Extended-Community Color:0
PE1#
PE2
PE2#show mpls vpls mesh
(m) - Service mapped over multipath transport
(e) - Service mapped over LDP ECMP
VPLS-ID Peer Addr Tunnel-Label In-Label Network-Intf Out-Label Lkps/St PW-INDEX SIG-Protocol Status UpTime Ext-Color
101 30.0.1.1 24320 25033 xe4 25039 2/Up 1 BGP Active 00:01:30 -
PE2#show mpls vpls de
debug-detail detail
PE2#show mpls vpls detail
Virtual Private LAN Service Instance: PE2-PE1, ID: 101
SIG-Protocol: BGP
Route-Distinguisher :80000:101
Route-Target :80000:101
VE-ID :80
Attachment-Circuit: UP
Learning: Enabled
Control-Word: Disabled
Flow Label Status: Disabled, Direction: None, Static: No
Group ID: 0, Configured MTU: 1500
Description: none
service-tpid: dot1.q
Operating mode: Raw
MAC Withdrawal:
Configured interfaces:
Interface: xe10.101
Status: Up
Subinterface Match Criteria(s) :
dot1q 101
Mesh Peers:
30.0.1.1 (Type: Ethernet) (Negotiated - CW: No, FAT: None) (Up) (UpTime: 00:01:33)
PE2#show bgp l2vpn vpls detail
VPLS ID: 101
VE-ID: 80
Discovered Peers: 1
Route-Target: 80000:101
Local RD: 80000:101
All Local Label Blocks:
[LB:25024, VBO:1, VBS:64]
[LB:24960, VBO:65, VBS:64]
Mesh Peers:
BGP Peer:30.0.1.1/32
VC Nbr Address:30.0.1.1, RD:80000:101, VE-ID:10
VC Details: VC-ID:8010
Local MTU:1500, Remote MTU:1500
Remote (LB:25024,VBO:65,VBS:64) Local (LB:25024,VBO:1,VBS:64)
LB sent on known VEID:Yes
In Label:25033, Out Label:25039
PW Status:Established
VC Installed:Yes
VC Signaled Time: 00:01:38
Extended-Community Color:0
PE2#
End to end ping for VPLS service should be successful.
PE1
PE1#ping mpls vpls 101 peer 30.0.1.2/32 detail
Sending 5 MPLS Echos to VPLS Id : 101, timeout is 5 seconds
Codes:
'!' - Success, 'Q' - request not sent, '.' - timeout,
'x' - Retcode 0, 'M' - Malformed Request, 'm' - Errored TLV,
'N' - LBL Mapping Err, 'D' - DS Mismatch,
'U' - Unknown Interface, 'R' - Transit (LBL Switched),
'B' - IP Forwarded, 'F' No FEC Found, 'f' - FEC Mismatch,
'P' - Protocol Error, 'X' - Unknown code,
'Z' - Reverse FEC Validation Failed
Type 'Ctrl+C' to abort
! seq_num = 1 10.0.1.12 1.90 ms
! seq_num = 2 10.0.1.12 0.61 ms
! seq_num = 3 10.0.1.12 0.53 ms
! seq_num = 4 10.0.1.12 0.53 ms
! seq_num = 5 10.0.1.12 0.57 ms
Success Rate is 100.00 percent (5/5)
round-trip min/avg/max = 0.53/1.21/1.90
PE1#
PE2
PE2#ping mpls vpls 101 peer 30.0.1.1/32 detail
Sending 5 MPLS Echos to VPLS Id : 101, timeout is 5 seconds
Codes:
'!' - Success, 'Q' - request not sent, '.' - timeout,
'x' - Retcode 0, 'M' - Malformed Request, 'm' - Errored TLV,
'N' - LBL Mapping Err, 'D' - DS Mismatch,
'U' - Unknown Interface, 'R' - Transit (LBL Switched),
'B' - IP Forwarded, 'F' No FEC Found, 'f' - FEC Mismatch,
'P' - Protocol Error, 'X' - Unknown code,
'Z' - Reverse FEC Validation Failed
Type 'Ctrl+C' to abort
! seq_num = 1 10.0.1.20 1.37 ms
! seq_num = 2 10.0.1.20 0.76 ms
! seq_num = 3 10.0.1.20 0.73 ms
! seq_num = 4 10.0.1.20 0.69 ms
! seq_num = 5 10.0.1.20 0.69 ms
Success Rate is 100.00 percent (5/5)
round-trip min/avg/max = 0.69/1.03/1.37
PE2#