-
Notifications
You must be signed in to change notification settings - Fork 35
opx config interface
jeff-yin edited this page Jan 17, 2019
·
25 revisions
opx-config-interface
— Configures various attributes of the front-panel Ethernet interface.
opx-config-interface [-h,--help]
[--port <port-list>]
[--autoneg (on | off)]
[--speed (10M | 100M | 1G | 10G | 25G | 40G | 100G | 20G | 50G | 200G | 400G | 4G-FC | 8G-FC | 16G-FC | 32G-FC | 2G-FC | 64G-FC | 128G-FC | 4G-FC | 1G-FC)]
[--duplex (half | full)]
[--fec (auto | off | cl91-rs | cl74-fc | cl108-rs)]
Option | Description |
---|---|
-h,--help |
Displays help text |
--port <port-list> |
Front-panel Ethernet interface(s) to configure. A <port-list> is a comma-separated list of 1 one more ranges. Each range is either a single interface, or a pair of interfaces of the form <from..to> , which specifies all interfaces from <from> to inclusive. Examples:
|
e101-001-0 — expands to e101-001-0
|
|
e101-001-0,e101-010-0 — expands to e101-001-0,e101-010-0
|
|
e101-001-0,e101-004-0..e101-006-0 — expands to e101-001-0,e101-004-0,e101-005-0,e101-006-0
|
|
If the port list is not specified, all Ethernet front-panel ports are configured. | |
--autoneg (on | off) |
Enables or disables link auto-negotiation |
--speed (10M | 100M | 1G | 10G | 25G | 40G | 100G | 20G | 50G | 200G | 400G | 4G-FC | 8G-FC | 16G-FC | 32G-FC | 2G-FC | 64G-FC | 128G-FC | 4G-FC | 1G-FC) |
Sets interface link speed; this only has effect if link auto-negotiation is disabled |
--duplex (half | full) |
Sets link duplex; this only has effect if link auto-negotiation is disabled |
--fec (auto | off | cl91-rs | cl74-fc | cl108-rs) |
Sets link forward error correction |
If an invalid port list is specified, the exit status shall be 1.
If there is a syntax error in the given arguments, the exit status shall
be 2.
Otherwise, the exit status is 0.
$ opx-config-interface --port e101-001-0 --autoneg off --speed 1G --duplex full --fec auto
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