Create BVIs "VLANS" on IOS xR

This is how you would create a VLAN trunk over a port-channel in Cisco IOS XR.

bcrier
September 25, 2014
2727

WAN

192.168.0.1

INTERNET

Gigabitethernet0/1/0/1

30

1

EthernetChannel to

Gigabitethernet0/2/0/1

interface bundle-ether%{ENUM}%

interface bundle-ether%{ENUM}%.%{BVI}% l2transport
 encapsulation dot1q %{BVI}%
 rewrite ingress tag pop 1 symmetric

interface gigabitethernet%{INT}%
 description %{BDESC}%
 bundle id %{ENUM}% mode on
 ethernet idld
  mode aggressive

interface gigabitethernet%{INT2}%
 description %{BDESC}%
 bundle id %{ENUM}% mode on
 ethernet idld
  mode aggressive

interface BVI%{BVI}%
 description %{DESC}%
 ipv4 address %{IPADDR}%/%{CIDR}%
 load-interval 30

l2vpn
 bridge group %{TRUNK}%
  bridge-domain VLAN
   interface bundle-ether%{ENUM}%.%{BVI}%
   !
   routed interface %{BVI}%
   !
  !