-
Notifications
You must be signed in to change notification settings - Fork 35
opx show mac
Amy Buck edited this page Jan 9, 2019
·
9 revisions
opx-show-mac
— Displays the current configuration of a single FDB entry if MAC and VLAN are passed
opx-show-mac [-h,--help]
[--mac <mac>]
[--vlan <vlan>]
Option | Description |
---|---|
-h,--help |
Displays help text |
--mac <mac> |
MAC address in : format (00:11:22:33:44:55 ) |
--vlan <vlan> |
VLAN ID |
Output | Description |
---|---|
MAC Addr |
Displays the MAC address |
VLAN |
Displays the VLAN ID |
IF-Index |
Displays the kernel ifindex of the port |
Port |
Displays the front-panel Ethernet interface |
Actions |
Displays the actions (forward/drop/trap/log) for this FDB entry |
Static |
Displays whether the entry is static (true/false) |
0 if OK
1 if minor problems (syntax error, wrong parameters passed)
2 if serious trouble (CPS commit fails)
$ opx-show-mac --mac 00:00:12:34:56:87 --vlan 200
MAC Addr | VLAN | IF-Index | Port | Actions | Static
-------------------------------------------------------------------
00:00:12:34:56:87 | 200 | 26 | e101-014-0 | Forward | True
Only single entry can be displayed when both MAC and VLAN are provided.
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