cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
665
Views
20
Helpful
3
Replies

similar command ios to ios_xe in ASR 903

Hi community.

please i need the command similar in IOS to IOS XE for  ASR903

in IOS

1)

vlan 1

name test

vlan 2

name  test2

!

2)

interface FastEthernet0/3/1

switchport mode trunk

switchport trunk allowed vlan add vlan1, vlan2, vlan3

3)

interface FastEthernet0/3/2

switchport access vlan 1

 

4)

what is the command """for IOS-XE in ASR903"""?

 

 

regards.

atte

 

Héctor

1 Accepted Solution

Accepted Solutions

Hello Hector

Yes, EVC's is how bridge-domain is used. but remember, this is not same as having trunk port. though you can create multiple EVC's for different vlans and bridge-domains, but each EVC will support for one single bridge-domain.

Please let me know if you have any questions.

Regards,

Vinit

PS: Please mark the question as answered or rate the posts if you found the response useful.

Thanks
--Vinit

View solution in original post

3 Replies 3

Vinit Jain
Cisco Employee
Cisco Employee

Hello Hector

Vlan configuration is not supported on ASR903. In order to use the vlans, you will have to create bridge-domains on ASR903. Below is a CCO documentation for the same.

http://www.cisco.com/c/en/us/td/docs/routers/asr1000/configuration/guide/chassis/asrswcfg/bdi.html

 

Another thing that I want to point out is, IOS and IOS XE are not different in configuration. IOS XE is nothing but IOS running on top of Linux Kernel.

The configuration that you are trying to apply above is applicable for a switch but ASR903 is a switch. So this configuration will not be applicable.

Hope this helps.

Regards

Vinit

Thanks
--Vinit

Hi community.

the answer is the following:

 

1)

in IOS
----------

vlan 10
vlan 20
!
!
interface vlan 10
ip add 10.10.10.1 255.255.255.0
!
!
interface GigabitEthernet7
 switchport trunk allowed vlan 10,20
 switchport mode trunk


2)

IOS XE
----------------

interface GigabitEthernet7
 service instance 10 ethernet -----> the instance id "number optional"
  encapsulation dot1q 10
  bridge-domain 10
 !
 service instance 20 ethernet -----> the instance id "number optional"
  encapsulation dot1q 20
  rewrite ingress tag pop 1 symmetric
 !

interface BDI 10
ip address 10.10.10.1 255.255.255.0
 encapsulation dot1Q 10

 

 

 

Hello Hector

Yes, EVC's is how bridge-domain is used. but remember, this is not same as having trunk port. though you can create multiple EVC's for different vlans and bridge-domains, but each EVC will support for one single bridge-domain.

Please let me know if you have any questions.

Regards,

Vinit

PS: Please mark the question as answered or rate the posts if you found the response useful.

Thanks
--Vinit