-
Notifications
You must be signed in to change notification settings - Fork 35
opx show mirror
opx-show-mirror - Display Mirroring configuration and status
opx-show-mirror [ -h ] [ --help ] [ --id ID ] [ --type ( span | rspan ) ]
This command prints the current configuration and status of Mirroring sessions
-h, --help
: Print help text.
--id
: Session identifier
--port
: Specify front panel Ethernet interface
--type
: Specify the Mirroring session type (i.e. span/rspan)
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
0 if OK, 1 if minor problems (e.g., syntax error, wrong perameters passed), 2 if serious trouble (e.g., the CPS commit fails).
$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
To report any OPX software bugs, please refer to https://github.com/open-switch/opx-docs/wiki/Report-bugs.
opx-config-mirror(1)
© 2019 OpenSwitch project. All information is contributed to and made available by OPX under the Creative Commons Attribution 4.0 International License (available at http://creativecommons.org/licenses/by/4.0/).
- Home
- System overview
- Software releases
- Hardware support
- FAQs
- Install
- Build
- Configure
- Develop
- Administer
- Troubleshoot
- Software compatibility
- Contribute
- DevOps
- Join