Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridge Ageing Time Configuration #419

Open
bidel65 opened this issue Nov 9, 2023 · 0 comments
Open

Bridge Ageing Time Configuration #419

bidel65 opened this issue Nov 9, 2023 · 0 comments
Labels

Comments

@bidel65
Copy link

bidel65 commented Nov 9, 2023

Expected Behavior

change and affect default value (300) of aging time.

Actual Behavior

Changing the aging time has no effect on TBD system. It stuck at its default value 300 seconds.

Steps to Reproduce the Problem

Platform:
TBD, Linux 5.15.90-yocto-standard-onl armv7l GNU/Linux
Procedure:
$ ip -p -d -j link show vbr0 | grep "ageing_time" "ageing_time": 30000,
$ sudo ip link set dev vbr0 type bridge ageing_time 2000
$ ip -p -d -j link show vbr0 | grep "ageing_time"
"ageing_time": 2000,
$ sudo bridge fdb del 00:0b:ab:63:ef:89 dev eth1 master vlan 1
$ sudo bridge -s fdb show br vbr0 dev eth1 state dynamic
$
$ ping 192.168.1.2 -c 2
84 bytes from 192.168.1.2 icmp_seq=1 ttl=64 time=0.524 ms
84 bytes from 192.168.1.2 icmp_seq=2 ttl=64 time=0.648 ms
$ while sleep 1; do sudo bridge -s fdb show br vbr0 dev eth1 state dynamic; done
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 0/0 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 1/0 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 2/0 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 3/1 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 4/2 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 5/3 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 6/4 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 7/5 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 8/6 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 9/7 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 10/8 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 11/9 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 12/10 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 14/11 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 15/12 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 16/14 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 17/15 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 18/16 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 19/17 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 20/18 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 21/19 extern_learn master vbr0
...
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 69/67 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 70/68 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 71/69 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 72/70 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 73/71 extern_learn master vbr0
...
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 297/295 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 298/296 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 299/297 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 300/298 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 301/299 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 302/300 extern_learn master vbr0
00:0b:ab:63:ef:89 dev eth1 vlan 1 used 303/301 extern_learn master vbr0
Expected Results:
After 20 seconds The entry is cleaned up
Actual Results:
After 300 seconds The entry is cleaned up
And in result of command ‘brctl showstp swbridge’ , show new value of agin time that we set, but not
functionality.

Specifications

  • Version: 4.8.3
  • Platform: accton as4610
  • Subsystem: ofdpa
@KanjiMonster KanjiMonster linked a pull request Jun 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants