Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] Basic Bridge

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] Basic Bridge


Chronological Thread 
  • From: Xavier Jeannin <>
  • To: Maria Del Carmen Misa Moreira <>,
  • Subject: Re: [RARE-users] Basic Bridge
  • Date: Mon, 21 Feb 2022 15:31:05 +0100
  • Dkim-filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr A10E9A00C9

Thank you very much Carmen,

My original plan was not to have a "bvi interface", I do not see the need if I just want to switch packet at level 2.
I wonder if "bvi interface" is mandatory? Anyway I will try now.

But I have the same felling as you if the interface is down, there is also another pb ...

Regards
Xavier

Le 21/02/2022 à 15:23, Maria Del Carmen Misa Moreira a écrit :
Hi Xabier,

Nowadays I'm also working on the same approach as you: Layer 2 Bridges!

Looking to your 'server p4lang p4' you also need to export the 'interface
bvi1' that is related to your 'bridge 1', for example: export-port bvi1 700
10 0 0 0

You said that the interfaces are down so probably this is not your main
problem but I you will need to export it.

Best regards,
Carmen Misa

On 21/02/2022 15:08 Xavier Jeannin <> wrote:

Hello

thank you

I added the bridge (export-bridge) and the 2 interfaces (export-port)
I also put nothing in sdn1 (previously there was IP addresses)
but still the interface sdn1 and sdn1.2200 are down

AMS0001#show running-config interface sdn1
interface sdn1
 no description
 mtu 1500
 macaddr 005c.3543.4915
 no shutdown
 no log-link-change
 exit
!

AMS0001#show running-config interface sdn1.2200
interface sdn1.2200
 description ""LAYER 2 VLAN 2200 to FRA2"
 macaddr 2200.2200.0001
 bridge-group 1
 no shutdown
 no log-link-change
 exit
!

AMS0001#show running-config server p4lang
server p4lang p4
 export-vrf CORE 1
 export-vrf v2 2
 export-vrf INB_MGNT 3
 export-bridge 1
 export-port sdn1 132 10 0 0 0
 export-port sdn1.2200 133 10 0 0 0
 export-port sdn2 140 10 0 0 0
 export-port sdn2.2200 141 10 0 0 0
 export-port sdn3 148 10 0 0 0
 export-port sdn3.2200 202 10 0 0 0
 export-port sdn3.701 203 10 0 0 0
 export-port sdn3.3068 204 10 0 0 0
 export-port sdn3.1916 205 10 0 0 0
 export-port sdn3.702 206 10 0 0 0
 export-port sdn3.101 207 10 0 0 0
 export-port sdn3.1214 208 0 0 0 0
 export-port tunnel1122 210 10 0 0 0
 export-port sdn3.102 211 10 0 0 0
 interconnect ethernet0
 vrf p4
 exit

Regards
Xavier

Le 21/02/2022 à 14:33, Frédéric LOUI a écrit :
You can look at freertr test case here:
http://sources.nop.hu/cfg/p4lang-acl13.tst

You’ll be able to see how bridge and related interface are declared.

Le 21 févr. 2022 à 14:27, Frédéric LOUI <> a écrit :

You also have to add the bridge in "server p4lang p4 »
If you want it to be taken into account by the dataplane.

AMS0001(cfg)#server p4lang p4
AMS0001(cfg-server)#export-bridge ?
<num> - bridge number


And also the interface you bound to the bridge. e.g sdn1.2200

AMS0001(cfg-server)#export-port sdn1.2200 211 10 0 0 0

Le 21 févr. 2022 à 11:25, Xavier Jeannin <> a écrit :

We declare a bridge and put a subinterface sdn1.2200 in the bridge
--
Xavier JEANNIN
Network Dpt. - Innovation manager
GN4-3 Network technology evolution (WP6 T1) task leader
Tél. : +33 1 5394 2042
Mob. : +33 6 3017 0963
www.renater.fr

--
Xavier JEANNIN
Network Dpt. - Innovation manager
GN4-3 Network technology evolution (WP6 T1) task leader
Tél. : +33 1 5394 2042
Mob. : +33 6 3017 0963
www.renater.fr




Archive powered by MHonArc 2.6.19.

Top of Page