-
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<port-list>
is a comma-separated list of one 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 shown.
-
--summary
— Displays a summary table, with each interface on a single line
-
Interface index
— Interface index assigned to the interface -
Enabled
— Indicates if the interface is administratively enabled -
MAC address
— Ethernet MAC address assigned to the interface -
MTU
— Current maximum transmission unit (MTU) of the interface -
FEC
— Current forward error correction (FEC) setting of the interface -
Autonegotiation
— Current link auto-negotiation setting of the interface -
Speed
— Configured link speed of the interface; shown only if auto-negotiation is off -
Duplex
— Configured link duplex of the interface; shown only if auto-negotiation is off -
Operational status
— Current operational status (such as link status) of the interface -
Supported autonegotiation
— Supported modes of auto-negotiation of the interface -
Supported speed
— List of the link speeds supported by the interface -
Current speed
— Current link speed of the interface; shown only if operational status is up -
Current duplex
— Current link duplex of the interface; shown only if operational status is up
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-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
$ opx-show-interface --summary
Port | Enabled | Operational status | Supported speed
-----------------------------------------------------------
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
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