Skip to content

opx show mirror

Amy Buck edited this page Jan 2, 2019 · 6 revisions

COMMAND

opx-show-mirror — Displays the current configuration and status of mirroring sessions

SYNOPSIS

opx-show-mirror [-h,--help] 
[--id <id>]
[--port <intf>]
[--type (span | rspan)]

OPTIONS

  • -h,--help — Displays help text

  • --id <id> — Session identifier

  • --port <intf> — Front-panel Ethernet interface

  • --type — Mirroring session type (span/rspan)

OUTPUT

Output Description
Id Displays the Mirroring session ID
Direction Displays the direction (ingress/egress/ingress_egress) on which the
mirroring session is configured |

| Src Intf | Displays the port name of the source interface | | Dest Intf | Displays the port name of the destination interface | | VLAN | Displays the RSPAN VLAN ID |

EXIT STATUS

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

EXAMPLE

$ opx-show-mirror --summary
Session ID | Dest Interface | Type  | VLAN
------------------------------------------
2          | e101-004-0     | rspan | 600
1          | e101-002-0     | span  | 600

$ opx-show-mirror --id 2
Session ID=2
        Destination Interface: e101-004-0
        Type:                  rspan
        VLAN:                  600

REPORT BUGS

To report any OPX software bugs, see Report bugs.

SEE ALSO

opx-config-mirror

Clone this wiki locally