cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
546
Views
4
Helpful
15
Replies

bridge-domain interface in Cisco IOS-XR

siblirayhan
Level 1
Level 1

Hello Everyone,
Hope all of you are doing fine. Recently I'm trying to make router routed interface into bridge interface so that I can send packet from PC1 to PC2 via same broadcasting bridge domain. I used iox-xr router for the LAB. My configuration is also given below. But still can't send packet from PC1 to PC2. 
Both switch router connected port configured as trunk port. And PC connected ports are configure as access port with vlan 10. Please check my configuration and let me know is there my mistake ?

>>>>>>>>>>>>>>>>>>>>>Router Configuration<<<<<<<<<<<<<<<<<<<<<<<<<
interface GigabitEthernet0/0/0/0.10 l2transport
encapsulation dot1q 10
!
interface GigabitEthernet0/0/0/1.10 l2transport
encapsulation dot1q 10
!
interface BVI1
ipv4 address 192.168.0.1 255.255.255.240
!
l2vpn
bridge group CustomerA
bridge-domain bridge-domain1
mtu 8000
interface GigabitEthernet0/0/0/0.10
!
interface GigabitEthernet0/0/0/1.10
!
routed interface BVI1
!
!
!
end

siblirayhan_0-1728718179401.png

 

15 Replies 15

check below

MHM

I already added. But still not getting ping PC1 to PC2 or BVI1 interface IP.

siblirayhan_0-1728734687487.png

Found 3 AC up. I'm confused about below message. Am I getting any mac from my sub-interfaces ?

siblirayhan_0-1728735748422.png

 

can I see the config of trunk in SW 

MHM

Here added both switches configuration. 

siblirayhan_0-1728739692355.png

Use trunk instead of using access port in SW

Still now not solved. Now Router and PC both connected port configured as Trunk port. Below given configuration. 

interface GigabitEthernet0/0
description Connected to Router
switchport trunk encapsulation dot1q
switchport mode trunk
media-type rj45
negotiation auto
!
interface GigabitEthernet0/1
description Connected to PC2
switchport trunk encapsulation dot1q
switchport mode trunk
media-type rj45
negotiation auto

check below 

MHM

As your instruction configuration done. In switch I found only PC mac, not getting mac from router side. 
Similary from router I found only my own router BVI interface mac, not getting any mac from switch/PC.

RP/0/0/CPU0:R1#show l2vpn forwarding bridge-domain mac-address location 0/0/CP$
Sat Oct 12 14:11:02.055 UTC
Mac Address Type Learned from/Filtered on LC learned Age Mapped to
-------------- ------- --------------------------- ---------- ---------------------- --------------
02c2.175a.a401 routed BD id: 0 N/A N/A N/A
RP/0/0/CPU0:R1#

Interface configuration on router.
interface GigabitEthernet0/0/0/0.10 l2transport
encapsulation dot1q 10
!
interface GigabitEthernet0/0/0/1.10 l2transport
encapsulation dot1q 10

siblirayhan_0-1728742542292.png

 

ios xr bridge.png

share below if above config not work 

show l2vpn bridge-domain group MHM bd-name MHMdomain

 

show l2vpn forwarding bridge-domain

Here is given my current configuation and your asking report.

interface GigabitEthernet0/0/0/0.10 l2transport
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
!
interface GigabitEthernet0/0/0/1.10 l2transport
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
!
interface BVI1
ipv4 address 192.168.0.1 255.255.255.240
!
l2vpn
bridge group CustomerA
bridge-domain bridge-domain1
flooding disable
mtu 8000
interface GigabitEthernet0/0/0/2
!
interface GigabitEthernet0/0/0/0.10
!
interface GigabitEthernet0/0/0/1.10
!
routed interface BVI1
!

siblirayhan_0-1728789079754.png

 






Sorry why you use flood disable??

MHM

Sorry for the late reply. Now I removed flooding disable option. But issue still remain. My existing os was XRv.  Now I decided to try this full configuration with XRv 9000 os. And will update you soon. 

Albertt
Level 1
Level 1