cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1142
Views
10
Helpful
2
Replies

ASR 9001 BVI and trunking

nenadl
Level 1
Level 1

Hello everyone,

For example:  IOS

#############################################

7609:

inter vlan 7

ip add 7.7.7.7/24

!!!

inter vlan 8

ip add 8.8.8.8/24

!!!

inter vlan 9

ip add 9.9.9.9/24

.

inter vlan x

ip add x.x.x.x/24

!!!

inter gi0/1

des # TRUNK sw-3750-01

swit mode trunk

swi trunk all vlan 7,8,9,..x

!!!

inter gi0/2

des # TRUNK sw-3750-02

swit mode trunk

swi trunk all vlan 7,8,9,..x

#######################################################

ASR 9001

inter gi0/0/1/0

des # TRUNK sw-3750-01

!

inter gi0/0/1/0.7 l2protocol

encap dot1q 7

rew ingre tag pop 1 symetric

!

inter gi0/0/1/0.8 l2protocol

encap dot1q 8

rew ingre tag pop 1 symetric

!

inter gi0/0/1/0.9 l2protocol

encap dot1q 9

rew ingre tag pop 1 symetric

 

!!!!!!

inter gi0/0/1/1

des # TRUNK sw-3750-02

!

inter gi0/0/1/1.7 l2protocol

encap dot1q 7

rew ingre tag pop 1 symetric

!

inter gi0/0/1/1.8 l2protocol

encap dot1q 8

rew ingre tag pop 1 symetric

!

inter gi0/0/1/1.9 l2protocol

encap dot1q 9

rew ingre tag pop 1 symetric

!!!

inter bvi 7

ipv4 add 7.7.7.7/24

!

inter bvi 8

ipv4 add 8.8.8.8/24

!

inter bvi 9

ipv4 add 9.9.9.9/24

!

l2vpn

 bridge group VLAN7

  bridge-domain VLAN7

      interface gi0/0/1/0.7

      interface gi0/0/1/1.7

      routed interface bvi 7

!

bridge group VLAN8

  bridge-domain VLAN8

      interface gi0/0/1/0.8

      interface gi0/0/1/1.8

      routed interface bvi 8

!

bridge group VLAN9

  bridge-domain VLAN9

      interface gi0/0/1/0.9

      interface gi0/0/1/1.9

      routed interface bvi 9

!

etc...

###############################################

My question : Is there any way to do this on XR in a shorter way, There is a lot of configuration if we have more vlans.

 

Thanks

Nenad

 

 

 

 

 

2 Replies 2

Alexei Kiritchenko
Cisco Employee
Cisco Employee

Hello Nenad,

if BVI is needed then yes, you need to configure ever VLAN individually and pop tags there as BVI understands only untagged traffic. 

If BVI is not needed then you make trunk subinterfaces matching set of VLANs. 

Example matching range 100 to 300:

!
interface TenGigE1/0/0/4.100 l2transport
 encapsulation dot1q 100-300
!
interface TenGigE0/0/0/4.100 l2transport
 encapsulation dot1q 100-300
!
l2vpn
 bridge group VLAN
  bridge-domain 99
   interface TenGigE1/0/0/4.100
  !
   interface TenGigE0/0/0/4.100
!

Regards,

/A

Hello Nenad,

 

You may also like to go through the below mentioned document.

L2 Switching Configuration to XR L2VPN Configuration Conversion Process

http://www.cisco.com/c/en/us/support/docs/routers/asr-9000-series-aggregation-services-routers/116500-problemsolution-product-00.html

 

Regards,