Ruijie(config-sampler)# mode random one-out-of10000 -----> configures the sampling rate rule
Ruijie(config-sampler)#exit
Ruijie(config)#interface gigabitEthernet 1/1
Ruijie(config-if)#flow-sampler my-sampler ----->applies the rule to the inbound direction if no direction is specified
Ruijie(config-if)#flow-sampler my-sampler egress-----> applies the sampling rate rule configuration to the outbound direction of the interface
Ruijie(config-if)#ip flow ingress -----> enables the IPFIX function in the inbound direction of an interface
Ruijie(config-if)#ip flow egress -----> enablesthe IPFIX function in the outbound direction of an interface
Ruijie#config terminal
Ruijie(config)#ip flow-export destination192.168.2.2 9996 -----> sets the IP address of the IFPIX server, to whichflow records are to be exported
Ruijie(config)#ip flow-export sourcegigabitEthernet 4/2 -----> configures the source IP address for packets tobe exported
Ruijie(config)#ip flow-export version 9 ----->specify the format; version 9: Netflow V9 standard; version 10: IETF standard
Ruijie(config)#ip flow-export template refresh-rate30 -----> specify the template retransmission frequency
Ruijie(config)#ip flow-export template timeout-rate40 -----> specify the template retransmission interval
Ruijie(config)#ip flow-export template optionsexport-stats -----> enable the export of option packets
Ruijie(config)#ip flow-export template optionsrefresh-rate 35 -----> sets the retransmission frequency of option data
Ruijie(config)#ip flow-export template optionstimeout-rate 45 -----> sets the retransmission interval of option data
Welcome to Ruijie Community (https://community.ruijienetworks.com/) | Powered by Discuz! X3.2 |