Cisco IOS XR Configuration for L2VPN with BGP Auto Discovery and LDP Signaling

Configuring L2VPN with BGP Auto Discovery and LDP Signaling using Cisco IOS XR

Question

Which Cisco IOS XR configuration creates an L2VPN using BGP as auto discovery and LDP as signaling?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

References:

Sure, I'd be happy to help you with this question!

First, let's understand what L2 VPN means. L2 VPN or Layer 2 Virtual Private Network is a technology that allows service providers to extend Layer 2 connectivity between different sites over an IP/MPLS network.

Now, let's look at the configuration options given in the question and try to understand them:

Option A:

python
l2vpn bridge group bg1 bridge-domain bg1_bd1 interface GigabitEthernet0/6/0/1.1 ! Virtual Forwarding Instance configuration for the L2 VPN vfi bg1_db1_vfivpn-id 101 autodiscovery bgp rd 101:1 route-target both 101:1 signaling-protocol ldp ve-id 1:101

In this option, the L2 VPN is created using BGP as auto-discovery protocol and LDP as the signaling protocol. The virtual forwarding instance (VFI) is named bg1_db1_vfivpn-id 101, which represents the L2 VPN. The autodiscovery bgp command enables the auto-discovery of the remote PE routers using BGP, while the signaling-protocol ldp command specifies LDP as the signaling protocol. The route distinguisher (RD) is set to 101:1, and the route target (RT) is set to 101:1. Finally, the virtual Ethernet identifier (VE ID) is set to 1:101.

Option B:

python
l2vpn bridge group bg1 bridge-domain bg1_bd1 interface GigabitEthernet0/6/0/1.123 ! Virtual Forwarding Instance configuration for the L2 VPN vfi bg1_db1_vfivpn-id 123 autodiscovery bgp rd 123:3 route-target both 123:3 signaling-protocol bgp ve-id 3

In this option, the L2 VPN is also created using BGP as the auto-discovery protocol and BGP as the signaling protocol. The virtual forwarding instance (VFI) is named bg1_db1_vfivpn-id 123, which represents the L2 VPN. The autodiscovery bgp command enables the auto-discovery of the remote PE routers using BGP, while the signaling-protocol bgp command specifies BGP as the signaling protocol. The route distinguisher (RD) is set to 123:3, and the route target (RT) is set to 123:3. Finally, the virtual Ethernet identifier (VE ID) is set to 3.

Option C:

vbnet
l2vpn bridge group bg1 bridge-domain bg1_bd1 interface GigabitEthernet0/6/0/1.1 ! Virtual Forwarding Instance configuration for the L2 VPN vfi bg1_db1_vfivpn-id 111 autodiscovery bgp rd auto route-target both 111:1 signaling-protocol bgp ve-id 3

In this option, the L2 VPN is created using BGP as the auto-discovery protocol and BGP as the signaling protocol. The virtual forwarding instance (VFI) is named bg1_db1_vfivpn-id 111, which represents the L2 VPN. The autodiscovery bgp command enables the auto-discovery of the remote PE routers using BGP, while the 'signaling