IVM sdk command

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

posted @ 2020-02-06 18:21  -夏至未至-  阅读(225)  评论(0编辑  收藏  举报