- L2VPN Protocol-Based CLIs
- Any Transport over MPLS
- L2VPN Interworking
- L2VPN Pseudowire Preferential Forwarding
- L2VPN Multisegment Pseudowires
- MPLS Quality of Service
- QoS Policy Support on L2VPN ATM PVPs
- MPLS Pseudowire Status Signaling
- L2VPN VPLS Inter-AS Option B
- IEEE 802.1Q Tunneling (QinQ) for AToM
- Configuring the Managed IPv6 Layer 2 Tunnel Protocol Network Server
- L2VPN Pseudowire Redundancy
- Pseudowire Group Switchover
- L2VPN Pseudowire Switching
- Xconnect as a Client of BFD
- H-VPLS N-PE Redundancy for QinQ Access
- H-VPLS N-PE Redundancy for MPLS Access
- VPLS MAC Address Withdrawal
- Configuring Virtual Private LAN Services
- Routed Pseudo-Wire and Routed VPLS
- VPLS Autodiscovery BGP Based
- N:1 PVC Mapping to PWE with Nonunique VPIs
- QoS Policies for VFI Pseudowires
- VPLS BGP Signaling L2VPN Inter-AS Option A
- VPLS BGP Signaling L2VPN Inter-AS Option B
- Frame Relay over L2TPv3
- Loop-Free Alternate Fast Reroute with L2VPN
- Finding Feature Information
- Prerequisites for VPLS BGP Signaling L2VPN Inter-AS Option A
- Information About VPLS BGP Signaling L2VPN Inter-AS Option A
- How to Configure VPLS BGP Signaling L2VPN Inter-AS Option A
- VPLS BGP Signaling L2VPN Inter-AS Option A: Example
- Additional References for VPLS Autodiscovery BGP Based
- Feature Information for VPLS BGP Signaling L2VPN Inter-AS Option A
VPLS BGP Signaling L2VPN Inter-AS Option A
The Virtual Private LAN Switching (VPLS) Border Gateway Protocol (BGP) Signaling Layer 2 Virtual Private Network (L2VPN) feature simplifies the auto-discovery and signaling of all known PE devices in a VPLS instance by using BGP.
- Finding Feature Information
- Prerequisites for VPLS BGP Signaling L2VPN Inter-AS Option A
- Information About VPLS BGP Signaling L2VPN Inter-AS Option A
- How to Configure VPLS BGP Signaling L2VPN Inter-AS Option A
- VPLS BGP Signaling L2VPN Inter-AS Option A: Example
- Additional References for VPLS Autodiscovery BGP Based
- Feature Information for VPLS BGP Signaling L2VPN Inter-AS Option A
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for VPLS BGP Signaling L2VPN Inter-AS Option A
-
The Control word must turned off for VPLS BGP signaling by using the no control-word command under a pseudowire class. For example: Router> enable Router# configure terminal Router(config)# pseudowire-class my_pw_class Router(config-pw-class)# no control-word
- The Route Distinguisher (RD) must match for all the virtual forwarding instances (VFIs) in a VPLS domain.
Information About VPLS BGP Signaling L2VPN Inter-AS Option A
BGP Auto-discovery and Signaling for VPLS
The Virtual Private LAN Switching (VPLS) control plane is used for auto-discovery and signaling. Auto-discovery involves locating all provider edge (PE) devices that participate in a particular VPLS instance. Signaling is accomplished by configuring pseudowires for a VPLS instance. Prior to the introduction of the VPLS BGP Signaling L2VPN Inter-AS Option B feature, Label Distribution Protocol (LDP) was used for signaling and Border Gateway Protocol (BGP) was used for auto-discovery, as specified in RFC 6074. With the introduction of the VPLS BGP Signaling L2VPN Inter-AS Option B feature, the VPLS BGP Signaling L2VPN feature supports RFC 4761 by simplifying the auto-discovery and signaling of all known PE devices in a VPLS instance by using BGP for both functions. Auto-discovery is defined per VPLS instance.
Internal BGP (IBGP) peers exchange update messages of the L2VPN Address Family Identifier (AFI) and the Subsequent Address Family Identifier (SAFI) numbers with L2VPN information to perform both auto-discovery and signaling, which includes the Network Layer Reachability Information (NLRI).
To detect which NLRI encoding standard is supported, the length encoding needs to be determined.
BGP L2VPN Signaling with NLRI
Network Layer Reachability Information (NLRI) enables Border Gateway Protocol (BGP) to carry supernetting information, as well as perform aggregation. Each NLRI consists of block labels that follow the structure LB, LB+1, .... , LB+VBS-1. The NLRI is exchanged between BGP devices for BGP auto-discovery with BGP signaling. The following fields are configured or auto-generated for each Virtual Private LAN Switching (VPLS) instance:
- Length (2 Octets)
- Route distinguisher (RD) is usually an auto-generated 8-byte VPN ID that can also be configured. This value must be unique for a VPLS bridge-domain (or instance).
- VPLS Endpoint ID (VEID) (2 Octets). Each PE device is configured with a VEID value.
- VPLS Endpoint Block Offset (VBO) (2 Octets).
- VPLS Endpoint Block Size (VBS) (2 Octets).
- Label Base (LB) (3 Octets).
- Extended Community Type (2 Octets) - 0x800A attributes. The Route Target (RT) specified for a VPLS instance, next-hop and other Layer 2 information is carried in this encoding. An RT-based import and export mechanism similar to L3VPN is performed by BGP to perform filtering on the L2VPN NLRIs of a particular VPLS instance.
- Encapsulation Type (1 Octet) - VPLS = 19
- Control Flags (1 Octet)
- Layer 2 Maximum Transmission Unit (MTU) (2 Octets)
- Reserved (2 Octets)
How to Configure VPLS BGP Signaling L2VPN Inter-AS Option A
Enabling BGP Auto-discovery and BGP Signaling
Perform this task to enable Virtual Private LAN Service (VPLS) PE devices to discover other PE devices by BGP auto-discovery and BGP signaling functions announced through IBGP.
1.
enable
2.
configure terminal
3.
l2vpn vfi
context
vfi-context-name
4.
vpn id
vpn-id
5.
autodiscovery bgp signaling
bgp
6.
ve id
ve-ID-number
7.
ve range
ve-range-number
8.
end
DETAILED STEPS
Configuring BGP Signaling for VPLS Autodiscovery
1.
enable
2.
configure
terminal
3.
router bgp
autonomous-system-number
4.
bgp
graceful-restart
5.
neighbor {ip-address |
peer-group-name}
remote-as
autonomous-system-number
6.
address-family l2vpn
vpls
7.
neighbor {ip-address |
peer-group-name}
activate
8.
neighbor {ip-address |
peer-group-name}
send-community extended
9.
neighbor {ip-address |
peer-group-name}
suppress-signaling-protocol ldp
10.
exit-address-family
11. Repeat steps 1 to 10 to configure and activate other BGP neighbors in an L2VPN address family.
12.
end
13.
show l2vpn
vfi
14.
show ip
bgp l2vpn vpls {all [summary] |
rd
route-distinguisher}
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable
Example: Device> enable |
Enables privileged EXEC mode. |
Step 2 |
configure
terminal
Example: Device# configure terminal |
Enters global configuration mode. |
Step 3 |
router bgp
autonomous-system-number
Example: Device(config)# router bgp 100 |
Enters router configuration mode for the specified routing process. |
Step 4 |
bgp
graceful-restart
Example: Device(config-router)# bgp graceful-restart |
Enables the Border Gateway Protocol (BGP) graceful restart capability globally for all BGP neighbors. |
Step 5 |
neighbor {ip-address |
peer-group-name}
remote-as
autonomous-system-number
Example: Device(config-router)# neighbor 198.51.100.1 remote-as 65000 |
Adds the IP address or peer group name of the neighbor in the specified autonomous system to the IPv4 multiprotocol BGP neighbor table of the local router.
|
Step 6 |
address-family l2vpn
vpls
Example: Device(config-router)# address-family l2vpn vpls |
Specifies the L2VPN address family and enters address family configuration mode. |
Step 7 |
neighbor {ip-address |
peer-group-name}
activate
Example: Device(config-router-af)# neighbor 198.51.100.1 activate |
Enables the exchange of information with a BGP neighbor. |
Step 8 |
neighbor {ip-address |
peer-group-name}
send-community extended
Example: Device(config-router-af)# neighbor 198.51.100.1 send-community extended |
Specifies that a communities attribute should be sent to a BGP neighbor. |
Step 9 |
neighbor {ip-address |
peer-group-name}
suppress-signaling-protocol ldp
Example: Device(config-router-af)# neighbor 198.51.100.1 suppress-signaling protocol ldp |
Suppresses LDP signaling for a BGP neighbor so that BGP signaling for VPLS auto-discovery is used instead. |
Step 10 |
exit-address-family
Example: Device(config-router-af)# exit-address-family |
Exits address family configuration mode and returns to router configuration mode. |
Step 11 | Repeat steps 1 to 10 to configure and activate other BGP neighbors in an L2VPN address family. | |
Step 12 |
end
Example: Device(config-router)# end |
Exits router configuration mode and returns to privileged EXEC mode. |
Step 13 |
show l2vpn
vfi
Example: Device# show l2vpn vfi PE1-standby#sh l2vpn vfi Load for five secs: 0%/0%; one minute: 0%; five minutes: 0% Time source is hardware calendar, *20:50:52.526 GMT Wed Aug 29 2012 Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No VFI name: VFI1, state: up, type: multipoint, signaling: BGP VPN ID: 1, VE-ID: 10, VE-SIZE: 10 RD: 1:1, RT: 1:1 Bridge-Domain 100 attachment circuits: Pseudo-port interface: pseudowire100001 Interface Peer Address VE-ID Local Label Remote Label S pseudowire100003 198.51.100.2 11 1003 2002 Y pseudowire100005 198.51.100.3 12 1004 2002 Y VFI name: VFI2, state: up, type: multipoint, signaling: BGP VPN ID: 2, VE-ID: 20, VE-SIZE: 12 RD: 1:2, RT: 1:2, import 3:3, export 4:4 Bridge-Domain 200 attachment circuits: Pseudo-port interface: pseudowire100002 Interface Peer Address VE-ID Local Label Remote Label S pseudowire100004 198.51.100.2 21 1021 2020 Y pseudowire100006 198.51.100.3 22 1022 2020 Y |
Displays information about the configured VFI instances. |
Step 14 |
show ip
bgp l2vpn vpls {all [summary] |
rd
route-distinguisher}
Example: Device# show ip bgp l2vpn vpls all summary BGP router identifier 198.51.100.1, local AS number 65000 BGP table version is 14743, main routing table version 14743 6552 network entries using 1677312 bytes of memory 6552 path entries using 838656 bytes of memory 3276/3276 BGP path/bestpath attribute entries using 760032 bytes of memory 1638 BGP extended community entries using 65520 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 3341520 total bytes of memory BGP activity 9828/3276 prefixes, 9828/3276 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 198.51.101.1 4 65000 90518 90507 14743 0 0 8w0d 1638 198.51.102.2 4 65000 4901 4895 14743 0 0 2d01h 1638 198.51.103.3 4 65000 4903 4895 14743 0 0 2d01h 1638 |
Displays information about the L2VPN VPLS address family. |
VPLS BGP Signaling L2VPN Inter-AS Option A: Example
Note | From a BGP signaling perspective, there is no specific change within the AS. From the VPLS perspective, there is no BGP peering between ASBR1 and ASBR2. |
The following figure shows a network diagram for the BGP signaling Inter-AS option A BGP configuration:
The following example shows the PE 1 BGP configuration for Inter-AS Option A:
router bgp 100 neighbor 10.0.0.2 remote-as 100 address-family l2vpn vpls neighbor 10.0.0.2 activate neighbor 10.0.0.2 send-community extended neighbor 10.0.0.2 suppress-signaling-protocol ldp exit-address-family
The following example shows the ASBR 1 BGP configuration for Inter-AS Option A:
router bgp 100 neighbor 10.0.0.1 remote-as 100 address-family l2vpn vpls neighbor 10.0.0.1 activate neighbor 10.0.0.1 send-community extended neighbor 10.0.0.1 suppress-signaling-protocol ldp exit-address-family
The following example shows the ASBR 2 BGP configuration for Inter-AS Option A:
router bgp 200 neighbor 10.0.1.1 remote-as 100 address-family l2vpn vpls neighbor 10.0.1.1 activate neighbor 10.0.1.1 send-community extended neighbor 10.0.1.1 suppress-signaling-protocol ldp exit-address-family
The following example shows the PE 2 BGP configuration for Inter-AS Option A:
router bgp 200 neighbor 10.0.1.2 remote-as 100 address-family l2vpn vpls neighbor 10.0.1.2 activate neighbor 10.0.1.2 send-community extended neighbor 10.0.1.2 suppress-signaling-protocol ldp exit-address-family
Additional References for VPLS Autodiscovery BGP Based
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
MPLS commands |
Standards and RFCs
Standard/RFC |
Title |
---|---|
draft-ietf-l2vpn-signaling-08.txt |
Provisioning, Autodiscovery, and Signaling in L2VPNs |
draft-ietf-l2vpn-vpls-bgp-08.8 |
Virtual Private LAN Service (VPLS) Using BGP for Autodiscovery and Signaling |
draft-ietf-mpls-lsp-ping-03.txt |
Detecting MPLS Data Plane Failures |
draft-ietf-pwe3-vccv-01.txt |
Pseudo-Wire (PW) Virtual Circuit Connection Verification (VCCV) |
RFC 3916 |
Requirements for Pseudo-wire Emulation Edge-to-Edge (PWE3) |
RFC 3981 |
Pseudo Wire Emulation Edge-to-Edge Architecture |
RFC 6074 |
Provisioning, Auto-Discovery, and Signaling in Layer 2 Virtual Private Networks (L2VPNs) |
RFC 4761 |
Virtual Private LAN Service (VPLS) Using BGP for Auto-Discovery and Signaling |
MIBs
MIB |
MIBs Link |
---|---|
|
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. If you have a valid service contract but do not have a user ID or password, you can register on Cisco.com. |
Feature Information for VPLS BGP Signaling L2VPN Inter-AS Option A
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
VPLS BGP Signaling L2VPN |
Cisco IOS XE Release 3.8S |
This feature simplifies the auto-discovery and signaling of all known provider edge (PE) devices in a VPLS instance by using BGP for both functions. The following commands were introduced or modified: autodiscovery bgp signaling bgp, debug bgp l2vpn vpls updates, neighbor suppress-signaling-protocol ldp, ve id, ve range, show bgp l2vpn vpls. |