Back to Contents Page

Ethernet Configuration Commands

Dell™ PowerConnect™ 3324/3348 Switch CLI Guide

  port storm-control enable

  port storm-control rate

  interface ethernet

  interface range ethernet

  shutdown

  description

  speed

  duplex

  negotiation

  flowcontrol

  mdix

  back-pressure

  clear counters

  set interface active

  show interfaces configuration

  show interfaces status

  show interfaces description

  show interfaces counters

  show ports storm-control



port storm-control enable

Use the port storm-control enable global configuration command to enable broadcast storm control. To disable broadcast storm control, use the no form of this command.

Syntax

port storm-control enable {unknown | broadcast | multicast} {fastethernet | gigaethernet interface}

no port storm-control enable {unknown | broadcast | multicast} {fastethernet | gigaethernet interface}

Default Configuration

Broadcast storm control is disabled.

Command Modes

Global Configuration Mode

User Guidelines

Use the port storm-control broadcast rate fastethernet gigaethernet interface configuration command to set the maximum rate.

Example

The following example enables broadcast storm control for fast ethernet.

Console(config)# port storm-control enable broadcast fastethernet


port storm-control rate

Use the port storm-control rate global configuration command to configure the maximum broadcast rate. To reconfigure the default broadcast rate, use the no form of this command.

Syntax

port storm-control rate gigaethernet interface rate

port storm-control rate fastethernet rate

no port storm-control rate gigaethernet interface

no port storm-control rate fastethernet

Default Configuration

The default frames per second are as follows:

Command Mode

Global Configuration Mode

User Guidelines

Use the port storm-control broadcast enable interface configuration command to enable broadcast storm control.

Example

The following example configures the maximum broadcast storm control fast ethernet frame rate.

Console(config)# port storm-control rate fastethernet 300


interface ethernet

Use the interface ethernet global configuration command to enter the interface configuration mode to configure an ethernet type interface.

Syntax

interface ethernet interface

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example enables ports 1/e18 for configuration.

Console (config)# interface ethernet 1/e18

Console (config-if)#


interface range ethernet

Use the interface range ethernet global configuration command to enter the interface configuration mode and configure multiple ethernet type interface.

Syntax

interface range ethernet { port-range | all }

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration Mode

User Guidelines

The interface range ethernet commands are executed independently on each interface in the range. If the command returns an error on one of the interfaces, it does not stop executing on other interfaces.

Example

The following example groups ports to receive the same command.

Console (config)# interface range ethernet 1/e18-20, 3/e1-24

Console (config-if)#


shutdown

Use the shutdown interface configuration command to disable the interfaces. To restart a disabled interface, use the no form of this command.

Syntax

shutdown

no shutdown

Default Configuration

The interface is enabled.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example disables ethernet port 1/e5.

Console (config)# interface ethernet 1/e5

Console (config-if)# shutdown

The following example re-enables ethernet port 1/e5.

Console (config)# interface ethernet 1/e5

Console (config-if)# no shutdown


description

Use the description interface configuration command to add a description to an interface. To remove the description use the no form of this command.

Syntax

description string

no description

Default Configuration

The interface does not have a description.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example adds the description RD SW#3 to the ethernet port 1/e5.

Console (config)# interface ethernet 1/e5

Console (config-if)# description RD SW#3


speed

Use the speed interface configuration command to configure the speed of a given ethernet interface when not using auto negotiation. To restore the default, use the no form of this command.

Syntax

speed {10 | 100 | 1000}

no speed

Default Configuration

Maximum port capability.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode

User Guidelines

The no speed command in port-channel context returns each port in the port-channel to its maximum capability.

Example

The following example configures ethernet port 1/e5 to operate at a speed of 100 Mbps.

Console (config)# interface ethernet 1/e5

Console (config-if)# speed 100


duplex

Use the duplex interface configuration command to configure the full/half duplex operation of a given ethernet interface when not using auto negotiation. To restore the default, use the no form of this command.

Syntax

duplex {half | full}

no duplex

Default Configuration

The interface is set to full duplex.

Command Mode

Interface Configuration (Ethernet) Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example configures the duplex operation of ethernet port 1/e5 to operate at full duplex.

Console (config)# interface ethernet 1/e5

Console (config-if)# duplex full


negotiation

Use the negotiation interface configuration command to enable auto negotiation operation for the speed and duplex parameters of a given interface. To disable negotiation, use the no form of this command.

Syntax

negotiation

no negotiation

Default Configuration

Auto negotiation is enabled.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode

User Guidelines

Flow control will operate only if duplex mode is set to FULL. Back pressure will operate only if duplex mode is set to HALF.

When flow control is ON, the head-of-line mechanism for this port is disabled.

If a link is set to NOT use auto negotiation, the other side of the link should also be configured to not use auto negotiation, or the link may not operate correctly.

Example

The following example enables autonegotiation on port 1/e5.

Console (config)# interface ethernet 1/e5

Console (config-if)# negotiation


flowcontrol

Use the flowcontrol interface configuration command to configure the flow control on a given interface. To restore the default, use the no form of this command.

Syntax

flowcontrol {auto | on | off | rx | tx}

no flowcontrol

Default Configuration

Flow control is off.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode.

User Guidelines

Flow control can be enabled only if duplex mode is set to full-duplex.

Example

The following example enables flow control on port 1/e5.

Console (config)# interface ethernet 1/e5

Console (config-if)# flowcontrol on


mdix

Use the mdix interface configuration command to enable automatic crossover on a given interface. To disable automatic crossover, use the no form of this command.

Syntax

mdix {on | auto}

no mdix - sets port to MDI

Default Configuration

Automatic crossover is enabled.

Command Mode

Interface Configuration (Ethernet) Mode

Example

The following example enables automatic crossover on port 1/e5.

Console (config)# interface ethernet 1/e5

Console (config-if)# mdix auto

.


back-pressure

Use the back-pressure interface configuration command to enable back pressure on a given interface. To disable back pressure, use the no form of this command.

Syntax

back-pressure

no back-pressure

Default Configuration

Back pressure is disabled.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode.

User Guidelines

There are no user guidelines for this command.

Example

The following example enables back pressure on port 1/e5.

Console (config)# interface ethernet 1/e5

Console (config-if)# back-pressure


clear counters

Use the clear counters Privileged EXEC Mode command to clear statistics on an interface.

Syntax

clear counters {ethernet interface | port-channel port-channel-number}

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example clears the counters for interface 1/e1.

Console# clear counters ethernet 1/e1


set interface active

Use the set interface up Privileged EXEC Mode command to reactivate an interface suspended by the system.

Syntax

set interface active {ethernet interface | port-channel port-channel-number}

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

This command is used to activate interfaces that were configured to be active, but were shut down for example, for a security violation.

Example

The following example activates interface 1/e5 which is disabled.

Console# set interface active ethernet 1/e5


show interfaces configuration

Use the show interfaces configuration privileged EXEC command to display the configuration for all configured interfaces.

Syntax

show interfaces configuration [ethernet interface | port-channel port-channel-number]

Default Configuration

This command has no default configuration.

Command Modes

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays the configuration for all configured interfaces.

Console# show interfaces configuration

Port Type Duplex Speed Neg Flow Admin Back MDIX

Cont State Pres Mode

---- ---------- ------ ----- ---- ---- ---- ----- -----

1/e1 1g-combo-c Full 1000 Auto On Up Enable Auto

2/e1 100-copper Full 1000 Off Off Up Disable off

2/e2 1g-Fiber Full 1000 Off Off Up Disable on

Neg : Negotiation

Flow Cont: Flow Control

Back Pres: Back Pressure

The displayed port configuration information includes the following:


show interfaces status

Use the show interfaces status privileged EXEC command to display the status for all configured interfaces.

Syntax

show interfaces status [ethernet interface | port-channel port-channel-number]

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays the status for all configured interfaces.

Console# show interfaces status

Port Type Duplex Speed Neg Flow Link Back MDI

Cont State Pres Mode

---- ---------- ------ ----- ---- ---- ---- ---- -----

1/e1 1g-Combo-c Full 100 Auto On Up Enable Off

2/e1 100-copper Full 1000 off Off Down* Disable Down*

2/e2 1g-Fiber Full 1000 Off Off Up Disable Up

Legend

Neg : Negotiation

Flow Cont: Flow Control

Back Pres: Back Pressure

*: The interface was suspended by the system.

The displayed port status information includes the following:


show interfaces description

The show interfaces description privileged EXEC command displays the description for all configured interfaces.

Syntax

show interfaces description [ethernet interface | port-channel port-channel-number | out-of-band-eth oob-interface]

Default Configuration

This command has no default configuration.

Command Modes

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays the description for all configured interfaces.

device# show interfaces description

Port Description

---- -------------------------------------------------------- ------------

1/e1 Port that should be used for management only

2/e1

2/e2

Port Channel Description

------------ -----------

1 dell

2 projects


show interfaces counters

The show interfaces counters privileged EXEC command displays traffic seen by a physical interface.

Syntax

show interfaces counters [ ethernet interface | port-channel port-channel-number ]

Default Configuration

This command has no default configuration.

Command Modes

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays traffic seen by the physical interface.

Console# show interfaces counters

Port InOctets InUcastPkts InMcastPkts InBcastPkts

---- ---------- --------- --------- ------------

1/e1 183892 1289 987 8

2/e1 0 0 0 0

3/e1 123899 1788 373 19

Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts

---- ---------- --------- --------- ------------

1/e1 9188 9 8 0

2/e1 0 0 0 0

3/e1 8789 27 8 0

Ch InOctets InUcastPkts InMcastPkts InBcastPkts

---- ---------- --------- -------- ------------

1 27889 928 0 78

Ch OutOctets OutUcastPkts OutMcastPkts OutBcastPkts

---- ---------- --------- --------- ------------

1 23739 882 0 122

The following example displays which fields are supported for port 1/e1.

Console# show interfaces counters ethernet 1/e1

Port InOctets InUcastPkts InMcastPkts InBcastPkts

---- ---------- --------- --------- ------------

1/e1 183892 1289 987 8

Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts

---- ---------- --------- --------- ------------

1/e1 9188 9 8 0

Alignment Errors: 17

FCS Errors: 8

Single Collision Frames: 0

Multiple Collision Frames: 0

SQE Test Errors: 0

Deferred Transmissions: 0

Late Collisions: 0

Excessive Collisions: 0

Internal MAC Tx Errors: 0

Carrier Sense Errors: 0

Oversize Packets: 0

Internal MAC Rx Errors: 0

Symbol Errors: 0

Received Pause Frames: 0

Transmitted Pause Frames: 0

The following table describes the fields shown in the display:

Field

Description

InOctets

Counts received octets.

InUcastPkts

Counts received unicast packets.

InMcastPkts

Counts received multicast packets.

InBcastPkts

Counts received broadcast packets.

OutOctets

Counts transmitted octets.

OutUcastPkts

Counts transmitted unicast packets.

OutMcastPkts

Counts transmitted multicast packets.

OutBcastPkts

Counts transmitted broadcast packets.

Alignment Errors

Counts frames received that are not an integral number of octets in length and do not pass the FCS check.

FCS Errors

Counts frames received that are an integral number of octets in length but do not pass the FCS check.

Single Collision Frames

Counts frames that are involved in a single collision, and are subsequently transmitted successfully.

Multiple Collision Frames

Counts frames that are involved in more than one collision and are subsequently transmitted successfully.

SQE Test Errors

Counts times that the SQE TEST ERROR is received. The SQE TEST ERROR is set in accordance with the rules for verification of the SQE detection mechanism in the PLS Carrier Sense Function as described in IEEE Std. 802.3, 2000 Edition, section 7.2.4.6.

Deferred Transmissions

Counts frames for which the first transmission attempt is delayed because the medium is busy.

Late Collisions

Counts times that a collision is detected later than one slotTime into the transmission of a packet.

Excessive Collisions

Counts frames for which transmission fails due to excessive collisions.

Internal MAC Tx Errors

Counts frames for which transmission fails due to an internal MAC sublayer transmit error.

Carrier Sense Errors

Counts times the carrier sense condition was lost or never asserted when attempting to transmit a frame.

Oversize Packets

Counts frames received that exceed the maximum permitted frame size.

Internal MAC Rx Errors

Counts frames for which reception fails due to an internal MAC sublayer receive error.

Symbol Errors

For an interface operating at 100 Mbps, the number of times there was an invalid data symbol when a valid carrier was present.

For an interface operating in half-duplex mode at 1000 Mbps, the number of times the receiving media is non-idle (a carrier event) for a period of time equal to or greater than slotTime, and during which there was at least one occurrence of an event that causes the PHY to indicate Data reception error or carrier extend error on the GMII.

For an interface operating in full-duplex mode at 1000 Mbps, the number of times the receiving media is non-idle (a carrier event) for a period of time equal to or greater than minFrameSize, and during which there was at least one occurrence of an event that causes the PHY to indicate Data reception error on the GMII.

For an interface operating at 10 Gbps, the number of times the receiving media is non-idle (a carrier event) for a period of time equal to or greater than minFrameSize, and during which there was at least one occurrence of an event that causes the PHY to indicate Receive Error on the XGMII.

Received Pause Frames

Counts MAC Control frames received with an opcode indicating the PAUSE operation.

Transmitted Pause Frames

Counts MAC Control frames transmitted on this interface with an opcode indicating the PAUSE operation.


show ports storm-control

Use the show ports storm-control privileged EXEC command to display the storm control configuration.

Syntax

show ports storm-control

Default Configuration

This command has no default configuration.

Command Modes

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays the storm control configuration.

Console# show ports storm-control

Port Unknown Broadcast Multicast Rate[Packets/sec]

-------------- -------- --------- -------- -----------------

Gigaethernet 1 Enabled Disabled Enabled 2000

Gigaethernet 2 Enabled Enabled Enabled 2000

FastEthernet Enabled Enabled Enabled 1000


Back to Contents Page