-
Notifications
You must be signed in to change notification settings - Fork 35
opx config mirror
Amy Buck edited this page Feb 21, 2019
·
18 revisions
opx-config-mirror
— Creates and configures various attributes of a mirroring
session.
opx-config-mirror [-h,--help]
[--src_intf <src_intf>]
[--dest_intf <dest_intf>]
[--direction (ingress | egress | ingress_egress)]
[--id <id>]
[--vlan <vlan>]
[--type (span | rspan)]
Option | Description |
---|---|
-h,--help |
Displays help text |
--src_intf <src_intf> |
Port name (such as front-panel Ethernet interface) as the source interface for this mirroring session |
--dest_intf <dest_intf> |
Port name (such as front-panel Ethernet interface) as the destination interface for this mirroring session |
--direction (ingress | egress | ingress_egress) |
Direction for the mirroring session |
--id <id> |
Session ID for updating a mirroring session |
--vlan <vlan> |
VLAN for RSPAN session; this VLAN has special properties and cannot be assigned to any access ports; it works by mirroring the traffic from the source ports of an RSPAN session onto a VLAN that is dedicated for the RSPAN session; this VLAN is then trunked to other switches, allowing the RSPAN session traffic to be transported across multiple switches |
--type (span | rspan) |
Mirroring session type |
0 if OK
1 if minor problems (syntax error, wrong parameters passed)
2 if serious trouble (CPS commit fails)
$ opx-config-mirror create --src_intf e101-012-0 --dest_intf e101-013-0 --direction ingress --type span
$ opx-config-mirror set --id 4 --dest_intf e101-014-0 --direction ingress_egress --src_intf e101-012-0
$ opx-config-mirror create --src_intf e101-009-0 --dest_intf e101-010-0 --direction ingress --vlan 700 --type rspan
To report any OPX software bugs, see Report bugs.
© 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