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: Frédéric LOUI <>
  • To:
  • Subject: Re: [RARE-users] Basic Bridge
  • Date: Mon, 21 Feb 2022 15:51:22 +0100
  • Dkim-filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr 5AC691C061C

Xavier,

You exported sdn1.2200 with id: 133 which is TOFINO port 31/1 on WEDGE …
(At least on WEDGE in my LAB)

Sub-interface or logical interface should not use port_id used by TOFINO.

In my example I put:
export-port sdn1.2200 211 10 0 0 0

You are safe to use ID _above_ 200.

So for sdn3.2200 you can declare it as:
export-port sdn3.2200 212 10 0 0 0

But remove these lines:
export-port sdn2.2200 141 10 0 0 0

141 is TOFINO port 32/1 ...

sdn3.2200 declaration is OK
export-port sdn3.2200 202 10 0 0 0

> Le 21 févr. 2022 à 15:08, Xavier Jeannin <> a
> écrit :
>
> 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
>




Archive powered by MHonArc 2.6.19.

Top of Page