L2VPN Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

L2VPN Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Configure a VLAN bundle

Want to summarize with AI?

Log in

Explains how to configure a VLAN bundle, detailing necessary configuration steps and guidelines to ensure successful deployment within Layer 2 VPN environments.


Set up a VLAN bundle and ensure that the VLAN is operational.

Creating a VLAN bundle enables efficient use of multiple links and organizes traffic by VLAN. The procedure is similar to creating VLAN sub-interfaces on a physical Ethernet interface.

Before you begin

To configure VLAN bundles, complete these configurations:

  • Create a bundle instance.

  • Create a VLAN interface (bundle sub-interface).

  • Map the physical interface(s) to the bundle.

  • Ensure that the same configuration is performed on both endpoints of the VLAN bundle.

Procedure

1.

Create the VLAN bundle.

Example:

Router# configure
Router(config)# interface Bundle-Ether 2
Router(config-if)# ipv4 address 50.0.0.1/24
Router(config-if)# bundle maximum-active links 32 hot-standby
Router(config-if)# bundle minimum-active bandwidth 30000000
Router(config-if)# bundle minimum-active links 1
Router(config-if)# commit
Router(config-if)# exit
2.

Create the VLAN sub-interface and add it to the bundle.

Example:

Router(config)# interface Bundle-Ether 2.201
Router(config-subif)# ipv4 address 12.22.1.1 255.255.255.0
Router(config-subif)# encapsulation dot1q 201
Router(config-subif)# commit
Router(config-if)# exit
3.

Map the physical interface to the bundle.

Example:

Router(config)# interface HundredGigE 0/0/0/14
Router(config-if)# bundle id 2 mode on
Router(config-if)# no shutdown
Router(config-if)# commit
Router(config-if)# exit

Repeat the same mapping for member interfaces 0/0/0/15, 0/0/0/16, and 0/0/0/17 in this example.

4.

Check the running configuration.

Example:

Router# show running-configuration
configure
interface Bundle-Ether2
 ipv4 address 50.0.0.1 255.255.255.0
 mac-address 1212.1212.1212
 bundle maximum-active links 32 hot-standby
 bundle minimum-active links 1
 bundle minimum-active bandwidth 30000000
!
interface Bundle-Ether2.201
 ipv4 address 12.22.1.1 255.255.255.0
 encapsulation dot1q 201
!
interface HundredGigE0/0/0/14
 bundle id 2 mode on
!
interface HundredGigE0/0/0/15
 bundle id 2 mode on
!
interface HundredGigE0/0/0/16
 bundle id 2 mode on
!
interface HundredGigE0/0/0/17
 bundle id 2 mode on
!
5.

Use the show interfaces bundle-ether 2.201 command to verify that the VLAN status is UP.

Example:

Router# show interfaces bundle-ether 2.201

Bundle-Ether2.201 is up, line protocol is up
  Interface state transitions: 1
  Hardware is VLAN sub-interface(s), address is 28c7.ce01.dc7b
  Internet address is 12.22.1.1/24
  MTU 1518 bytes, BW 20000000 Kbit (Max: 20000000 Kbit)
     reliability 255/255, txload 0/255, rxload 0/255
  Encapsulation 802.1Q Virtual LAN, VLAN Id 201,  loopback not set,
  Last link flapped 07:45:25
  ARP type ARPA, ARP timeout 04:00:00
  Last input 00:00:00, output never
  Last clearing of "show interface" counters never
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     2938 packets input, 311262 bytes, 0 total input drops
  - - -
  - - -

The VLAN bundle is configured, and you can verify that the VLAN status is up.