-
Notifications
You must be signed in to change notification settings - Fork 35
opx show interface
opx-show-interface
— Displays the current configuration and status of the
front-panel Ethernet interface.
opx-show-interface [-h,--help]
[--port <port-list>]
[--summary]
-
-h,--help
— Print help text -
--port <port-list>
— Front panel Ethernet interface(s) to display. A 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 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 shown.`
--summary
: Print a summary table, with each interface on a single line.
### OUTPUT
Interface index
: Displays the interface index assigned to the interface.
Enabled
: Displays if the interface is administratively enabled.
MAC address
: Displays the Ethernet MAC address assigned to the interface.
MTU
: Displays the current maximum transmission unit (MTU) of the interface.
FEC
: Displays the current forward error correction (FEC) setting of the interface.
Autonegotiation
: Display the current link autonegotiation setting of the interface.
Speed
: Displays the configured link speed of the interface; shown only if autonegotiation is off.
Duplex
: Displays the configured link duplex of the interface; shown only if autonegotiation is off.
Operational status
: Displays the current operational status (such as link status) of the interface.
Supported autonegotiation
: Displays the supported modes of autonegotiation of the interface.
Supported speed
: Displays a list of the link speeds supported by the interface.
Current speed
: Displays the current link speed of the interface; shown only if operational status is up.
Current duplex
: Displays the current link duplex of the interface; shown only if operational status is up.
### 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-show-interface --port e101-001-0 e101-001-0 Interface index: 11 Enabled: no MAC address: ec:f4:bb:fc:55:19 MTU: 1532 FEC: off Autonegotiation: on Operational status: down Supported autonegotiation: on and off Supported speed: 1G 10G 40G
e101-001-0 | yes | up | 40G e101-002-0 | yes | up | 40G e101-003-1 | yes | up | 10G e101-003-2 | no | down | 10G e101-003-3 | no | down | 10G e101-003-4 | no | down | 10G e101-004-0 | no | down | 40G e101-005-0 | no | down | 40G e101-006-0 | no | down | 40G e101-007-0 | no | down | 40G e101-008-0 | no | down | 40G e101-009-0 | no | down | 40G e101-010-0 | no | down | 40G e101-011-0 | no | down | 40G e101-012-0 | no | down | 40G e101-013-0 | no | down | 40G e101-014-0 | no | down | 40G e101-015-0 | no | down | 40G e101-016-0 | no | down | 40G e101-017-0 | no | down | 40G e101-018-0 | no | down | 40G e101-019-0 | no | down | 40G e101-020-0 | no | down | 40G e101-021-0 | no | down | 40G e101-022-0 | no | down | 40G e101-023-0 | no | down | 40G e101-024-0 | no | down | 40G e101-025-0 | no | down | 40G e101-026-0 | no | down | 40G e101-027-0 | no | down | 40G e101-028-0 | no | down | 40G e101-029-0 | no | down | 40G e101-030-0 | no | down | 40G e101-031-0 | no | down | 40G e101-032-0 | no | down | 40G
### REPORTING BUGS
To report any OPX software bugs, see [Report bugs](https://github.com/open-switch/opx-docs/wiki/Report-bugs).
### SEE ALSO
[opx-config-interface](https://github.com/open-switch/opx-docs/wiki/opx-config-interface)
© 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