-
Notifications
You must be signed in to change notification settings - Fork 35
opx config interface
opx-config-interface - Configure 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 | 1G-FC ) ] [ --duplex ( half | full ) ] [ --fec ( auto | off | cl91-rs | cl74-fc | cl108-rs ) ]
This command sets various attributes of a front-panel Ethernet interface.
-h, --help
: Print help text.
--port* port-list*
: Specify 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 to inclusive. Examples are:
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 )
: Enable or disable 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 | 1G-FC )
: Set interface link speed. This only has effect if link auto-negotiation is disabled.
--duplex ( half | full )
: Set link duplex. This only has effect if link auto-negotiation is disabled.
--fec ( auto | off | cl91-rs | cl74-fc | cl108-rs )
: Set 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, please refer to https://github.com/open-switch/opx-docs/wiki/Report-bugs.
opx-show-interface(1)
© 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