获取所有静态路由
get router info routing-table static
配合使用grep过滤出路由
get router info routing-table static | grep xxx.xxx.xxx.xxx
编辑静态路由
config route staticedit xx
按需求过滤出session
diag sys session filter dst xxx.xxx.xxx.xxx
diag sys session filter proto 17 //proto number 17 为UDPdiag sys session filter proto 6 //proto number 6 为TCPdiag sys session filter dport 5000diag sys session filter negate dport //端口不为5000
diag sys session filter //查看当前过滤规则
diag sys session list //列出所有过滤出来的session
diag sys session clear //结束所有过滤出来的session
参考:
No comments:
Post a Comment