Skip to content

opx show mirror

jeff-yin edited this page Dec 19, 2018 · 6 revisions

NAME

opx-show-mirror - Display Mirroring configuration and status

SYNOPSIS

opx-show-mirror [ -h ] [ --help ] [ --id ID ] [ --type ( span | rspan ) ]

DESCRIPTION

This command prints the current configuration and status of Mirroring sessions

OPTIONS

-h, --help

: Print help text.

--id

: Session identifier

--port

: Specify front panel Ethernet interface

--type

: Specify the Mirroring session type (i.e. span/rspan)

OUTPUT

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 (e.g., syntax error, wrong perameters passed), 2 if serious trouble (e.g., the 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

REPORTING BUGS

To report any OPX software bugs, please refer to https://github.com/open-switch/opx-docs/wiki/Report-bugs.

SEE ALSO

opx-config-mirror(1)

Clone this wiki locally