Page MenuHomeVyOS Platform

Cannot talk to rtnetlink: Message too long Command failed -:1
Resolved (N/A)Public

Description

Hello
I have some problem with adding traffic-policy (limiter and shaper) ruls.
My network
bgp router edge01 bond2.yyy —> Internet exchange local operator
bgp router edge01 bond2.xxx —> global bgp neighbor
bgp router edge01 bond1.xxx —> my network 8x.xxx.xxx.x/21
My network 8x.xxx.xxx.x/21 separated to 96 vlans
I made decision to limit incoming and egress traffic at this interface bond2.xxx
When i added my traffic-policy rules i got a problem

set traffic-policy limiter BAND-IN class 16xx bandwidth ‘100mbit’
set traffic-policy limiter BAND-IN class 16xx match 16xx vif ‘16xx’
set traffic-policy limiter BAND-IN default bandwidth ‘10gbit’
set traffic-policy shaper BAND-OUT class 16xx bandwidth ‘100mbit’
set traffic-policy shaper BAND-OUT class 16xx match 16xx vif ‘16xx’
set traffic-policy shaper BAND-OUT default bandwidth ‘10gbit’

I have problem like this
EDGE01# commit
[ traffic-policy limiter BAND-IN ]
Cannot talk to rtnetlink: Message too long
Command failed -:1
qdisc add dev bond2.xxx handle ffff: ingress
filter add dev bond2.xxx parent ffff: prio 255 protocol all basic action police rate 20000000000 conform-exceed drop burst 15k flowid ffff:a00
filter add dev bond2.xxx parent ffff: prio 20 protocol all basic match meta(vlan mask 0xfff eq XXXX ) action police rate 20000000 conform-

traffic-policy failed
Commit failed
[edit]

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Opacha triaged this task as Normal priority.Dec 1 2020, 10:36 AM
Opacha created this task.
Opacha created this object in space S1 VyOS Public.
dmbaturin changed Is it a breaking change? from Config syntax change (non-migratable) to Unspecified (possibly destroys the router).
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 12:10 PM
erkin removed a subscriber: Active contributors.
Viacheslav added a subscriber: Viacheslav.

Looks like fixed VyOS 1.3-stable-202308240442

vyos@r1# run show conf com | match "traf|bon"
set interfaces bonding bond0 member interface 'eth1'
set interfaces bonding bond0 traffic-policy in 'BAND-IN'
set traffic-policy limiter BAND-IN class 1601 bandwidth '100mbit'
set traffic-policy limiter BAND-IN class 1601 match 16xx vif '1601'
set traffic-policy limiter BAND-IN default bandwidth '10gbit'
set traffic-policy shaper BAND-OUT class 1602 bandwidth '100mbit'
set traffic-policy shaper BAND-OUT class 1602 match 16xx vif '1602'
set traffic-policy shaper BAND-OUT default bandwidth '10gbit'
[edit]
vyos@r1# run show ver

Version:          VyOS 1.3-stable-202308240442
Release train:    equuleus