opx config sflow - open-switch/opx-docs GitHub Wiki
opx-config-sflow — Creates and configures various attributes of an sFlow session.
opx-configure-sflow [-h,--help]
[--port <port>]
[--direction (ingress | egress | ingress_egress)]
[--rate <rate>]
[--id <id>]
| 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 |
0 if OK
1 if minor problems (syntax error, wrong parameters passed)
2 if serious trouble (CPS commit fails)
$ opx-config-sflow create --port e101-019-0 --direction ingress --rate 1000
$ opx-config-sflow set --id 7 --direction ingress_egress --rate 600
To report any OPX software bugs, see Report bugs.