cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5407
Views
15
Helpful
2
Replies

Config help - BDI interface on an ASR

Bilal Nawaz
VIP Alumni
VIP Alumni

I saw the reply to this post:  https://supportforums.cisco.com/message/3761251#3761251 and I just  wanted to know what the configuration would look like on the ASR.

My main purpose for using a bdi interface will be routing  [ospf] (almost like router on a stick) There is a switch that is trunked  to the ASR interface and one of the vlans is to be a routed vlan. The  switch has an SVI on this vlan 595 but when it comes to the ASR, i need  an interface for that vlan too to form an OSPF neighborship

The interface on the ASR that connects to the trunk is below. The switch is trunking this vlan and is 802.1q tagged with 595...

interface GigabitEthernet0/0/2

no ip address

negotiation auto

cdp enable

service instance 4 ethernet

  encapsulation dot1q 4

  bridge-domain 4

!

service instance 5 ethernet

  encapsulation dot1q 5

  bridge-domain 5

!

service instance 595 ethernet

  encapsulation dot1q 595

  bridge-domain 595

interface bdi 595 .....

??????

??????

??????

Any help would be much appreciated

Please rate useful posts & remember to mark any solved questions as answered. Thank you.
1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Bilal,

configuring an IP address under the BDI 595, and enabling OSPF for the same interface should be enough.

You need to take care of MTU in order to build a successful OSPF adjacency

Hope to help

Giuseppe

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Bilal,

configuring an IP address under the BDI 595, and enabling OSPF for the same interface should be enough.

You need to take care of MTU in order to build a successful OSPF adjacency

Hope to help

Giuseppe

Thanks Giuseppe,

I had to configure the ASR like this for it to work.

interface GigabitEthernet0/0/2

no ip address

negotiation auto

cdp enable

service instance 595 ethernet

  encapsulation dot1q 595

  bridge-domain 595

!

interface BDI595

ip address 192.168.231.5 255.255.255.192

ip ospf 1 area 1

encapsulation dot1Q 595

!

router ospf 1

router-id 192.168.231.5

network 192.168.231.5 0.0.0.0 area 1

Do you know why there is an option for interface vlan # when the command itself doesn't work?

Router(config)#inter

Router(config)#interface vl

Router(config)#interface vlan ?

  <1-4095>  Vlan interface number

Router(config)#interface vlan 595

                          ^

% Invalid input detected at '^' marker.

Router(config)#

Please rate useful posts & remember to mark any solved questions as answered. Thank you.