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.
no port storm-control enable {unknown | broadcast | multicast} {fastethernet | gigaethernetinterface}
unknownEnables storm control for packets with destination address not found in the MAC forwarding table.
broadcastEnables storm control for broadcast packets.
multicastEnables storm control for multicast packets.
fastethernetEnables storm control for FastEthernet ports.
gigaethernetinterfaceGigaEthernet port number.
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 gigaethernetinterface rate
port storm-control rate fastethernet rate
no port storm-control rate gigaethernetinterface
no port storm-control rate fastethernet
gigaethernetinterfaceGigaEthernet port number
rateMaximum number of packets per second (Range: FE: 250 -148000, GE: 250-262143).
Default Configuration
The default frames per second are as follows:
FastEthernet148000
GigaEthernet262143
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
interfaceAn ethernet port. The full syntax is: unit/port.
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 }
port-rangeList of ports to add. Separate non-consecutive ports with a comma and no spaces. A hyphen is used to designate a range of ports.
allAll ethernet ports.
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.
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.
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
halfForces a half-duplex operation
fullForces a full-duplex operation
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.
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.
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
onManual mdix
autoAuto mdi/mdix
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)# mdixauto
.
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.
The displayed port configuration information includes the following:
PortThe port number.
DescriptionIf the port has a description, the description is displayed.
Port TypeThe port designated IEEE shorthand identifier. For example, 1000Base-T refers to 1000 Mbps baseband signaling including both Tx and Rx transmissions.
DuplexDisplays the port duplex status.
SpeedRefers to the port speed.
NegDescribes the auto-negotiation status.
Flow ContDisplays the flow control status.
Back PresDisplays the back pressure status.
Auto MDIXDisplays the auto-crossover status.
Admin StateDisplays whether the port is enabled or disabled.
show interfaces status
Use the show interfaces status privileged EXEC command to display the status for all configured interfaces.
Syntax
show interfaces status [ethernetinterface | port-channel port-channel-number]
ethernet interfaceAn Ethernet port. The full syntax is: unit/port.
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:
PortThe port number.
Port TypeThe port designated IEEE shorthand identifier. For example, 1000Base-T refers to 1000 Mbps baseband signaling including both Tx and Rx transmissions.
DuplexDisplays the port duplex status.
SpeedRefers to the port speed.
NegDescribes the auto-negotiation status.
Flow ContDisplays the flow control status.
Back PresDisplays the back pressure status.
Link StateDisplays the link aggregation status.
show interfaces description
The show interfaces description privileged EXEC command displays the description for all configured interfaces.
Syntax
show interfaces description [ethernetinterface | port-channel port-channel-number | out-of-band-eth oob-interface]
ethernet interfaceAn Ethernet port. The full syntax is: unit/port.
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]