-
Notifications
You must be signed in to change notification settings - Fork 35
opx config mac
Amy Buck edited this page Feb 21, 2019
·
13 revisions
opx-config-mac
— Creates and deletes FDB entries.
opx-configure-mac [-h,--help]
[--mac <MAC>]
[--port <PORT>]
[--vlan <VLAN>]
[--static]
[--kernel_conf]
[--kernel_conf_only]
[--delete-type (single | all | filter)]
Option | Description |
---|---|
-h,--help |
Displays help text |
--mac |
MAC address in format 00:11:22:33:44:55
|
--port |
Front-panel Ethernet interface |
--vlan |
VLAN ID |
--static |
Specify if 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) |
List of delete types: |
single — Specify MAC address and VLAN ID |
|
all — Deletes all dynamic FDB entries |
|
filter — Deletes dynamic entries based on attributes passed (port, port-vlan, vlan) |
0 if OK
1 if minor problems (syntax error, wrong parameters passed)
2 if serious trouble (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