Skip to content

opx config interface

Amy Buck edited this page Jan 8, 2019 · 25 revisions

COMMAND

opx-config-interface — Configures various attributes of the front-panel Ethernet interface.

SYNOPSIS

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)]

OPTIONS

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

EXIT STATUS

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.

EXAMPLE

$ opx-config-interface --port e101-001-0 --autoneg off --speed 1G --duplex full --fec auto

REPORT BUGS

To report any OPX software bugs, see Report bugs.

SEE ALSO

opx-show-interface

Clone this wiki locally