Skip to content

opx show sflow

Amy Buck edited this page Jan 9, 2019 · 7 revisions

COMMABD

opx-show-sflow — Displays the current configuration and status of sFlow sessions

SYNOPSIS

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

OPTIONS

Option Description
-h,--help Displays help text
--id <id> Session identifier
--port <intf> Front-panel Ethernet interface
--direction Direction (ingress/egress/ingress_egress)

OUTPUT

Output Description
Id Displays the Sflow session ID
Direction Displays the direction (ingress/egress/ingress_egress) on which the packet sampling is configured
Rate Displays the Sampling rate; one packet out of <Rate> no of packets to be sampled through this session
Port Displays the front-panel Ethernet interface the session is enabled on

EXIT STATUS

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

EXAMPLE

$ opx-show-sflow --summary
Session ID | Direction | Rate  | Port
-------------------------------------------
2          | egress    | 14000 | e101-012-0
1          | ingress   | 10000 | e101-010-0

$ opx-show-sflow --id 2
Session ID=2
        Direction: egress
        Rate:      14000
        Port:      e101-012-0

REPORT BUGS

To report any OPX software bugs, see Report bugs.

SEE ALSO

opx-config-sflow

Clone this wiki locally