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: Maria Del Carmen Misa Moreira <>
  • To: <>, Xavier Jeannin <>
  • Subject: Re: [RARE-users] Basic Bridge
  • Date: Mon, 21 Feb 2022 15:23:21 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 188.184.36.17) smtp.rcpttodomain=renater.fr smtp.mailfrom=cern.ch; dmarc=bestguesspass action=none header.from=cern.ch; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TQLdRLEolGG8wTGB8TXwACvGnSNuQG6v/oI4jBHIMMI=; b=guqNyJTmy/y5sS0dauYnwka17edmkpgjelo9VocwNpG/fIrtHG7YMRnJiOHQYnvCTjw/9xsz5tXBJd7GEdArVeXgoL4w8s5M1JVroU8/BXdJnkdKaGmEvD9usyPo8e2y/e2MzBpOw4uzxJ1QCS74WFj7UY8+XGHHG3PwGz9fEQ33QEMb7y0l6P0OogLSGv2paYDlMoyFZskiTsLh6nE956E5+OSJdurBtgX96B5qX9Qlv9syp5D6q42MoySQKEn2UNTCmLiZvZOD++BKB0Dl48IA5oVrK0PbHw6Fuz1krXk9vDi04zFxczuXVsfXctQvLYV6rrmoNomK3A1NoN0RsQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P6kESZFLAb6+3bOv6byTRNemeBhn3IfK5g7nQ0TpX0m9AZsmYiEU+4H5AG0toH4NMdR8mBTQU6665mBx+4cDc2h4eBXqyKPpZNBmVAdK9nww9/QKsC8M3vhqNY331Wdpq+LnBAAHabgB46g23ubrkt3FIal/TXYJwQmZ/4QYM75mwsvl4XV7LhnOVVoAksfpd+/CUicijHs1+BkmgxefeXXroE5ylNOzGXTkt8IKBwjZYBnU3PLOGhmiErOIya+RU2RsDbAXgSbtA/v8etAn9N0rU+EKdPD1pZxehajQADb1+lF2BNru2JVCPrYffWfI+HDGqdlYsiW/QfJd5z+7NA==
  • Importance: Normal

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



Archive powered by MHonArc 2.6.19.

Top of Page