标签:filter bsp count 端口统计 enable and 统计 hardware 配置
1.load sdk shell
./auto_load_user.sh
2.查看all端口状态
IVM:0>ifcs show devport
3.查看个别端口状态
IVM:0>ifcs show devport 6
4.enable/disable 端口
IVM:0>port enable 1-32
5.清空端口统计
IVM:0>ifcs clear counters devport
IVM:0>ifcs clear counters hardware
6.查看端口统计
IVM:0>ifcs show counters devport filter nz
7.start traffic
IVM:0>diagtest snake start_traffic -n 500 -s 1518
8.stop traffic
IVM:0>diagtest snake stop_traffic
9.remove config
##Remove config
diagtest snake unconfig
10.配置snake vlan
diagtest snake config -p 1-32 -lb ‘NONE‘ -v
标签:filter bsp count 端口统计 enable and 统计 hardware 配置
原文地址:https://www.cnblogs.com/maisha/p/12269709.html