Command Line Reference
Network Management And Monitor...
IPFIX Configuration
24 min
ipfix configuration ipfix configuration show ipfix exporter show ipfix exporter \[command] show ipfix exporter \[purpose] view ipfix exporter configuration \[view] system view \[use cases] sonic# show ipfix exporter + + + + + + + + + + \| exporter | destination ip | source ip | domain id | destination port | source port | vrf | path mtu | template interval | +============+==================+=============+=============+====================+===============+=========+============+=====================+ \| test | 192 85 3 100 | 1 1 1 1 | 10 | 4739 | 4739 | default | 1000 | 60 | + + + + + + + + + + show ipfix monitor show ipfix monitor \[command] show ipfix monitor \[purpose] view ipfix monitor configuration \[view] system view \[use cases] sonic# show ipfix monitor + + + + + + \| monitor name | exporter | record | active time | passive time | +================+============+==========+===============+================+ \| test | test | l2 | 15 | 30 | + + + + + + show ipfix port map show ipfix port map \[command] show ipfix port map \[purpose] view ipfix port configuration \[view] system view \[use cases] sonic# show ipfix port map + + + + + \| interface | monitor | mode | direction | +=============+===========+========+=============+ \| ethernet16 | test | l2 | both | + + + + + ipfix exporter ipfix exporter name \[command] ipfix exporter name \[purpose] create ipfix exporter \[view] system configuration view \[notes] only one exporter can be configured globally \[use cases] sonic# ipfix exporter test dip dip a b c d \[command] dip a b c d \[purpose] configure destination ip of the ipfix packet \[view] ipfix exporter view \[use cases] sonic(config ipfix exporter test)# dip 1 1 1 1 domain id domain id id \[command] domain id id \[purpose] configure domain id of ipfix packets \[view] ipfix exporter view \[parameter] true 125,385 left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type \[use cases] sonic(config ipfix exporter test)# domain id 10 dport dport value \[command] dport value \[purpose] configure the destination port of ipfix packets \[view] ipfix exporter view \[use cases] sonic(config ipfix exporter test)# dport 2000 path mtu path mtu value \[command] path mtu value \[purpose] configure mtu of ipfix packets \[view] ipfix exporter view \[parameter] true 102,408 left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type \[use cases] sonic(config ipfix exporter test)# path mtu 1000 sip sip a b c d \[command] sip a b c d \[purpose] configure the source ip of ipfix packets \[view] ipfix exporter view \[use cases] sonic(config ipfix exporter test)# sip 1 1 1 1 sport sport value \[command] sport value \[purpose] configure the source port of ipfix packets \[view] ipfix exporter view \[use cases] sonic(config ipfix exporter test)# sport 2000 template interval template interval value \[command] template interval value \[purpose] configure the transmission interval for ipfix template packets \[view] ipfix exporter view \[parameter] true 123,387 left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type \[use cases] sonic(config ipfix exporter test)# template interval 60 vrf vrf name \[command] vrf name \[purpose] configure the vrf of ipfix packet output port \[view] ipfix exporter view \[parameter] true 120,390 left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type \[use cases] sonic(config ipfix exporter test)# vrf 123 ipfix monitor map ipfix monitor map name \[command] ipfix monitor map name \[purpose] create ipfix monitor map \[view] system configuration view \[use cases] sonic(config)# ipfix monitor map test exporter exporter name \[command] exporter name \[purpose] bind exporter to monitor \[view] ipfix monitor view \[parameter] true 122,388 left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type \[use cases] sonic(config ipfix monitor map test)# exporter test record {l2|l3|l4|all} record {l2|l3|l4|all} \[command] record {l2|l3|l4|all} \[purpose] set the depth of analyzed messages \[view] ipfix monitor view \[parameter] true 108,402 left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left #d8e5f5 1 1 unhandled content type left #d8e5f5 1 1 unhandled content type left 1 1 unhandled content type left 1 1 unhandled content type left #d8e5f5 1 1 unhandled content type left #d8e5f5 1 1 unhandled content type \[use cases] sonic(config ipfix monitor map test)# record all timeout active timeout active value \[command] timeout active value \[purpose] set the active time of a session stream \[view] ipfix monitor view \[parameter] true 108,402 left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type \[usage scenario] when the input time of two messages in a stream exceeds the active time, the message information of this stream recorded during this time will be output immediately \[use cases] sonic(config ipfix monitor map test)# timeout active 60 timeout passive timeout passive value \[command] timeout passive value \[purpose] set the timeout for session flow \[view] ipfix monitor view \[parameter] true 104,406 left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type \[usage scenario] start counting from the first packet input to the device in a flow, if there is no second packet input within the timeout passive configured time, the device will force to send out the statistics of this flow \[use cases] sonic(config ipfix monitor map test)# timeout passive 120 ipfix monitor name {ip4|ip6|l2} {both|rx|tx} ipfix monitor name {ip4|ip6|l2} {both|rx|tx} \[command] ipfix monitor name {ip4|ip6|l2} {both|rx|tx} \[purpose] set the monitor interface \[view] interface configure view \[parameter] true 118,392 left #4283c7 unhandled content type left #4283c7 unhandled content type left unhandled content type left unhandled content type left #d8e5f5 1 1 unhandled content type left #d8e5f5 1 1 unhandled content type left 1 1 unhandled content type left 1 1 unhandled content type \[use cases] sonic(config if 16)# ipfix monitor test l2 both
