03-Interface Command Reference

HomeSupportSwitchesH3C S7500E-XS Switch SeriesReference GuidesCommand ReferencesH3C S7500E-XS Switch Series Command References-Release7178-6W10003-Interface Command Reference
02-Ethernet interface commands
Title Size Download
02-Ethernet interface commands 196.06 KB

Ethernet interface commands

Common Ethernet interface commands

bandwidth

Use bandwidth to configure the expected bandwidth of an interface.

Use undo bandwidth to restore the default.

Syntax

bandwidth bandwidth-value

undo bandwidth

Default

The expected bandwidth (in kbps) is the interface baud rate divided by 1000.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.

Usage guidelines

The expected bandwidth of an interface affects the link costs in OSPF, OSPFv3, and IS-IS. For more information, see Layer 3—IP Routing Configuration Guide.

Examples

# Set the expected bandwidth of interface Ten-GigabitEthernet 1/1/1 to 1000 kbps.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] bandwidth 1000

Related commands

speed

default

Use default to restore the default settings for an Ethernet interface.

Syntax

default

Views

Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

CAUTION

CAUTION:

The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you use it in a live network.

 

This command might fail to restore the default settings for some commands because of command dependencies or system restrictions. You can use the display this command in interface view to identify these commands, and use their undo forms or follow the command reference to restore their default settings. If your restoration attempt still fails, follow the error message instructions to solve the problem.

Examples

# Restore the default settings for interface Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] default

description

Use description to change the description of an interface.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The description of an interface is the interface name plus Interface (for example, Ten-GigabitEthernet1/1/1 Interface).

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

text: Specifies the interface description, a case-sensitive string of 1 to 255 characters.

Examples

# Change the description of interface Ten-GigabitEthernet 1/1/1 to lan-interface.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] description lan-interface

display counters

Use display counters to display interface traffic statistics.

Syntax

display counters { inbound | outbound } interface [ interface-type [ interface-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

inbound: Displays inbound traffic statistics.

outbound: Displays outbound traffic statistics.

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

Usage guidelines

This command displays traffic statistics within a statistics polling interval specified by using the flow-interval command.

To clear the Ethernet interface traffic statistics, use the reset counters interface command. If you do not specify an interface type, this command displays traffic statistics for all interfaces that have traffic counters.

If you specify an interface type but do not specify an interface number, this command displays traffic statistics for all interfaces of the specified type.

If you specify an interface type and an interface number, this command displays traffic statistics for the specified interface.

Examples

# Display inbound traffic statistics for all Ten-GigabitEthernet interfaces.

<Sysname> display counters inbound interface ten-gigabitEthernet

Interface            Total (pkts)    Broadcast (pkts)    Multicast (pkts)  Err (pkts)

XGE1/1/1                      100                 100                   0           0

XGE1/1/2                        0                   0                   0           0

XGE1/1/3                        0                   0                   0           0

XGE1/1/4                        0                   0                   0           0

 

 Overflow: More than 14 digits (7 digits for column "Err").

       --: Not supported.

Table 1 Command output

Field

Description

Interface

Abbreviated interface name.

Total (pkts)

Total number of packets received or sent through the interface.

Broadcast (pkts)

Total number of broadcast packets received or sent through the interface.

Multicast (pkts)

Total number of multicast packets received or sent through the interface.

Err (pkts)

Total number of error packets received or sent through the interface.

Overflow: More than 14 digits (7 digits for column "Err")

The command displays Overflow when any of the following conditions exist:

·     The data length of an Err field value is greater than 7 decimal digits.

·     The data length of a non-Err field value is greater than 14 decimal digits.

--: Not supported

The statistical item is not supported.

 

Related commands

·     flow-interval

·     reset counters interface

display counters rate

Use display counters rate to display traffic rate statistics for interfaces in up state over the last statistics polling interval.

Syntax

display counters rate { inbound | outbound } interface [ interface-type [ interface-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

inbound: Displays inbound traffic rate statistics.

outbound: Displays outbound traffic rate statistics.

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

Usage guidelines

If you do not specify an interface type, this command displays traffic rate statistics for all up interfaces that have traffic counters over the last statistics polling interval.

If you specify an interface type, this command displays traffic rate statistics for all up interfaces of the specified type over the last statistics polling interval.

If an interface that you specify is always down over the last statistics polling interval, the system prompts that the interface does not support the command.

You can use the flow-interval command to set the statistics polling interval.

Examples

# Display the inbound traffic rate statistics for all Ten-GigabitEthernet interfaces.

<Sysname> display counters rate inbound interface ten-gigabitethernet

Usage: Bandwidth utilization in percentage                                     

Interface             Usage   Total (pps)    Broadcast (pps)    Multicast (pps)

XGE1/1/1                 0%             0                 --                 --

XGE1/1/2                 0%             0                 --                 --

XGE1/1/3                 0%             0                 --                 --

 

 Overflow: More than 14 digits.

       --: Not supported.

Table 2 Command output

Field

Description

Interface

Abbreviated interface name.

Usage

Bandwidth utilization.

Total (pkts/sec)

Average receiving or sending rate (in pps) for unicast packets over the last statistics polling interval.

Broadcast (pkts/sec)

Average receiving or sending rate (in pps) for broadcast packets over the last statistics polling interval.

Multicast (pkts/sec)

Average receiving or sending rate (in pps) for multicast packets over the last statistics polling interval.

Overflow: more than 14 decimal digits

The command displays Overflow if the data length of a statistical item is greater than 14 decimal digits.

--: not supported

The statistical item is not supported.

 

Related commands

·     flow-interval

·     reset counters interface

display ethernet statistics

Use display ethernet statistics to display the Ethernet module statistics.

Syntax

display ethernet statistics slot slot-number

Views

User view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies an IRF member device by its member ID or specifies a PEX by its virtual slot number.

Examples

# Display the Ethernet module statistics for IRF member device 1.

<Sysname> display ethernet statistics slot 1

 

ETH receive packet statistics:                                                 

    Totalnum        : 98251          ETHIINum     : 98251                       

    SNAPNum         : 0              RAWNum       : 0                          

    LLCNum          : 0              UnknownNum   : 0                          

    ForwardNum      : 95704          ARP          : 0                          

    MPLS            : 0              ISIS         : 0                          

    ISIS2           : 0              IP           : 0                          

    IPV6            : 0                                                        

ETH receive error statistics:                                                  

    NullPoint       : 0              ErrIfindex   : 0                          

    ErrIfcb         : 0              IfShut       : 0                          

    ErrAnalyse      : 0              ErrSrcMAC    : 0                          

    ErrHdrLen       : 0                                                        

                                                                               

ETH send packet statistics:                                                    

    L3OutNum        : 4781           VLANOutNum   : 0                          

    FastOutNum      : 3271           L2OutNum     : 0                          

ETH send error statistics:                                                     

    MbufRelayNum    : 0              NullMbuf     : 0                          

    ErrAdjFwd       : 0              ErrPrepend   : 0                          

    ErrHdrLen       : 0              ErrPad       : 0                          

    ErrQosTrs       : 0              ErrVLANTrs   : 0                          

    ErrEncap        : 0              ErrTagVLAN   : 0                          

    IfShut          : 0              IfErr        : 0

Table 3 Output description

Field

Description

ETH receive packet statistics

Statistics about the Ethernet packets received on the Ethernet module.

Totalnum

Total number of received packets:

·     ETHIINum—Number of packets encapsulated by using Ethernet II.

·     SNAPNum—Number of packets encapsulated by using SNAP.

·     RAWNum—Number of packets encapsulated by using RAW.

·     ISIS—Number of packets encapsulated by using IS-IS.

·     LLCNum—Number of packets encapsulated by using LLC.

·     UnknownNum—Number of packets encapsulated by using unknown methods.

·     ForwardNum—Number of packets forwarded at Layer 2 or sent to the CPU.

·     ARP—Number of ARP packets.

·     MPLS—Number of MPLS packets.

·     ISIS—Number of IS-IS packets.

·     ISIS2—Number of large 802.3/802.2 frames encapsulated by using IS-IS.

·     IP—Number of IP packets.

·     IPv6—Number of IPv6 packets.

ETH receive error statistics

Statistics about the error Ethernet packets in the outbound direction on the Ethernet module. Errors might be included in packets or occur during the receiving process. The items include:

·     NullPoint—Number of packets that include null pointers.

·     ErrIfindex—Number of packets that include incorrect interface indexes.

·     ErrIfcb—Number of packets that include incorrect interface control blocks.

·     IfShut—Number of packets that are being received when the interface is shut down.

·     ErrAnalyse—Number of packets that include packet parsing errors.

·     ErrSrcMAC—Number of packets that include incorrect source MAC addresses.

·     ErrHdrLen—Number of packets that include header length errors.

ETH send packet statistics

Statistics about the Ethernet packets sent by the Ethernet module:

·     L3OutNum—Number of packets sent out of Layer 3 Ethernet interfaces.

·     VLANOutNum—Number of packets sent out of VLAN interfaces.

·     FastOutNum—Number of packets fast forwarded.

·     L2OutNum—Number of packets sent out of Layer 2 Ethernet interfaces.

·     MbufRelayNum—Number of packets transparently sent.

ETH send error statistics

Statistics about the error Ethernet packets in the outbound direction on the Ethernet module:

·     NullMbuf—Number of packets with null pointers.

·     ErrAdjFwd—Number of packets with adjacency table errors.

·     ErrPrepend—Number of packets with extension errors.

·     ErrHdrLen—Number of packets with header length errors.

·     ErrPad—Number of packets with padding errors.

·     ErrQoSTrs—Number of packets that failed to be sent by QoS.

·     ErrVLANTrs—Number of packets that failed to be sent in VLANs.

·     ErrEncap—Number of packets that failed to be sent due to link header encapsulation failures.

·     ErrTagVLAN—Number of packets that failed to be sent due to VLAN tag encapsulation failures.

·     IfShut—Number of packets that are being sent when the interface is shut down.

·     IfErr—Number of packets with incorrect outgoing interfaces.

 

Related commands

reset ethernet statistics

display interface

Use display interface to display interface information.

Syntax

display interface [ interface-type ] [ brief [ down ] ]

display interface [ interface-type [ interface-number ] ] [ brief [ description ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.

down: Displays information about interfaces in down state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of each interface description.

Usage guidelines

If you do not specify an interface type, this command displays information about all interfaces.

If you specify an interface type but do not specify an interface number, this command displays information about all interfaces of that type.

If you specify both the interface type and interface number, this command displays information about the specified interface.

Examples

# Display information about Layer 3 interface Ten-GigabitEthernet 1/1/3.

<Sysname> display interface ten-gigabitethernet1/1/3

Ten-GigabitEthernet1/1/3                                                      

Current state: DOWN                                                             

Line protocol state: DOWN                                                      

Description: Ten-GigabitEthernet1/1/3 Interface                               

Bandwidth: 10000000 kbps                                                       

Maximum transmission unit: 1500                                                

Allow jumbo frames to pass                                                     

Broadcast max-ratio: 100%                                                      

Multicast max-ratio: 100%                                                      

Unicast max-ratio: 100%                                                        

Internet protocol processing: Disabled                                         

IP packet frame type: Ethernet II, hardware address: 741f-4a9b-81b6            

IPv6 packet frame type: Ethernet II, hardware address: 741f-4a9b-81b6          

Loopback is not set                                                            

Media type is not sure, port hardware type is No connector                     

Port priority: 0                                                               

Unknown-speed mode, unknown-duplex mode                                        

Link speed type is autonegotiation, link duplex type is autonegotiation        

Flow-control is not enabled                                                    

Maximum frame length: 10000                                                    

Last link flapping: Never                                               

Last clearing of counters: Never                                               

 Peak input rate: 0 bytes/sec, at 2011-01-01 11:05:38                          

 Peak output rate: 0 bytes/sec, at 2011-01-01 11:05:38                         

 Last 300 second input: 0 packets/sec 0 bytes/sec -%                           

 Last 300 second output: 0 packets/sec 0 bytes/sec -%                           

 Input (total):  0 packets, 0 bytes                                            

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses                     

 Input (normal):  0 packets, - bytes                                            

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses                     

 Input:  0 input errors, 0 runts, 0 giants, 0 throttles                        

          0 CRC, 0 frame, - overruns, 0 aborts                                 

          - ignored, - parity errors                                           

 Output (total): 0 packets, 0 bytes                                            

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses                     

 Output (normal): 0 packets, - bytes                                           

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses                     

 Output: 0 output errors, - underruns, - buffer failures                       

          0 aborts, 0 deferred, 0 collisions, 0 late collisions                

          0 lost carrier, - no carrier

# Display detailed information about Layer 2 interface Ten-GigabitEthernet 1/1/3.

<Sysname> display interface ten-gigabitethernet 1/1/3

Ten-GigabitEthernet1/1/3                                                       

Current state: DOWN                                                            

Line protocol state: DOWN                                                      

IP packet frame type: Ethernet II, hardware address: 741f-4a9b-81e1            

Description: Ten-GigabitEthernet1/1/3 Interface                                

Bandwidth: 10000000 kbps                                                       

Loopback is not set                                                             

Media type is not sure, port hardware type is No connector                     

Unknown-speed mode, unknown-duplex mode                                        

Link speed type is autonegotiation, link duplex type is autonegotiation        

Flow-control is not enabled                                                    

Maximum frame length: 10000                                                    

Allow jumbo frames to pass                                                      

Broadcast max-ratio: 100%                                                      

Multicast max-ratio: 100%                                                      

Unicast max-ratio: 100%                                                        

PVID: 1                                                                        

MDI type: Automdix                                                             

Port link-type: Trunk                                                          

 VLAN Passing:   1(default vlan)                                               

 VLAN permitted: 1(default vlan)                                               

 Trunk port encapsulation: IEEE 802.1q                                         

Port priority: 0                                                                

Last link flapping: Never                                                       

Last clearing of counters: Never                                               

 Peak input rate: 0 bytes/sec, at 2011-01-01 11:05:38                          

 Peak output rate: 0 bytes/sec, at 2011-01-01 11:05:38                         

 Last 300 second input: 0 packets/sec 0 bytes/sec -%                           

 Last 300 second output: 0 packets/sec 0 bytes/sec -%                          

 Input (total):  0 packets, 0 bytes                                            

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses                     

 Input (normal):  0 packets, - bytes                                           

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses                     

 Input:  0 input errors, 0 runts, 0 giants, 0 throttles                        

          0 CRC, 0 frame, - overruns, 0 aborts                                 

          - ignored, - parity errors                                           

 Output (total): 0 packets, 0 bytes                                            

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses                     

 Output (normal): 0 packets, - bytes                                           

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses                     

 Output: 0 output errors, - underruns, - buffer failures                       

          0 aborts, 0 deferred, 0 collisions, 0 late collisions                

          0 lost carrier, - no carrier

Table 4 Command output

Field

Description

Current state

State of the interface:

·     Administratively DOWN—The interface was shut down with the shutdown command.

·     DOWN—The interface is administratively up but physically down. There might not be a physical link present or the link has failed.

·     UP—The interface is both administratively and physically up.

Line protocol state

Data link layer state of the interface. The state is determined through parameter negotiation at the data link layer.

·     UP—The interface is up at the data link layer.

·     UP (spoofing)The data link layer protocol of the interface is UP. However, its link is an on-demand link or not present. This attribute is typical of Null interfaces and loopback interfaces.

·     DOWN—The data link layer protocol of the interface is down.

·     DOWN (protocol)The data link layer of the interface is shut down by one or more protocols. The protocol argument can be an arbitrary combination of these protocols: DLDP, OAM, LAGG, BFD, and MACSEC.

¡     When protocol contains DLDP, the data link layer of the interface is down because DLDP detected that the link was unidirectional.

¡     When protocol contains OAM, the data link layer of the interface is down because OAM detected remote link failures.

¡     When protocol contains LAGG, the data link layer of the interface is down because the aggregate interface does not have Selected ports.

¡     When protocol contains BFD, the data link layer of the interface is down because BFD detected a link failure.

¡     When protocol contains MACSEC, the data link layer of the interface is down because MACSEC failed to negotiate the encryption parameters.

Bandwidth

Expected bandwidth of the interface.

Maximum transmission unit

MTU of the interface.

Internet protocol processing: Disabled

The interface cannot process IP packets.

Internet address

Primary IP address of the interface.

IP packet frame type

Ethernet framing format. PKTFMT_ETHNT_2 indicates that the frames are encapsulated in Ethernet II framing format.

hardware address

MAC address of the interface.

IPv6 packet frame type

IPv6 packet framing format.

Loopback is set internal

An internal loopback test is running on the interface.

Loopback is set external

An external loopback test is running on the interface.

Loopback is not set

No loopback test is running on the interface.

10Gbps-speed mode

The interface is operating at 10 Gbps.

40Gbps-speed mode

The interface is operating at 40 Gbps.

Unknown-speed mode

The speed of the interface is unknown because the speed negotiation fails or the interface is physically disconnected.

half-duplex mode

The interface is operating in half duplex mode.

full-duplex mode

The interface is operating in full duplex mode.

unknown-duplex mode

The duplex mode of the interface is unknown because the duplex mode negotiation fails or the interface is physically disconnected.

Link speed type is autonegotiation

The interface is configured with the speed auto command.

Link speed type is force link

The interface is manually configured with a speed by using the speed command.

link duplex type is autonegotiation

The interface is configured with the duplex auto command.

link duplex type is force link

The interface is manually configured with a duplex mode by using the duplex command.

Flow-control is not enabled

Generic flow control is disabled on the interface.

Maximum frame length

Maximum length of Ethernet frames allowed to pass through the interface.

Last link flapping

The amount of time that has elapsed since the most recent physical state change of the interface. This field displays Never if the interface has been physically down since device startup.

Allow jumbo frame to pass

The interface allows jumbo frames to pass through.

Broadcast max-

Broadcast storm suppression threshold in ratio, pps, or kbps. The unit of the threshold depends on your configuration.

Multicast max-

Multicast suppression threshold in ratio, pps, or kbps. The unit of the threshold depends on your configuration.

Unicast max-

Unknown unicast suppression threshold in ratio, pps, or kbps. The unit of the threshold depends on your configuration.

PVID

Port VLAN ID (PVID) of the interface.

MDI type

MDIX mode of the interface:

·     Automdix.

·     Mdi.

·     Mdix.

Port link-type

Link type of the interface:

·     Access.

·     Trunk.

·     Hybrid.

Tagged VLANs

VLANs for which the interface sends packets without removing VLAN tags.

Untagged VLANs

VLANs for which the interface sends packets after removing VLAN tags.

Port priority

Priority of the interface.

Last 300 seconds input:  0 packets/sec 0 bytes/sec 0%

Last 300 seconds output:  0 packets/sec 0 bytes/sec 0%

Average inbound or outbound traffic rate (in pps and Bps) in the last 300 seconds, and the ratio of the actual rate to the interface bandwidth.

A hyphen (-) indicates that the statistical item is not supported.

Input(total):  0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

The two fields on the first line represent the inbound traffic statistics (in packets and bytes) for the interface. All inbound normal packets, abnormal packets, and normal pause frames were counted.

The four fields on the second line represent:

·     Number of inbound unicast packets.

·     Number of inbound broadcasts.

·     Number of inbound multicasts.

·     Number of inbound pause frames.

A hyphen (-) indicates that the statistical item is not supported.

Input(normal):  0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

The two fields on the first line represent the inbound normal traffic and pause frame statistics (in packets and bytes) for the interface.

The four fields on the second line represent:

·     Number of inbound normal unicast packets.

·     Number of inbound normal broadcasts.

·     Number of inbound normal multicasts.

·     Number of inbound normal pause frames.

A hyphen (-) indicates that the statistical item is not supported.

input errors

Statistics of incoming error packets.

runts

Number of inbound frames meeting the following conditions:

·     Shorter than 64 bytes.

·     In correct format.

·     Containing valid CRCs.

giants

Number of inbound giants. Giants refer to frames larger than the maximum frame length supported on the interface.

For an Ethernet interface that does not permit jumbo frames, the maximum frame length is as follows:

·     1518 bytes (without VLAN tags).

·     1522 bytes (with VLAN tags).

For an Ethernet interface that permits jumbo frames, the maximum Ethernet frame length is configured when you configure jumbo frame support on the interface.

throttles

Number of inbound frames that had a non-integer number of bytes.

CRC

Total number of inbound frames that had a normal length, but contained CRC errors.

frame

Total number of inbound frames that contained CRC errors and a non-integer number of bytes.

overruns

Number of packets dropped because the input rate of the port exceeded the queuing capability.

aborts

Total number of illegal inbound packets:

·     Fragment frames—CRC error frames shorter than 64 bytes. The length (in bytes) can be an integral or non-integral value.

·     Jabber frames—CRC error frames greater than the maximum frame length supported on the Ethernet interface (with an integral or non-integral length).

¡     For an Ethernet interface that does not permit jumbo frames, the maximum frame length is 1518 bytes (without VLAN tags) or 1522 bytes (with VLAN tags).

¡     For an Ethernet interface that permits jumbo frames, the maximum Ethernet frame length is configured when you configure jumbo frame support on the interface.

·     Symbol error frames—Frames that contained at least one undefined symbol.

·     Unknown operation code frames—Non-pause MAC control frames.

·     Length error frames—Frames whose 802.3 length fields did not match the actual frame length (46 to 1500 bytes).

ignored

Number of inbound frames dropped because the receiving buffer of the port ran low.

parity errors

Total number of frames with parity errors.

Output(total): 0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

The two fields on the first line represent the outbound traffic statistics (in packets and bytes) for the interface. All outbound normal packets, abnormal packets, and normal pause frames were counted.

The four fields on the second line represent:

·     Number of outbound unicast packets.

·     Number of outbound broadcasts.

·     Number of outbound multicasts.

·     Number of outbound pause frames.

A hyphen (-) indicates that the statistical item is not supported.

Output(normal): 0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

The two fields on the first line represent the outbound normal traffic and pause frame statistics (in packets and bytes) for the interface.

The four fields on the second line represent:

·     Number of outbound normal unicast packets.

·     Number of outbound normal broadcasts.

·     Number of outbound normal multicasts.

·     Number of outbound normal pause frames.

A hyphen (-) indicates that the statistical item is not supported.

output errors

Number of outbound packets with errors.

underruns

Number of packets dropped because the output rate of the interface exceeded the output queuing capability. This is a low-probability hardware anomaly.

buffer failures

Number of packets dropped because the transmitting buffer of the interface ran low.

aborts

Number of packets that failed to be transmitted, for example, because of Ethernet collisions.

deferred

Number of frames that the interface deferred to transmit because of detected collisions.

collisions

Number of frames that the interface stopped transmitting because Ethernet collisions were detected during transmission.

late collisions

Number of frames that the interface deferred to transmit after transmitting their first 512 bits because of detected collisions.

lost carrier

Number of carrier losses during transmission. This counter increases by one when a carrier is lost, and applies to serial WAN interfaces.

no carrier

Number of times that the port failed to detect the carrier when attempting to send frames. This counter increases by one when a port failed to detect the carrier, and applies to serial WAN interfaces.

Peak input rate

Peak rate of inbound traffic in Bps, and the time when the peak inbound traffic rate occurred.

Peak output rate

Peak rate of outbound traffic in Bps, and the time when the peak outbound traffic rate occurred.

 

# Display brief information about all interfaces.

<Sysname> display interface brief

Brief information on interfaces in route mode:                                 

Link: ADM - administratively down; Stby - standby                              

Protocol: (s) - spoofing                                                       

Interface            Link Protocol Primary IP      Description                 

M-GE0/0/0            UP   UP       192.168.3.75                                

XGE1/1/2             DOWN DOWN     81.81.81.8                                  

                                                                                

Brief information on interfaces in bridge mode:                                

Link: ADM - administratively down; Stby - standby                              

Speed: (a) - auto                                                               

Duplex: (a)/A - auto; H - half; F - full                                       

Type: A - access; T - trunk; H - hybrid                                        

Interface            Link Speed   Duplex Type PVID Description                 

XGE1/1/1             DOWN auto    A      --   --                               

# Display brief information about interface Ten-GigabitEthernet 1/1/3, including the complete description of the interface.

<Sysname> display interface Ten-GigabitEthernet 1/1/3 brief description

Brief information on interfaces in bridge mode:                                

Link: ADM - administratively down; Stby - standby                               

Speed: (a) - auto                                                              

Duplex: (a)/A - auto; H - half; F - full                                       

Type: A - access; T - trunk; H - hybrid                                        

Interface            Link Speed   Duplex Type PVID Description                 

XGE1/2/3             DOWN auto    A      T    1

# Display information about interfaces in DOWN state and the causes.

<Sysname> display interface brief down

Brief information on interfaces in route mode:                                 

Link: ADM - administratively down; Stby - standby                              

Interface            Link   Cause                                              

XGE1/1/2             DOWN   Not connected                                      

                                                                               

Brief information on interfaces in bridge mode:                                

Link: ADM - administratively down; Stby - standby                              

Interface            Link   Cause                                              

XGE1/1/1             DOWN   Not connected                                      

XGE1/1/3             DOWN   Not connected                                       

XGE1/1/4             DOWN   Not connected                                      

Table 5 Command output

Field

Description

Brief information on interfaces in route mode:

Brief information about Layer 3 interfaces.

Link: ADM - administratively down; Stby - standby

Link status:

·     ADM—The interface has been shut down by the network administrator. To recover its physical layer state, use the undo shutdown command.

·     Stby—The interface is operating as a backup interface.

Protocol: (s) – spoofing

This field displays UP (s), where s represents the spoofing flag, when the following conditions exist:

·     The data link layer protocol of the interface is UP.

·     The link of the interface is an on-demand link or not present.

This attribute is typical of interface Null 0 and loopback interfaces.

Interface

Interface name.

Link

Physical link state of the interface:

·     UP—The interface is physically up.

·     DOWN—The interface is physically down.

·     ADM—The interface has been administratively shut down. To bring up the interface, use the undo shutdown command.

·     Stby—The interface is a standby interface.

Protocol

Data link layer protocol state of the interface:

·     UP—The data link layer protocol of the interface is up.

·     DOWN—The data link layer protocol of the interface is down.

·     UP(s)—The data link layer protocol of the interface is up. However, the link is an on-demand link or not present. This value is typical of interface Null 0 and loopback interfaces.

Primary IP

Primary IP address of the interface. A hyphen (-) indicates that the interface is not configured with an IP address.

Description

Partial or complete interface description configured by using the description command:

·     If you do not specify the description keyword for the display interface brief command, this field displays only the first 27 characters of the interface description.

·     If you specify the description keyword for the display interface brief command, this field displays the complete interface description.

Brief information on interfaces in bridge mode:

Brief information about Layer 2 interfaces.

Speed: (a) - auto

If the speed of an interface is automatically negotiated, the speed attribute of the interface includes the autonegotiation flag (the letter a in parentheses).

If an interface is configured to autonegotiate its speed but the autonegotiation has not started, its speed attribute is displayed as auto.

Duplex: (a)/A - auto; H - half; F – full

If the duplex mode of an interface is automatically negotiated, the duplex mode attribute of the interface includes the letter a in parentheses. H indicates the half duplex mode. F indicates the full duplex mode.

If an interface is configured to autonegotiate its duplex mode but the autonegotiation has not started, its duplex mode attribute is displayed as A.

Type: A - access; T - trunk; H – hybrid

Link type options for interfaces.

Speed

Interface rate, in bps.

Duplex

Duplex mode of the interface:

·     AAutonegotiation.

·     FFull duplex.

·     F(a)Autonegotiated full duplex.

·     HHalf duplex.

·     H(a)Autonegotiated half duplex.

Type

Link type of the interface:

·     AAccess.

·     HHybrid.

·     TTrunk.

PVID

Port VLAN ID.

Cause

Cause for the physical link state of an interface to be DOWN:

·     Administratively—The interface is manually shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command.

·     DOWN ( Link-Aggregation interface down )—The interface is a member port of an aggregate interface, and the aggregate interface is shut down.

·     DOWN (Loopback detection down)The interface is shut down because the loopback detection module has detected loops.

·     DOWN ( Monitor-Link uplink down )The interface is shut down because the monitor link module has detected that the uplink is down.

·     MAD ShutDownAfter an IRF split, all interfaces except the excluded ports in the IRF in recovery state are physically down.

·     Not connected—The interface is down because no physical connection exists (possibly because the network cable is disconnected or faulty).

·     Storm-ConstrainThe interface is shut down because the unknown unicast traffic, multicast traffic, or broadcast traffic exceeds the upper threshold.

·     STP DOWNThe interface is shut down by the STP BPDU guard function.

·     Port Security Disabled—The interface is shut down by the intrusion detection mechanism because the port receives illegal packets.

·     Standby—The interface is in Standby state.

 

Related commands

reset counters interface

display packet-drop

Use display packet-drop to display information about packets dropped on an interface or multiple interfaces.

Syntax

display packet-drop { interface [ interface-type [ interface-number ] ] | summary }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type. If you do not specify an interface type, this command displays information about dropped packets on all interfaces on the device.

interface-number: Specifies an interface number. If you specify an interface type only, this command displays information about dropped packets on the specified type of interfaces.

summary: Displays the summary of dropped packets on all interfaces.

Examples

# Display information about dropped packets on Ten-GigabitEthernet 1/1/1.

<Sysname> display packet-drop interface Ten-GigabitEthernet 1/1/1

Ten-GigabitEthernet1/1/1:

  Packets dropped due to full GBP or insufficient bandwidth: 0                 

  Packets dropped due to Fast Filter Processor (FFP): 0                        

  Packets dropped due to STP non-forwarding state: 0

# Display the summary of dropped packets on all interfaces.

<Sysname> display packet-drop summary

All interfaces:

  Packets dropped due to full GBP or insufficient bandwidth: 0                 

  Packets dropped due to Fast Filter Processor (FFP): 0                        

  Packets dropped due to STP non-forwarding state: 0

Table 6 Command output

Field

Description

Packets dropped due to full GBP or insufficient bandwidth

Packets that are dropped because the buffer is used up or the bandwidth is insufficient.

Packets dropped due to Fast Filter Processor (FFP)

Packets that are filtered out.

Packets dropped due to STP non-forwarding state

Packets that are dropped because STP is in the non-forwarding state.

 

duplex

Use duplex to set the duplex mode for an Ethernet interface.

Use undo duplex to restore the default.

Syntax

duplex { auto | full | half }

undo duplex

Default

10-GE and 40-GE interfaces operate in full duplex mode, and all other types of Ethernet interfaces operate in autonegotiation mode.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

auto: Configures the interface to autonegotiate the duplex mode with the peer.

full: Configures the interface to operate in full duplex mode. In this mode, the interface can receive and transmit packets simultaneously.

half: Configures the interface to operate in half duplex mode. In this mode, the interface can only receive or transmit packets at a given time. Copper ports operating at 1000 Mbps or 10000 Mbps and fiber ports do not support this keyword.

Usage guidelines

For Ethernet interfaces connected to the same cable to operate correctly, you must configure the same duplex mode for them.

Examples

# Configure interface Ten-GigabitEthernet 1/1/1 to operate in full duplex mode.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] duplex full

eee enable

IMPORTANT

IMPORTANT:

Fiber ports do not support this command.

 

Use eee enable to enable Energy Efficient Ethernet (EEE) on an interface.

Use undo eee enable to restore the default.

Syntax

eee enable

undo eee enable

Default

EEE is disabled.

Views

Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

For this command to take effect on an interface, configure the interface to automatically negotiate a speed or duplex mode with the remote end.

With EEE enabled, a link-up interface enters low power state if it has not received any packet for a period of time. The time period depends on the chip specifications and is not configurable. When a packet arrives later, the interface restores to the normal state.

Examples

# Enable EEE on Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] eee enable

flow-control

IMPORTANT

IMPORTANT:

·     This command is not applicable to interfaces that operate in half duplex mode.

·     Configuring the flow-control or undo flow-control command on an interface will cause the interface to go down and then come up.

 

Use flow-control to enable TxRx-mode generic flow control on an Ethernet interface.

Use undo flow-control to disable generic flow control on the Ethernet interface.

Syntax

flow-control

undo flow-control

Default

Generic flow control is disabled on an Ethernet interface.

Views

Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

With TxRx-mode generic flow control configured, an interface can both send and receive flow control frames.

·     When congested, the interface sends a flow control frame to its peer.

·     Upon receiving a flow control frame from the peer, the interface suspends sending packets.

To implement flow control on a link, enable generic flow control at both ends of the link.

Examples

# Enable TxRx-mode generic flow control on the interface Ten-GigabitEthernet 1/1/2.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/2

[Sysname-Ten-GigabitEthernet1/1/2] flow-control

flow-control receive enable

IMPORTANT

IMPORTANT:

·     This command is not applicable to interfaces that operate in half duplex mode.

·     Configuring the flow-control receive enable or undo flow-control command on an interface will cause the interface to go down and then come up.

 

Use flow-control receive enable to enable Rx-mode generic flow control on an Ethernet port.

Use undo flow-control to disable generic flow control on an Ethernet interface.

Syntax

flow-control receive enable

undo flow-control

Default

Rx-mode flow control is disabled on Ethernet interfaces.

Views

Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

With Rx-mode flow control enabled, an interface can receive but cannot send flow control frames.

·     Upon receiving a flow control frame from the peer, the interface suspends sending packets to the peer.

·     When congested, the interface cannot send flow control frames to the peer.

To handle unidirectional traffic congestion on a link, configure the flow-control receive enable command at one end, and configure the flow-control command at the other. To enable both ends of the link to handle traffic congestion, configure the flow-control command at both ends.

Examples

# Enable Rx-mode generic flow control on Ten-GigabitEthernet 1/1/2.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/2

[Sysname-Ten-GigabitEthernet1/1/2] flow-control receive enable

Related commands

flow-control

flow-interval

Use flow-interval to set the statistics polling interval.

Use undo flow-interval to restore the default.

Syntax

flow-interval interval

undo flow-interval

Default

The statistics polling interval is 300 seconds.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

interval: Sets the statistics polling interval, in seconds. The interval is in the range of 5 to 300 and must be a multiple of 5.

Examples

# Set the statistics polling interval to 100 seconds on Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] flow-interval 100

interface

Use interface to enter interface view.

Syntax

interface interface-type interface-number

Views

System view

Predefined user roles

network-admin

Parameters

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

Examples

# Enter Ten-GigabitEthernet 1/1/1 interface view.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1]

jumboframe enable

Use jumboframe enable to allow jumbo frames within the specified length to pass through.

Use undo jumboframe enable to prevent jumbo frames from passing through.

Syntax

jumboframe enable [ value ]

undo jumboframe enable

Default

The device allows jumbo frames within 9216 bytes to pass through.

Views

Layer 2 Ethernet interface view, Layer 3 Ethernet interface view

Predefined user roles

network-admin

Parameters

value: Sets the maximum length of Ethernet frames that are allowed to pass through. The value range for this argument is 1536 to 9216.

Usage guidelines

If you set the value argument multiple times, the most recent configuration takes effect.

Examples

# Allow jumbo frames to pass through Ten-GigabitEthernet 1/1/2.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/2

[Sysname-Ten-GigabitEthernet1/1/2] jumboframe enable

link-delay

Use link-delay to set the physical state change suppression interval on an Ethernet interface.

Use undo link-delay to restore the default.

Syntax

link-delay [ msec ] delay-time [ mode { up | updown } ]

undo link-delay

Default

Physical state change suppression is disabled.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

msec: Enables the physical state change suppression interval to be accurate to milliseconds. If you do not specify this keyword, the suppression interval is accurate to seconds.

delay-time: Sets the physical state change suppression interval on the Ethernet interface. A value of 0 means that physical state changes are immediately reported to the CPU and are not suppressed.

·     If you do not specify the msec keyword, the value range is 0 to 30 seconds.

·     If you specify the msec keyword, the value range is 0 to 10000 milliseconds, and the value must be a multiple of 100.

mode up: Suppresses the link-up events.

mode updown: Suppresses both the link-up and link-down events.

Usage guidelines

You can configure this feature to suppress only link-down events, only link-up events, or both. If an event of the specified type still exists when the suppression interval expires, the system reports the event.

When you configure this feature, follow these guidelines:

·     To suppress only link-down events, configure the link-delay [ msec ] delay-time command.

·     To suppress only link-up events, configure the link-delay [ msec ] delay-time mode up command.

·     To suppress both link-down and link-up events, configure the link-delay [ msec ] delay-time mode updown command.

On an interface, you can configure different suppression intervals for link-up and link-down events. If you configure the link-delay command multiple times for link-up or link-down events, the most recent configuration takes effect.

Do not configure this command on an interface with RRPP, MSTP, or Smart Link enabled.

Examples

# Set the link-down event suppression interval to 8 seconds on interface Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] link-delay 8

# Set the link-up event suppression interval to 800 milliseconds on interface Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] link-delay msec 800 mode up

loopback

CAUTION

CAUTION:

After you enable loopback testing on an Ethernet interface, the interface does not forward data traffic.

 

IMPORTANT

IMPORTANT:

This command is used only for debugging and troubleshooting.

 

Use loopback to enable loopback testing on an Ethernet interface.

Use undo loopback to disable loopback testing on an Ethernet interface.

Syntax

loopback { external | internal }

undo loopback

Default

Loopback testing is disabled on an Ethernet interface.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

external: Enables external loopback testing on the Ethernet interface.

internal: Enables internal loopback testing on the Ethernet interface.

Usage guidelines

You cannot enable loopback testing on an administratively shut down Ethernet interface (displayed as in ADM or Administratively DOWN state).

After you enable loopback testing on an Ethernet interface, the speed, duplex, mdix-mode, port up-mode, and shutdown commands are not available on the Ethernet interface.

After you enable loopback testing on an Ethernet interface, the Ethernet interface switches to full duplex mode. After you disable loopback testing, the Ethernet interface restores to its duplex setting.

Do not configure both this command and the voice-vlan vlan-id enable, mac-address max-mac-count count, undo mac-address mac-learning enable, dot1x, or mac-authentication command on an interface. Otherwise, these commands cannot take effect. To enable these commands to take effect, configure the undo loopback command and then these commands again.

Examples

# Enable internal loopback testing on Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] loopback internal

port link-mode

Use port link-mode to change the link mode of an Ethernet interface.

Use undo port link-mode to restore the default.

Syntax

port link-mode { bridge | route }

undo port link-mode

Default

An Ethernet interface operates in bridge mode.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

bridge: Specifies the Layer 2 mode.

route: Specifies the Layer 3 mode.

Usage guidelines

An Ethernet interface can operate in either of the following modes:

·     bridge—The Ethernet interface operates as an Layer 2 interface.

·     route—The Ethernet interface operates as an Layer 3 interface.

This command is not applicable to IRF physical interfaces and reflector ports of a remote source group. For more information about reflector ports, see Network Management and Monitoring Configuration Guide.

Changing the link mode of an Ethernet interface also restores all commands (except shutdown) on the Ethernet interface to their defaults in the new link mode.

Examples

# Configure Ten-GigabitEthernet 1/1/2 to operate in Layer 2 mode.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/1/2

[Sysname-Ten-GigabitEthernet1/1/2] port link-mode bridge

port up-mode

CAUTION

CAUTION:

The following operations on a fiber port will cause link-down and link-up events before the port finally stays up:

·     Configure both the port up-mode command and the speed or duplex command.

·     Install or remove fibers or transceiver modules after you forcibly bring up the fiber port.

 

Use port up-mode to forcibly bring up a fiber port.

Use undo port up-mode to restore the default.

Syntax

port up-mode

undo port up-mode

Default

A fiber Ethernet port is not forcibly brought up. The physical state of a fiber port depends on the physical state of the fibers.

Views

Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

This command forcibly brings up a fiber Ethernet port and enables the port to forward packets unidirectionally over a single link. In this way, transmission links are well utilized.

Copper ports do not support this command.

The port up-mode command is mutually exclusive with both the shutdown and loopback commands.

Examples

# Forcibly bring up the fiber port Ten-GigabitEthernet 1/1/2.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/2

[Sysname-Ten-GigabitEthernet1/1/2] port up-mode

priority-flow-control

Use priority-flow-control to enable PFC in auto mode or forcibly.

Use undo priority-flow-control to disable PFC.

Syntax

priority-flow-control { auto | enable }

undo priority-flow-control

Default

PFC is disabled on Ethernet interfaces.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

auto: Specifies PFC in auto mode. In this mode, the local end automatically negotiates the PFC status with its peer.

enable: Forcibly enables PFC.

Usage guidelines

When congestion occurs in the network, the local device notifies the peer to stop sending packets carrying the specified 802.1p priority if all of the following conditions exist:

·     Both the local end and the remote end have PFC enabled.

·     Both the local end and the remote end have the priority-flow-control no-drop dot1p command configured.

·     The specified 802.1p priority is in the 802.1p priority list specified by the dot1p-list argument.

·     The local end receives a packet carrying the specified 802.1p priority.

Examples

# Enable PFC in auto mode on Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] priority-flow-control auto

Related commands

priority-flow-control no-drop dot1p

priority-flow-control no-drop dot1p

Use priority-flow-control no-drop dot1p to enable PFC for 802.1p priorities.

Use undo priority-flow-control no-drop dot1p to restore the default.

Syntax

priority-flow-control no-drop dot1p dot1p-list

undo priority-flow-control no-drop dot1p

Default

PFC is disabled for all 802.1p priorities.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

dot1p-list: Specifies an 802.1p priority (or dot1p priority) list to identify flows that are subject to PFC (for example: 1,3-5). A hyphen (-) connects two numeric values, which together indicate a continuous value range. Different values or value ranges are separated with commas (,). You can configure up to 16 characters for this argument.

Usage guidelines

After you enable PFC for an 802.1p priority, make sure the 802.1p priority uses the default 802.1p-local priority map. For more information about the default 802.1p-local priority map, see ACL and QoS Configuration Guide.

Use the qos map-table command to map an 802.1p priority to a local priority. For more information about the qos map-table command, see ACL and QoS Command Reference.

For IRF and other protocols to operate correctly, do not enable PFC for 802.1p priorities 0, 6, and 7.

To avoid packet dropping, apply the same PFC configuration to all interfaces that the packets pass through.

When congestion occurs in the network, a packet is transmitted preferentially if both of the following conditions exist:

·     Both the local end and the remote end have PFC enabled and have the priority-flow-control no-drop dot1p command configured.

·     The 802.1p priority of the packet received on the local end is within the 802.1p priority list specified by the dot1p-list argument.

·     The relationship between PFC and generic flow control is shown in Table 7.

Table 7 The relationship between PFC and generic flow control

flow-control

priority-flow-control enable

priority-flow-control no-drop dot1p

Remarks

Unconfigurable

Configured

Configured

After you enable PFC on an interface and for the specified 802.1p priorities, you cannot enable the generic flow control feature on the interface.

Configured

Configurable

Unconfigurable

After you enable the generic flow control feature on an interface, you can enable PFC on the interface but not for the specified 802.1p priorities.

 

Examples

# Enable PFC in auto mode on Ten-GigabitEthernet 1/1/1, and enable PFC for 802.1p priority 5.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] priority-flow-control auto

[Sysname-Ten-GigabitEthernet1/1/1] priority-flow-control no-drop dot1p 5

Related commands

·     priority-flow-control

·     flow-control

·     flow-control receive enable

reset counters interface

Use reset counters interface to clear the Ethernet interface statistics.

Syntax

reset counters interface [ interface-type [ interface-number ] ]

Views

User view

Predefined user roles

network-admin

Parameters

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

Usage guidelines

Use this command to clear history statistics if you want to collect traffic statistics for a specific time period.

If you do not specify an interface type, this command clears statistics for all interfaces.

If you specify only the interface type, this command clears statistics for all interfaces of that type.

If you specify both the interface type and the interface number, this command clears statistics for the specified interface.

Examples

# Clear the statistics for Ten-GigabitEthernet 1/1/1.

<Sysname> reset counters interface ten-gigabitEthernet 1/1/1

Related commands

·     display interface

·     display counters interface

·     display counters rate interface

reset ethernet statistics

Use reset ethernet statistics to clear the Ethernet module statistics.

Syntax

reset ethernet statistics slot slot-number

Views

User view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies an IRF member device by its member ID or specifies a PEX by its virtual slot number.

Examples

# Clear the Ethernet module statistics on IRF member device 1.

<Sysname> reset ethernet statistics slot 1

Related commands

display ethernet statistics

reset packet-drop interface

Use reset packet-drop interface to clear the dropped packet statistics for an interface or multiple interfaces.

Syntax

reset packet-drop interface [ interface-type [ interface-number ] ]

Views

User view

Predefined user roles

network-admin

Parameters

interface-type: Specify an interface type. If you do not specify an interface type, this command clears dropped packet statistics for all interfaces on the device.

interface-number: Specify an interface number. If you do not specify this argument, the command clears dropped packet statistics for all interfaces of the specified type.

Examples

# Clear dropped packet statistics for Ten-GigabitEthernet 1/1/1.

<Sysname> reset packet-drop interface ten-gigabitEthernet 1/1/1

# Clear dropped packet statistics for all interfaces.

<Sysname> reset packet-drop interface

Related commands

display packet-drop

shutdown

Use shutdown to shut down an Ethernet interface.

Use undo shutdown to bring up an Ethernet interface.

Syntax

shutdown

undo shutdown

Default

An Ethernet interface is up.

Views

Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

Some interface configurations might require an interface restart before taking effect.

Examples

# Shut down and then bring up Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] shutdown

[Sysname-Ten-GigabitEthernet1/1/1] undo shutdown

speed

Use speed to set the speed of an Ethernet interface.

Use undo speed to restore the default.

Syntax

speed { 10 | 100 | 1000 | 10000 | 40000 | auto }

undo speed

Default

The speeds of Ethernet interfaces are autonegotiated.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

10: Sets the interface speed to 10 Mbps.

100: Sets the interface speed to 100 Mbps.

1000: Sets the interface speed to 1000 Mbps.

10000: Sets the interface speed to 10000 Mbps.

40000: Sets the interface speed to 40000 Mbps.

auto: Enables the interface to negotiate a speed with its peer.

Usage guidelines

For Ethernet interfaces connected to the same cable to operate correctly, you must configure the same speed for them.

For an Ethernet copper port, use the speed command to set its speed to match the speed of the peer interface.

For a fiber port, use the speed command to set its speed to match the rate of a transceiver module.

Support for the command keywords depends on the interface type. For more information, execute the speed ? command in interface view.

Examples

# Configure Ten-GigabitEthernet 1/1/1 to autonegotiate the speed.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] speed auto

using fortygige

Use using fortygige to combine four 10-GE breakout interfaces split from a 40-GE interface into a 40-GE interface.

Use undo using fortygige to cancel the configuration.

Syntax

using fortygige

undo using fortygige

Default

A 40-GE interface is not split and operates as a single interface.

Views

10-GE breakout interface view

Predefined user roles

network-admin

Usage guidelines

If you need higher bandwidth on a single interface, you can combine four 10-GE breakout interfaces split from a 40-GE interface into a 40-GE interface. To do so, execute this command on any of these 10-GE breakout interfaces.

After this command is successfully configured to combine four 10-GE breakout interfaces into a 40-GE interface, the system deletes the four 10-GE breakout interfaces and creates the combined 40-GE interface.

For this configuration to survive a reboot on an IRF member device, save the running configuration before rebooting it.

After executing this command, you do not need to reboot the device. To view information about the 40-GE interface, execute the display interface brief command.

Examples

# Combine 10-GE breakout interfaces Ten-GigabitEthernet 1/1/4:1 through Ten-GigabitEthernet 1/1/4:4 into a 40-GE interface.

<System> system-view

[System] interface ten-gigabitethernet1/1/4:1

[System-Ten-GigabitEthernet1/1/4:1] using fortygige

The interfaces Ten-GigabitEthernet1/1/4:1 through Ten-GigabitEthernet1/1/4:4 will be deleted. Continue? [Y/N]:y

Related commands

using tengige

using tengige

Use using tengige to split a high bandwidth interface into multiple 10-GE breakout interfaces.

Use undo using tengige to cancel the configuration.

Syntax

using tengige

undo using tengige

Default

A high bandwidth interface is not split and operates as a single interface.

Views

40-GE interface view

Predefined user roles

network-admin

Usage guidelines

To improve port density, reduce costs, and improve network flexibility, you can split a high bandwidth interface into multiple 10-GE breakout interfaces. For example, you can split a 40-GE interface FortyGigE 1/1/1 into four 10-GE breakout interfaces Ten-GigabitEthernet 1/1/1:1 through Ten-GigabitEthernet 1/1/1:4.

The 10-GE breakout interfaces support the same configuration and attributes as common 10-GE interfaces, except that they are numbered in a different way.

After this command is successfully configured, the system deletes the high bandwidth interface and creates the 10-GE breakout interfaces.

After executing this command, you do not need to reboot the device. To view information about the 10-GE breakout interfaces, execute the display interface brief command.

For this configuration to survive a reboot on an IRF member device, save the running configuration before rebooting it.

For an S7502E-XS switch, all 40-GE interfaces support this command.

For an S7504E-XS switch, only the 40-GE interfaces numbered 1 through 6 on the LSQM1QGS8A0 interface module support this command.

Examples

# Split 40-GE interface FortyGigE 1/1/4 into four 10-GE breakout interfaces.

<System> system-view

[System] interface FortyGigE 1/1/4

[System-FortyGigE1/1/4] using tengige

The interface FortyGigE1/1/4 will be deleted. Continue? [Y/N]:y

Related commands

using fortygige

Layer 2 Ethernet interface commands

broadcast-suppression

Use broadcast-suppression to enable broadcast suppression and set the broadcast suppression threshold.

Use undo broadcast-suppression to restore the default.

Syntax

broadcast-suppression { ratio | pps max-pps | kbps max-kbps }

undo broadcast-suppression

Default

Ethernet interfaces do not suppress broadcast traffic.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

ratio: Sets the broadcast suppression threshold as a percentage of the interface bandwidth. The value range for this argument is 0 to 100. A smaller value means that less broadcast traffic is allowed to pass through.

pps max-pps: Specifies the maximum number of broadcast packets that the interface can forward per second. The value range for the max-pps argument (in pps) is 0 to 1.4881 × the interface bandwidth.

kbps max-kbps: Specifies the maximum number of kilobits of broadcast traffic that the Ethernet interface can forward per second. The value range for this argument (in kbps) is 0 to the interface bandwidth.

Usage guidelines

To configure any combination of the unicast-suppression, multicast-suppression, and broadcast-suppression commands on an interface of this device, set the same parameter for these commands.

PEXs do not support unknown unicast suppression. To configure the multicast-suppression command together with the broadcast-suppression command on an PEX physical interface in an IRF 3 system, set the same parameter for both commands. For example, if the multicast suppression threshold is configured in kbps, the broadcast suppression threshold must also be configured in kbps.

The broadcast storm suppression features limits the size of broadcast traffic to a threshold on an interface. When the broadcast traffic on the interface exceeds this threshold, the system drops packets until the traffic drops below this threshold.

Both storm-constrain and broadcast-suppression can suppress broadcast storm on a port. The broadcast-suppression command uses the chip to physically suppress broadcast traffic. It has less influence on the device performance than the storm-constrain command, which uses software to suppress broadcast traffic.

Do not configure both the storm constrain broadcast command and the broadcast-suppression command on an interface. Otherwise, the traffic suppression result is not determined.

When you configure the suppression threshold in kbps, the actual suppression threshold might be different from the configured one as follows:

·     If the configured value is smaller than 64, the value of 64 takes effect.

·     If the configured value is greater than 64 but not an integer multiple of 64, the integer multiple of 64 that is greater than and closest to the configured value takes effect.

To determine the suppression threshold that takes effect, see the prompts on the switch.

Examples

# Set the broadcast suppression threshold to 10000 kbps on Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] broadcast-suppression kbps 10000

The actual value is 10048 on port Ten-GigabitEthernet1/1/1 currently.

The output shows that the value that takes effect is 10048 kbps (157 times of 64), because the chip only supports step 64.

Related commands

·     multicast-suppression

·     unicast-suppression

display storm-constrain

Use display storm-constrain to display storm control settings and statistics.

Syntax

display storm-constrain [ broadcast | multicast | unicast ] [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

broadcast: Displays broadcast storm control settings and statistics.

multicast: Displays multicast storm control settings and statistics.

unicast: Displays unknown unicast storm control settings and statistics.

interface interface-type interface-number: Specifies an interface by its type and number.

Usage guidelines

If you do not specify any keywords, this command displays all storm control settings on all storm control-enabled interfaces.

Examples

# Display the storm control settings on all storm control-enabled ports.

<Sysname> display storm-constrain

 Abbreviation: BC - broadcast; MC - multicast; UC - unicast

               FW - forwarding                                                 

 Flow Statistic Interval: 10 (in seconds)                                      

Port          Type Lower     Upper     Unit   CtrlMode  Status     Trap Log   SwitchNum

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

XGE1/1/1      MC   100      200        kbps   shutdown  shutdown   off  on    10

XGE1/1/2      UC   200      300        kbps   shutdown  normal     off  on    33

XGE1/1/3      BC   500      1500       pps    N/A       normal     on   on    0

Table 8 Command output

Field

Description

Flow Statistic Interval

Traffic polling interval (in seconds) of the storm control module.

Port

Abbreviated interface name.

Type

Type of traffic subjected to storm control:

·     BC—Broadcast packets.

·     MC—Multicast packets.

·     UC—Unknown unicast packets.

Lower

Lower storm control threshold, in pps, kbps, or percentage.

Upper

Upper storm control threshold, in pps, kbps, or percentage.

Unit

Storm control threshold unit:

·     pps.

·     kbps.

·     percentage.

CtrlMode

Action (block or shutdown) taken on the interface when the upper threshold is reached. N/A indicates that no action is configured.

Status

Packet forwarding status:

·     forwarding—The port is forwarding traffic correctly.

·     shutdown—The port has been shut down.

·     block—The port drops the type of traffic.

Trap

Status of the storm control threshold event trap switch:

·     on—The port sends threshold event traps.

·     off—The port does not send threshold event traps.

Log

Status of the storm control threshold event log switch:

·     on—The port sends threshold event log messages.

·     off—The port does not send threshold event log messages.

SwitchNum

Number of forwarding state changes of the interface.

When the SwitchNum field reaches 65535, it resets automatically.

 

mdix-mode

IMPORTANT

IMPORTANT:

Fiber ports do not support this command.

 

Use mdix-mode to configure the Medium Dependent Interface Cross-Over (MDIX) mode of an Ethernet interface.

Use undo mdix-mode to restore the default.

Syntax

mdix-mode { automdix | mdi | mdix }

undo mdix-mode

Default

Ethernet interfaces operate in automdix mode.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

automdix: Specifies that the interface negotiates pin roles with its peer.

mdi: Specifies that pins 1 and 2 are transmit pins and pins 3 and 6 are receive pins.

mdix: Specifies that pins 1 and 2 are receive pins and pins 3 and 6 are transmit pins.

Examples

# Configure Ten-GigabitEthernet 1/1/1 to operate in MDI mode.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] mdix-mode mdi

multicast-suppression

Use multicast-suppression to enable multicast suppression and set the multicast suppression threshold.

Use undo multicast-suppression to restore the default.

Syntax

multicast-suppression { ratio | pps max-pps | kbps max-kbps }

undo multicast-suppression

Default

Ethernet interfaces do not suppress multicast traffic.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

ratio: Sets the multicast suppression threshold as a percentage of the interface bandwidth. The value range for this argument (in percentage) is 0 to 100. A smaller value means that less multicast traffic is allowed to pass through.

pps max-pps: Specifies the maximum number of multicast packets that the interface can forward per second. The value range for the max-pps argument (in pps) is 0 to 1.4881 × the interface bandwidth.

kbps max-kbps: Specifies the maximum number of kilobits of multicast traffic that the Ethernet interface can forward per second. The value range for this argument (in kbps) is 0 to the interface bandwidth.

Usage guidelines

To configure any combination of the unicast-suppression, multicast-suppression, and broadcast-suppression commands on an interface of this device, set the same parameter for these commands.

PEXs do not support unknown unicast suppression. To configure the multicast-suppression command together with the broadcast-suppression command on an PEX physical interface in an IRF 3 system, set the same parameter for both commands. For example, if the multicast suppression threshold is configured in kbps, the broadcast suppression threshold must also be configured in kbps.

The multicast suppression feature limits the size of multicast traffic to a threshold on an interface. When the multicast traffic on the interface exceeds this threshold, the system drops packets until the traffic drops below this threshold.

Both the storm-constrain and multicast-suppression can suppress multicast storm on a port. The multicast-suppression command uses the chip to physically suppress multicast traffic. It has less influence on the device performance than the storm-constrain command, which uses software to suppress broadcast traffic. Do not configure both the storm constrain multicast command and the multicast-suppression command on an interface. Otherwise, the traffic suppression result is not determined.

When you configure the suppression threshold in kbps, the actual suppression threshold might be different from the configured one as follows:

·     If the configured value is smaller than 64, the value of 64 takes effect.

·     If the configured value is greater than 64 but not an integer multiple of 64, the integer multiple of 64 that is greater than and closest to the configured value takes effect.

To determine the suppression threshold that takes effect, see the prompts on the switch.

Examples

# Set the multicast suppression threshold to 10000 kbps on Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] multicast-suppression kbps 10000

The actual value is 10048 on port Ten-GigabitEthernet1/1/1 currently.

The output shows that the value that takes effect is 10048 kbps (157 times of 64), because the chip only supports step 64.

Related commands

·     broadcast-suppression

·     unicast-suppression

port bridge enable

Use port bridge enable to enable bridging on an Ethernet interface.

Use undo port bridge enable to disable bridging on an Ethernet interface.

Syntax

port bridge enable

undo port bridge enable

Default

Bridging is disabled on an Ethernet interface.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

When a packet arrives at an interface, the switch looks up the destination MAC address of the packet in the MAC address table. If the outgoing interface of the entry found is the same as the incoming interface, the switch drops the packet. After you configure this command on the Ethernet interface, the switch forwards such packets rather than drops them.

If no entry is found for the destination MAC address, the switch sends an ARP packet out of all interfaces except the incoming interface. After you configure this command on the Ethernet interface, the switch also sends the ARP packet out of the incoming interface.

Examples

# Enable bridging on Layer 2 Ethernet interface Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-GigabitEthernet1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] port bridge enable

storm-constrain

Use storm-constrain to enable storm control and set thresholds for broadcast, multicast, or unknown unicast packets on an Ethernet interface.

Use undo storm-constrain to disable storm control for broadcast, multicast, unknown unicast, or all types of traffic.

Syntax

storm-constrain { broadcast | multicast | unicast } { pps | kbps | ratio } upperlimit lowerlimit

undo storm-constrain { all | broadcast | multicast | unicast }

Default

Traffic storm control is disabled.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

all: Disables storm control for all types of traffic: broadcast, multicast, and unknown unicast.

broadcast: Enables or disables broadcast storm control.

multicast: Enables or disables multicast storm control.

unicast: Enables or disables unknown unicast storm control.

pps: Sets storm control thresholds in pps.

kbps: Sets storm control thresholds in kbps.

ratio: Sets storm control thresholds as a percentage of the transmission capacity of the interface.

upperlimit: Sets the upper threshold, in pps, kbps, or percentage.

lowerlimit: Sets the lower threshold, in pps, kbps, or percentage.

Usage guidelines

After you configure storm control for a type of traffic, the device collects the statistics of the type of traffic at the interval configured by using the storm-constrain interval command. When the type of traffic exceeds its upper threshold, the interface takes an action configured by using the storm-constrain control command.

The storm-constrain, broadcast-suppression, multicast-suppression, and unicast-suppression commands can suppress storms on an interface. The broadcast-suppression, multicast-suppression, and unicast-suppression commands use the chip to physically suppress traffic. They have less influence on the device performance than the storm-constrain command, which uses software to suppress traffic.

For the same type of traffic, do not configure both storm control and storm suppression. Otherwise, the traffic suppression result is not determined.

When configuring this command, make sure upperlimit is greater than lowerlimit.

Examples

# Enable unknown unicast storm control on Ten-GigabitEthernet 1/1/1 and set the upper and lower thresholds to 200 pps and 150 pps.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] storm-constrain unicast pps 200 150

# Enable broadcast storm control on Ten-GigabitEthernet 1/1/2, and set the upper and lower thresholds to 2000 kbps and 1500 kbps.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/2

[Sysname-Ten-GigabitEthernet1/1/2] storm-constrain broadcast kbps 2000 1500

# Enable multicast storm control on Ten-GigabitEthernet 1/1/3, and set the upper and lower thresholds to 80% and 15%.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/3

[Sysname-Ten-GigabitEthernet1/1/3] storm-constrain multicast ratio 80 15

Related commands

·     storm-constrain control

·     storm-constrain interval

storm-constrain control

Use storm-constrain control to configure the action to take on an Ethernet interface when a type of traffic (unknown unicast, multicast, or broadcast) exceeds the upper storm control threshold.

Use undo storm-constrain control to restore the default.

Syntax

storm-constrain control { block | shutdown }

undo storm-constrain control

Default

No action is taken on an Ethernet interface when a type of traffic exceeds the upper storm control threshold.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

block: Blocks this type of traffic and forwards other types of traffic. Even though the interface does not forward the blocked traffic, it still counts the traffic. When the blocked traffic drops below the lower threshold, the port begins to forward the traffic.

shutdown: Goes down automatically. The interface goes down automatically and stops forwarding any traffic. When the blocked traffic drops below the lower threshold, the interface does not forward the traffic. To bring up the interface, use the undo shutdown command or disable storm control on the interface.

Examples

# Configure Ten-GigabitEthernet 1/1/1 to block a specific type of traffic when the type of traffic exceeds the upper storm control threshold.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] storm-constrain control block

Related commands

·     storm-constrain

·     storm-constrain control

storm-constrain enable log

Use storm-constrain enable log to enable an Ethernet interface to output log messages when it detects storm control threshold events.

Use undo storm-constrain enable log to disable an Ethernet interface from outputting log messages for storm control threshold events.

Syntax

storm-constrain enable log

undo storm-constrain enable log

Default

An Ethernet interface outputs log messages when monitored traffic exceeds the upper threshold or drops below the lower threshold.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Examples

# Enable Ten-GigabitEthernet 1/1/1 to output log messages when it detects storm control threshold events.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] storm-constrain enable log

storm-constrain enable trap

Use storm-constrain enable trap to enable an Ethernet interface to send storm control threshold event traps.

Use undo storm-constrain enable trap to disable an Ethernet interface from sending storm control threshold event traps.

Syntax

storm-constrain enable trap

undo storm-constrain enable trap

Default

An interface sends out traps when monitored traffic exceeds the upper threshold or drops below the lower threshold.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Examples

# Enable Ten-GigabitEthernet 1/1/1 to send traps when it detects storm control threshold events.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] storm-constrain enable trap

storm-constrain interval

Use storm-constrain interval to set the traffic polling interval of the storm control module.

Use undo storm-constrain interval to restore the default.

Syntax

storm-constrain interval seconds

undo storm-constrain interval

Default

The storm control module polls traffic statistics every 10 seconds.

Views

System view

Predefined user roles

network-admin

Parameters

seconds: Sets the traffic polling interval of the storm control module. The value range is 1 to 300 seconds.

Usage guidelines

The traffic polling interval set by using the storm-constrain interval command is specific to storm control. To set the statistics polling interval of an interface, use the flow-interval command.

For network stability, use the default or a higher polling interval.

Examples

# Set the traffic statistics polling interval of the storm control module to 60 seconds.

<Sysname> system-view

[Sysname] storm-constrain interval 60

Related commands

·     storm-constrain

·     storm-constrain control

unicast-suppression

Use unicast-suppression to enable unknown unicast suppression and set the unknown unicast suppression threshold.

Use undo unicast-suppression to restore the default.

Syntax

unicast-suppression { ratio | pps max-pps | kbps max-kbps }

undo unicast-suppression

Default

Ethernet interfaces do not suppress unknown unicast traffic.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

ratio: Sets the unknown unicast suppression threshold as a percentage of the interface bandwidth. The value range for this argument (in percentage) is 0 to 100. A smaller value means that less unknown unicast traffic is allowed to pass through.

pps max-pps: Specifies the maximum number of unknown unicast packets that the interface can forward per second. The value range for the max-pps argument (in pps) is 0 to 1.4881 × the interface bandwidth.

kbps max-kbps: Specifies the maximum number of kilobits of unknown unicast traffic that the Ethernet interface can forward per second. The value range for this argument (in kbps) is 0 to the interface bandwidth.

Usage guidelines

PEXs do not support this command. For more information about PEXs, see Virtual Technologies Configuration Guide.

PEXs do not support unknown unicast suppression. To configure the multicast-suppression command together with the broadcast-suppression command on an PEX physical interface in an IRF 3 system, set the same parameter for both commands. For example, if the multicast suppression threshold is configured in kbps, the broadcast suppression threshold must also be configured in kbps.

The unknown unicast suppression feature limits the size of unknown unicast traffic to a threshold on an interface. When the unknown unicast traffic on the interface exceeds this threshold, the system discards packets until the unknown unicast traffic drops below this threshold.

Both the storm-constrain and unicast-suppression can suppress unknown unicast storms on a port. The unicast-suppression command uses the chip to physically suppress unknown unicast traffic. It has less influence on the device performance than the storm-constrain command, which uses software to suppress broadcast traffic.

Do not configure both the storm constrain unicast command and the unicast-suppression command on an interface. Otherwise, the unknown unicast traffic suppression result is not determined.

When you configure the suppression threshold in kbps, the actual suppression threshold might be different from the configured one as follows:

·     If the configured value is smaller than 64, the value of 64 takes effect.

·     If the configured value is greater than 64 but not an integer multiple of 64, the integer multiple of 64 that is greater than and closest to the configured value takes effect.

To determine the suppression threshold that takes effect, see the prompts on the switch.

Examples

# Set the unknown unicast suppression threshold to 10000 kbps on Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] unicast-suppression kbps 10000

The actual value is 10048 on port Ten-GigabitEthernet1/1/1 currently.

The output shows that the value that takes effect is 10048 kbps (157 times of 64), because the chip only supports step 64.

Related commands

·     broadcast-suppression

·     multicast-suppression

Layer 3 Ethernet interface commands

mtu

Use mtu to set the MTU for an Ethernet interface.

Use undo mtu to restore the default.

Syntax

mtu size

undo mtu

Default

The MTU of an Ethernet interface is 1500 bytes.

Views

Layer 3 Ethernet interface view

Predefined user roles

network-admin

Parameters

size: Sets the MTU in bytes. The value range for this argument varies by interface type. To view the value range for an interface, execute the mtu ? command in interface view.

Usage guidelines

A smaller MTU size results in more fragments. When you set the MTU for an interface, consider QoS queue lengths, for example, consider that the default FIFO queue length is 75. To prevent a too small MTU from causing packet drops in QoS queuing, you can perform one of the following tasks:

·     Tune the MTU with the mtu command.

·     Tune QoS queue lengths with the qos fifo queue-length command.

For more information about the qos fifo queue-length command, see ACL and QoS Command Reference.

Examples

# Set the MTU to 1430 bytes for Layer 3 Ethernet interface Ten-GigabitEthernet 1/1/1.

<Sysname> system-view

[Sysname] interface ten-gigabitEthernet 1/1/1

[Sysname-Ten-GigabitEthernet1/1/1] mtu 1430

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网