- 配置实例
https://blog.csdn.net/weixin_40815457/article/details/86524227
2.vpp hqos分析
https://segmentfault.com/a/1190000019644679
非桥接:
configure policer name policy1 cir 800 cb 90000 rate kbps round closest type 1r2c conform-action transmit exceed-action drop
classify table mask l3 ip4 src
classify session policer-hit-next policy1 exceed-color table-index 0 match l3 ip4 src 192.168.30.8
set policer classify interface GigabitEthernet4/0/1 ip4-table 0
set policer classify interface GigabitEthernet4/0/0 ip4-table 0
桥接:
set interface state GigabitEthernet4/0/0 up
set interface state GigabitEthernet4/0/1 up
create bridge-domain 1
set interface l2 bridge GigabitEthernet4/0/0 1
set interface l2 bridge GigabitEthernet4/0/1 1
show hardware-interfaces
configure policer name policy1 cir 800 cb 90000 rate kbps round closest type 1r2c conform-action transmit exceed-action drop
classify table mask l3 ip4 src
classify session policer-hit-next policy1 exceed-color table-index 0 match l3 ip4 src 192.168.30.8
set policer classify interface GigabitEthernet4/0/1 l2-table 0
set policer classify interface GigabitEthernet4/0/0 l2-table 0
功能在l2_policer_classify_node节点