您订阅的产品有更新,请及时查阅
查看详情Ruijie# config terminal
Ruijie(config)# ip flow-export interface-type port
Ruijie(config)# flow-sampler-map one-tenth //配置一个one-tenth名字的sampler-map
Ruijie(config-sampler)# mode random one-out-of 10 //配置一个one-tenth 的sampler-map 随机采样率为10 比1
Ruijie(config)# interface gigabitEthernet 4/2
Ruijie(config-if)# ip flow egress //使能接口4/2 的输出流统计,采样率为1 比1
Ruijie(config-if)# exit
Ruijie(config)# interface gigabitEthernet 4/3
Ruijie(config-if)# ip flow ingress //使能接口4/3 的输入流统计,采样率为1 比1
Ruijie(config-if)# exit
Ruijie(config)# interface gigabitEthernet 4/4
Ruijie(config-if)# flow-sampler one-tenth egress //使能接口4/4 的输出流统计,采样率为10 比1
Ruijie(config-if)# ip flow ingress //使能接口4/4 的输入流统计,采样率为1 比1
Ruijie(config-if)# exit
Ruijie(config)# interface gigabitEthernet 4/5
Ruijie(config-if)# flow-sampler one-tenth egress //使能接口4/5 的输出流统计,采样率为10 比1
Ruijie(config-if)# flow-sampler one-tenth //使能接口4/5 的输入流统计,采样率为10 比1(默认为入采样,没有ingress参数)