Skip to content

opx config sflow

Amy Buck edited this page Feb 21, 2019 · 14 revisions

COMMAND

opx-config-sflow — Creates and configures various attributes of an sFlow session.

SYNOPSIS

opx-configure-sflow [-h,--help] 
[--port <port>] 
[--direction (ingress | egress | ingress_egress)] 
[--rate <rate>] 
[--id <id>]

OPTIONS

Option Description
-h,--help Displays help text
--port <port> Front-panel Ethernet interface to configure
--direction (ingress | egress | ingress_egress) Packet sampling direction
--rate <rate> Sampling rate; one packet out of number of packets to be sampled through this session
--id <id> Session ID

EXIT STATUS

0 if OK
1 if minor problems (syntax error, wrong parameters passed)
2 if serious trouble (CPS commit fails)

EXAMPLE

Create sFlow session

$ opx-config-sflow create --port e101-019-0 --direction ingress --rate 1000

Set sFlow session

$ opx-config-sflow set --id 7 --direction ingress_egress --rate 600

REPORT BUGS

To report any OPX software bugs, see Report bugs.

SEE ALSO

opx-show-sflow

Clone this wiki locally