Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] [freertr] Interface not brought UP by bf_switchd

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] [freertr] Interface not brought UP by bf_switchd


Chronological Thread 
  • From: mc36 <>
  • To: , , Frédéric LOUI <>
  • Subject: Re: [RARE-users] [freertr] Interface not brought UP by bf_switchd
  • Date: Mon, 4 Jul 2022 12:35:34 +0200

hi,
the interface up in freertr is a known issue, first reported by carmen, and
fixed already, try upgrading before doing anything else...
the dataplane not populated thing is normal, imho you saw such some other
dataplane says messages like 'trying to set invalid port combination' or so?
br,
cs


On 7/4/22 11:27, wrote:
Hi !

I m staging a RARE/freeRtr in California :)
I ve an observation WRT bringing up interface:


interface sdn30
lldp enable
vrf forwarding CORE
ipv4 address 10.10.30.1 255.255.255.0
no shutdown
no log-link-change
exit


When applying:

server p4lang p4
...
export-port sdn30 280 100 2 1 0
...
exit

I see on the debug server p4 [rx/tx/err] the following message:
...
debug servP4langConn.doReports:servP4lang.java:2288 rx: dataplane-say
Attempting to set administrative state for inactive port [280]
info servP4langConn.doReports:servP4lang.java:2821 dataplane said: Attempting
to set administrative state for inactive port [280]
debug servP4langConn.doReports:servP4lang.java:2288 rx: dataplane-say
Attempting to set mtu for inactive port [280]
info servP4langConn.doReports:servP4lang.java:2821 dataplane said: Attempting
to set mtu for inactive port [280]

When I check bfshell the interface is _NOT_ enabled at the dataplane level:
In the output 30/0 entry is missing.

1/0 |46/0|260|2/ 4|100G |NONE|Ds|Au|YES|ENB|UP | NONE | 520552|
526822|
2/0 |44/0|268|2/12|100G |NONE|Ds|Au|YES|ENB|UP | NONE | 525122|
529331|
3/0 |42/0|276|2/20|100G |NONE|Ds|Au|YES|ENB|UP | NONE | 35023|
39428|
4/0 |40/0|284|2/28|100G |NONE|Ds|Au|YES|ENB|UP | NONE | 286704|
39368|
29/0 |52/0|272|2/16|100G | RS |Au|Au|YES|ENB|UP | NONE | 34|
39|
32/0 |50/0|264|2/ 8|100G |NONE|Ds|Au|YES|ENB|DWN| NONE | 0|
0|

In freeRtr the interface is showed as "UP"

In order to bring it up I had to enable it manually at the dataplane level.

bf-sde.pm> show
-----+----+---+----+-------+----+--+--+---+---+---+--------+----------------+----------------+-
PORT |MAC |D_P|P/PT|SPEED |FEC |AN|KR|RDY|ADM|OPR|LPBK |FRAMES RX
|FRAMES TX |E
-----+----+---+----+-------+----+--+--+---+---+---+--------+----------------+----------------+-
1/0 |46/0|260|2/ 4|100G |NONE|Ds|Au|YES|ENB|UP | NONE | 520562|
526831|
2/0 |44/0|268|2/12|100G |NONE|Ds|Au|YES|ENB|UP | NONE | 525133|
529338|
3/0 |42/0|276|2/20|100G |NONE|Ds|Au|YES|ENB|UP | NONE | 35031|
39434|
4/0 |40/0|284|2/28|100G |NONE|Ds|Au|YES|ENB|UP | NONE | 286790|
39374|
29/0 |52/0|272|2/16|100G | RS |Au|Au|YES|ENB|UP | NONE | 41|
47|
30/0 |54/0|280|2/24|100G | RS |Au|Au|YES|ENB|DWN| NONE | 0|
0|
32/0 |50/0|264|2/ 8|100G |NONE|Ds|Au|YES|ENB|DWN| NONE | 0|
0|


After enabled manually the port appears.
(In this case it is still down but this will be tuned at a later stage)

At that moment the port is showed as "DOWN"

The switch is a Wedge100BF 32QS.

All the best,
Frederic




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#363): https://groups.io/g/freertr/message/363
Mute This Topic: https://groups.io/mt/92161635/6006518
Group Owner:
Unsubscribe: https://groups.io/g/freertr/unsub []
-=-=-=-=-=-=-=-=-=-=-=-





Archive powered by MHonArc 2.6.19.

Top of Page