-
Notifications
You must be signed in to change notification settings - Fork 35
opx config mac
Amy Buck edited this page Dec 20, 2018
·
13 revisions
opx-config-mac
— Configure FDB entries
opx-configure-mac [-h,--help]
[--mac <MAC>]
[--port <PORT>
[--vlan <VLAN>]
[--static]
[--kernel_conf]
[--kernel_conf_only]
[--delete-type (single | all | filter)]
This command creates and deletes FDB entries.
-h,--help
: Print help text.
--mac
: Specify the MAC address in : format (e.g. 00:11:22:33:44:55).
--port
: Specify front panel Ethernet interface.
--vlan
: Specify the VLAN ID.
--static
: Specify in case of static entry.
--kernel_conf
: Specify if the entry should be available in kernel (with NPU).
--kernel_conf_only
: Specify if the entry should be available in kernel only (not in NPU).
--delete-type (single | all | filter)
: single — Specify MAC address and VLAN id
: all — Delete all dynamic FDB entries
: filter — Delete dynamic entries based on attributes passed (port, port-vlan, vlan)
0 if OK, 1 if minor problems (e.g., syntax error, wrong parameters passed), 2 if serious trouble (e.g., the CPS commit fails).
$ opx-config-mac create --mac 00:00:12:34:56:90 --vlan 800 --port e101-021-0 --static
$ opx-config-mac delete --mac 00:00:12:34:56:90 --vlan 800 --delete-type single
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