interface ethernet
|
|
interface ethernet <slot>/<port>[/<subport>][-<slot>/<port>[/<subport>]] Enters the Ethernet interface or Ethernet interface range configuration mode. |
|
|
Syntax Description |
<slot>/<port> |
Ethernet port number |
|
subport |
Ethernet subport number to be used if a port is split |
|
|
Default |
N/A |
|
|
Configuration Mode |
config |
|
|
History |
3.1.0000 |
|
|
3.2.1100 |
Added range support |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
|
|
boot-delay
|
|
boot-delay [<time>]
Configures interface boot-delay timer.
|
|
|
Syntax Description |
time |
Boot delay time in seconds
|
|
Default |
0 seconds |
|
|
Configuration Mode |
config interface ethernet
|
|
|
History |
3.6.2002 |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
|
|
default interface ethernet
|
|
default interface ethernet <slot/port> Resets a port to its default settings |
|
|
Syntax Description |
slot/port |
Number of Ethernet interface in form of slot/port |
|
Default |
N/A |
|
|
Configuration Mode |
config |
|
|
History |
3.9.1000 |
|
|
Example |
||
|
Related Commands |
interfaces ethernet |
|
|
Notes |
If one of the following configurations exist on the port, the command will be blocked and an informative message will appear.
|
|
description
|
|
description <string>
Configures an interface description.
|
|
|
Syntax Description |
string |
40 bytes |
|
Default |
"" |
|
|
Configuration Mode |
config interface ethernet
|
|
|
History |
3.1.0000 |
|
|
3.3.4500 |
Added MPO configuration mode |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
|
|
fec-override
|
|
fec-override <fec-configuration> [force]
Changes FEC configuration on a specific port or range of ports.
|
|
|
Syntax Description |
fec-configuration |
|
|
force |
|
|
|
Default |
Auto-FEC selection |
|
|
Configuration Mode |
config interface ethernet |
|
|
History |
3.5.0000 |
|
|
3.6.2002 |
Added force option |
|
|
3.7.1000 |
Updated Example |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
Use this command with caution. There is no limitation in configuring non-standard FEC. It may cause the link to malfunction. |
|
flowcontrol
|
|
flowcontrol {receive | send} {off | on} [force] Enables or disables IEEE 802.3x link-level flow control per direction for the specified interface. |
|
|
Syntax Description |
receive | send |
|
|
off | on |
|
|
|
force |
Forces configuration without the need to toggle the interface |
|
|
Default |
receive off; send off |
|
|
Configuration Mode |
config interface ethernet
|
|
|
History |
3.1.0000 |
|
|
3.3.4500 |
Added MPO configuration mode |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
To configure global pause please see section “Flowcontrol (Global pause)”. |
|
ip address dhcp
|
|
ip address dhcp
Enables DHCP on this Ethernet interface. |
|
|
Syntax Description |
N/A |
|
|
Default |
Disabled |
|
|
Configuration Mode |
config interface ethernet set as router interface
|
|
|
History |
3.4.2008 |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
|
|
load-interval
|
|
load-interval <time>
Sets the interface counter interval.
|
|
|
Syntax Description |
time |
In seconds |
|
Default |
300 seconds |
|
|
Configuration Mode |
config interface ethernet
|
|
|
History |
3.3.0000 |
|
|
3.3.4500 |
Added MPO configuration mode |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
This interval is used for the ingress rate and egress rate counters |
|
module-type
|
|
module-type <type> [force]
The no form of the command resets the interface to its default configuration (non-split) |
|
|
Syntax Description |
type |
|
|
force |
Force the split operation without asking for user confirmation. |
|
|
Default |
non-split |
|
|
Configuration Mode |
config interface ethernet |
|
|
History |
3.1.1400 |
|
|
3.5.0000 |
Added note |
|
|
3.6.3640 |
Added note |
|
|
3.6.4006 |
Added note |
|
|
3.9.0900 |
|
|
|
3.10.3100 |
Added split to 8 for PAM4-based, Spectrum-3 systems. |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
|
|
mtu
|
|
mtu <frame-size> Configures the Maximum Transmission Unit (MTU) frame size for the interface. |
|
|
Syntax Description |
frame-size |
Range: 1500-9216 bytes |
|
Default |
9216 bytes |
|
|
Configuration Mode |
config interface ethernet
|
|
|
History |
3.1.0000 |
|
|
3.3.4500 |
Added MPO configuration mode |
|
|
3.9.2000 |
Updated default MTU size and added note |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
Switches that perform upgrade to version 3.9.2000, existing interfaces will stay with MTU 1500 (or any other value that was configured). Newly created interfaces (created by split/unsplit operation) will be created with MTU 9216 (the new default). The configured and displayed MTU represents the L3 MTU (being used in IP interfaces). The L2 MTU (being used in physical interfaces) is automatically configured as L3 MTU + 22 Bytes. |
|
recirculation
|
|
recirculation [force]
Sets the recirculation port.
|
|
|
Syntax Description |
N/A |
|
|
Default |
Disabled |
|
|
Configuration Mode |
config interface ethernet |
|
|
History |
3.9.0300 |
|
|
3.9.1000 |
Added note |
|
|
Example |
||
|
Related Commands |
what-just-happened buffer enable |
|
|
Notes |
This command reduces by 1 the number of monitor sessions that can be configured. It will fail if the maximum number of monitor sessions are already configured. |
|
no recirculation port interface ethernet
|
|
no recirculation port interface ethernet <port_num> Disables the recirculation port. |
|
|
Syntax Description |
port_num |
Port number |
|
Default |
N/A |
|
|
Configuration Mode |
config |
|
|
History |
3.9.0300 |
|
|
Example |
||
|
Related Commands |
recirculation
|
|
|
Notes |
|
|
shutdown
|
|
shutdown
Disables the interface.
|
|
|
Syntax Description |
N/A |
|
|
Default |
Interface is enabled |
|
|
Configuration Mode |
config interface ethernet
|
|
|
History |
3.1.0000 |
|
|
3.3.4500 |
Added MPO configuration mode |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
|
|
speed
|
|
speed {<value> [no-autoneg | speed_value [... speed_value]] | <auto>} [force]
Sets the speed of the interface.
|
|
|
Syntax Description |
value |
The following speeds are available:
auto—auto-negotiates link speed (not supported on MPO or LAG interfaces) |
|
no-autoneg |
Disallows auto negotiation link speed on the interface (not supported on MPO or LAG interfaces) |
|
|
force |
Forces speed change configuration |
|
|
Default |
Depends on the port module type (see the “Notes” section below) |
|
|
Configuration Mode |
config interface ethernet
|
|
|
History |
3.1.0000 |
|
|
3.5.0000 |
Added 25GbE, 50GbE, and 100GbE speeds and updated notes |
|
|
3.6.6000 |
Added no-autoneg parameter |
|
|
3.9.0600 |
Removed no-autoneg parameter |
|
|
3.9.1000 |
Updated notesAdded speed with lane configuration |
|
|
3.9.2000 |
Added no-autoneg parameter |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
|
|
clear counters
|
|
clear counters Clears the interface counters. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
Configuration Mode |
config interface ethernet
|
|
|
History |
3.1.0000 |
|
|
3.3.4500 |
Added MPO configuration mode |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet |
|
|
Notes |
This command also clears NVE counters |
|
show interfaces counters
|
|
show interfaces <type> <id> counters Displays the extended counters for the interface. |
|
|
Syntax Description |
id |
Interface number: <slot>/<port> or <slot>/<port>-<slot>/<port> |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.1.0000 |
|
|
3.6.1002 |
Added “error packets” counter to Tx |
|
|
3.6.4006 |
Added extended output for storm-control |
|
|
3.6.5000 |
Added hoq discard packets counter |
|
|
3.9.0500 |
Removed Priority option |
|
|
3.9.1000 |
Added ability to use a range of ports and added "ECN marked packets" counter |
|
|
3.8.1300 |
Added note |
|
|
Example |
. . . |
|
|
Related Commands |
|
|
|
Notes |
|
|
show interfaces counters discard
|
|
show interfaces <type> <id> counters discard Displays discarded counters of the interface. |
|
|
Syntax Description |
id |
Interface number: <slot>/<port> or <slot>/<port>-<slot>/<port> |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.6.6102 |
|
|
3.9.1000 |
Made "id" attribute optional |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
|
|
show interfaces ethernet
|
|
show interfaces ethernet <inf> [cable-length | capabilities | congestion-control | counters | description | link-diagnostics | pfc-wd | signal-degrade | status | switchport | transceiver] Displays the configuration and status for the interface. |
|
|
Syntax Description |
inf |
Interface number: <slot>/<port> or <slot>/<port>-<slot>/<port> |
|
cable-length |
Display cable-length of specific interfaces |
|
|
capabilities |
Display specific interfaces capabilities information |
|
|
congestion-control |
Display specific interface congestion control information |
|
|
counters |
Display specific interfaces counters |
|
|
description |
Display specific interfaces description information |
|
|
link-diagnostics |
Display interfaces link diagnostics information |
|
|
pfc-wd |
Display pfc-wd information |
|
|
signal-degrade |
Display interfaces signal degrade information |
|
|
status |
Display specific interfaces status information |
|
|
switchport |
Display specific interface VLAN-membership information |
|
|
transceiver |
Display detailed cable info for this port |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.1.0000 |
|
|
3.6.1002 |
Added “error packets” counter to Tx, “Last change in operational status”, and “Isolation group” to output |
|
|
3.6.2002 |
Added “boot delay” parameters to output |
|
|
3.6.3640 |
Added support for “forwarding mode” |
|
|
3.6.4110 |
Updated Example with “Forwarding mode” |
|
|
3.6.5000 |
Added telemetry to output |
|
|
3.6.6000 |
Added output line for “auto-negotiation” |
|
|
3.6.8008 |
Updated example |
|
|
3.6.8100 |
Updated example |
|
|
3.7.1100 |
Updated example and notes |
|
|
3.9.1000 |
Added ability to use a range of ports and updated example |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
|
|
show interfaces ethernet counters tc
|
|
show interfaces ethernet [<slot/port> | <slot/port>-<slot/port>] counters tc <priority> Displays traffic class counters for the specified interface and priority. |
|
|
Syntax Description |
slot/port |
Number of Ethernet interface in form of slot/port |
|
priority |
Valid priority values: 0-7 or all |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.6.3004 |
|
|
3.9.1000 |
Added ability to use a range of ports |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
As of version 3.9.1000, the "slot/port" attribute is optional. If nothing is selected, information for all ports will be displayed |
|
show interfaces ethernet counters pg
|
|
show interfaces ethernet [<slot/port> | <slot/port>-<slot/port>] counters pg <priority> Displays priority group counters for the specified interface and priority. |
|
|
Syntax Description |
slot/port |
Number of Ethernet interface in form of slot/port |
|
priority |
Valid priority values: 0-7 or all |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.6.3004 |
|
|
3.9.1000 |
Added ability to use a range of ports |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
As of version 3.9.1000, the "slot/port" attribute is optional. If nothing is selected, information for all ports will be displayed |
|
show interfaces ethernet description
|
|
show interfaces ethernet [<inf>] description Displays the admin status and protocol status for the specified interface. |
|
|
Syntax Description |
inf |
Interface number: <slot>/<port> |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.1.0000 |
|
|
3.4.1100 |
Updated example |
|
|
3.8.2000 |
Updated example |
|
|
3.9.1000 |
Updated example |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
The speed with lane count information refers to the Spectrum-2 and Spectrum-3 systems only. |
|
show interfaces ethernet rates
|
|
show interfaces ethernet rates [<transfer-rate-unit>] Displays the current transfer rate of the interface. |
|
|
Syntax Description |
transfer-rate-unit |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.6.2002 |
|
|
3.7.0000 |
Added new rates to “transfer-rate-unit” |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
|
|
show recirculation port
|
|
show recirculation port Shows recirculation port status and information. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.9.0300 |
|
|
Example |
||
|
Related Commands |
recirculation |
|
|
Notes |
|
|
show interfaces ethernet status
|
|
show interfaces ethernet [<inf>] status Displays the status, speed and negotiation mode of the specified interface. |
|
|
Syntax Description |
inf |
Interface number: <slot>/<port> |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.1.0000 |
|
|
3.4.1100 |
Updated example |
|
|
3.9.1000 |
Updated example |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
The speed with lane count information refers to the Spectrum-2 and Spectrum-3 systems only. |
|
show interfaces ethernet transceiver
|
|
show interfaces ethernet [<inf>] transceiver Displays transceiver information. |
|
|
Syntax Description |
inf |
Interface number: <slot>/<port> |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.1.0000 |
|
|
Example |
||
|
Related Commands |
||
|
Notes |
|
|
show interfaces ethernet transceiver brief
|
|
show interfaces ethernet [<inf>] transceiver brief Display brief transceiver information. |
|
|
Syntax Description |
inf |
Interface number: <slot>/<port> |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.6.6102 |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
|
|
show interfaces ethernet transceiver counters
|
|
show interfaces ethernet [<inf>] transceiver counters Displays PHY counters related to operational FEC mode and actual number of lanes in the current port. |
|
|
Syntax Description |
inf |
Interface number: <slot>/<port> |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.6.1002 |
|
|
3.10.3000 |
Updated command description, notes, and example |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
|
|
show interfaces ethernet transceiver diagnostics
|
|
show interfaces ethernet [<inf>] transceiver diagnostics Displays cable channel monitoring and diagnostics info for this interface. Tx and Rx power are reported in mW and dBm units. |
|
|
Syntax Description |
inf |
Interface number: <slot>/<port> |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.6.2002 |
|
|
3.6.4006 |
Updated Example to report Tx and Rx power in mW and dBm units |
|
|
3.6.6000 |
Updated Example |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
This example is for a QSFP transceiver |
|
show interfaces ethernet transceiver raw
|
|
show interfaces ethernet [<inf>] transceiver raw Displays cable info for this interface. |
|
|
Syntax Description |
inf |
Interface number: <slot>/<port> |
|
Default |
N/A |
|
|
Configuration Mode |
Any command mode |
|
|
History |
3.6.1002 |
|
|
Example |
||
|
Related Commands |
|
|
|
Notes |
|
|
show interfaces status
|
|
show interfaces status Displays the configuration and status for the interface. |
||
|
Syntax Description |
N/A |
||
|
Default |
N/A |
||
|
Configuration Mode |
Any command mode |
||
|
History
|
3.6.4006 |
||
|
3.9.0300 |
Updated example—added MTU column |
||
|
3.9.1000 |
Updated example |
||
|
Example |
|||
|
Related Commands |
|
||
|
Note |
|
||
disable interface ethernet traffic-class congestion-control
|
|
disable interface ethernet <inf> traffic-class <tc> congestion-control interface ethernet <inf> disable traffic-class <tc> congestion-control Disables RED/ECN marking for traffic-class queue on ethernet port. |
|
|
Syntax Description |
inf |
Interface number: <slot>/<port> |
|
tc |
Traffic class. Range 0-7 |
|
|
Default |
N/A |
|
|
Configuration Mode |
config |
|
|
History |
3.8.2000 |
|
|
Role |
admin |
|
|
Example |
||
|
Related Commands |
show interfaces ethernet 1/1 congestion-control |
|
|
Notes |
The “no interface ethernet <inf> traffic-class <tc> congestion-control” command returns configuration on the port to its default value. |
|
disable interface port-channel traffic-class congestion-control
|
|
disable interface port-channel <inf> traffic-class <tc> congestion-control Disables RED/ECN marking for traffic-class queue on LAG port. |
|
|
Syntax Description |
inf |
Interface number.
|
|
tc |
Traffic class.
|
|
|
Default |
N/A |
|
|
Configuration Mode |
config |
|
|
History |
3.8.2000 |
|
|
Role |
admin |
|
|
Example |
||
|
Related Commands |
show interfaces port-channel congestion-control |
|
|
Notes |
The “no interface port-channel <inf> traffic-class <tc> congestion-control” command returns configuration on the port to its default value. |
|
disable interface mlag-port-channel traffic-class congestion-control
|
|
disable interface mlag-port-channel <inf> traffic-class <tc> congestion-control
Disables RED/ECN marking for traffic-class queue on MLAG port. |
|
|
Syntax Description |
inf |
Interface number.
|
|
tc |
Traffic class.
|
|
|
Default |
N/A |
|
|
Configuration Mode |
config |
|
|
History |
3.8.2000 |
|
|
Role |
admin |
|
|
Example |
||
|
Related Commands |
show interfaces mlag-port-channel 1/1 congestion-control |
|
|
Notes |
The “no interface mlag-port-channel <inf> traffic-class <tc> congestion-control” command returns configuration on the port to a default value. |
|
Last updated: