01-13-2013 05:47 AM - edited 03-04-2019 06:41 PM
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
Solved! Go to Solution.
01-13-2013 11:28 AM
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
01-13-2013 11:28 AM
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
01-14-2013 03:33 AM
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)#
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide