No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Basic Interface Configuration Commands

Basic Interface Configuration Commands

clear configuration interface

Function

Using the clear configuration interface command, you can perform one-touch configuration clearance on an interface.

Format

clear configuration interface interface-type interface-number

Parameters

Parameter Description Value
interface-type interface-number Indicates the type and number of the interface where one-touch configuration clearance is performed. -

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To configure an interface on a device for other use, original configurations on the interface need to be deleted one by one. If the interface has a large number of configurations, deleting these configurations one-by-one takes a long time and increases the maintenance workload. To reduce the maintenance workload and simplify the deletion operation, you can use this command to perform one-touch configuration clearance on an interface.

You can also run the clear configuration this command in the system view to delete configurations on a specified interface.

Precautions

After you run the clear configuration interface command, the system displays a message, asking you whether to delete the configurations on the specified interface. If you enter Y, all configurations on the specified interface are deleted.

Running the clear configuration interface command on an interface is similar to running undo commands on the interface in batches.

This command takes effect immediately in two-stage mode, and you do not need to run the commit command to commit the configuration.

If the port mode { 10g | ge } or port copper mode configuration exists on a device, the configuration will not be deleted after the clear configuration this command is run.

Example

# Perform one-touch configuration clearance on 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] display this
#
interface 10GE1/0/1
 port link-type hybrid
 port hybrid pvid vlan 50
#
return
[~HUAWEI-10GE1/0/1] quit
[~HUAWEI] clear configuration interface 10ge 1/0/1
Warning: All running configurations of the interface will be cleared immediately. Continue? [Y/N]:y
Info: Total 2 commands executed, 2 successful, 0 failed.
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] display this
#
interface 10GE1/0/1
#
return

clear configuration this

Function

The clear configuration this command deletes configurations on an interface at a time to restore the default configurations.

Format

clear configuration this

Parameters

None

Views

Interface view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To configure an interface on a device for other use, original configurations on the interface need to be deleted one by one. If the interface has a large number of configurations, deleting these configurations one-by-one takes a long time and increases the maintenance workload. To reduce the maintenance workload and simplify the deletion operation, you can use this command to perform one-touch configuration clearance on an interface.

You can also run the clear configuration interface interface-type interface-num command in the system view to delete configurations on a specified interface.

Configuration Impact

After you run the clear configuration this command, the system displays a message, asking you whether to delete the configurations on the specified interface. If you enter Y, all configurations on the specified interface are deleted.

Running the clear configuration this command on an interface is similar to running undo commands on the interface in batches.

Precautions

After a device restarts, the system will implement configuration recovery. If an interface is in offline state after configuration recovery is complete, the hardware related configurations cannot be deleted from the interface when you run the clear configuration this command.

If there are too many configurations in the interface view, running this command becomes rather time consuming and the CPU usage may be high. To terminate the running command, press Ctrl+C.

This command takes effect immediately in two-stage mode, and you do not need to run the commit command to commit the configuration.

If the port mode { 10g | ge } or port copper mode configuration exists on a device, the configuration will not be deleted after the clear configuration this command is run.

Example

# Perform one-touch configuration clearance on 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] display this
#
interface 10GE1/0/1
 description abc
 port link-type access
#
return
[~HUAWEI-10GE1/0/1] clear configuration this
Warning: All running configurations of the interface will be cleared immediately. Continue? [Y/N]:y
Info: Total 2 commands executed, 2 successful, 0 failed.
[~HUAWEI-10GE1/0/1] display this
#
interface 10GE1/0/1
#
return

description (interface view)

Function

The description command configures the description for an interface.

The undo description command restores the default description of an interface.

By default, the description of an interface is null.

Format

description description

undo description

Parameters

Parameter

Description

Value

description

Specifies the interface description.

The value is a string of 1 to 242 characters. The character string is case sensitive. It can contain blanks but cannot contain the question mark (?).

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To facilitate device management and maintenance, you can configure descriptions for interfaces. An interface description can contain the device where the interface is located, interface type, and remote device. For example: To-[DeviceB]10GE-1/0/1 indicates that an interface of this device is connected to 10GE1/0/1 of device B.

Precautions

The interface description is displayed from the first non-space character.

Example

# Configure the description of 10GE1/0/1 as To-[DeviceB]10GE-1/0/1, indicating that this device is connected to device B through 10GE1/0/1.
<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] description To-[DeviceB]10GE-1/0/1

display default-parameter interface

Function

The display default-parameter interface command displays the default interface configuration.

Format

display default-parameter interface interface-type interface-number

Parameters

Parameter Description Value
interface-type interface-number Displays the default configuration of a specified interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Default configurations are not saved in the configuration file. To check the default configuration of an interface, run the display default-parameter interface command on the interface.

The displayed information varies according to interfaces.

Example

# Display the default configuration of 10GE1/0/1.

<HUAWEI> display default-parameter interface 10ge 1/0/1 
 Interface state: undo shutdown                                                 
 Flow-stat interval: 300s                                                       
 Trap-threshold: input-rate 90, output-rate 90                                
 Snmp trap updown: enable                                                       
 Description:

# Display the default configuration of the VLANIF 2 interface.

<HUAWEI> display default-parameter interface vlanif 2 
 Interface state: undo shutdown                                                 
 MTU: 1500                                                                      
 Flow-stat interval: 300s                                                       
 Description: 
Table 6-1  Description of the display default-parameter interface command output

Item

Description

Interface state

Default status of an interface:

  • shutdown
  • undo shutdown

To change the interface status, run the shutdown command or the undo shutdown command in the interface view.

MTU

Default MTU value of the interface.

Flow-stat interval

Interval for collecting traffic statistics on the interface.

To set the interval for collecting traffic statistics on an interface, run the set flow-stat interval command in the interface view.

Trap-threshold

Alarm threshold for outbound and inbound bandwidth usage on the interface.

To set the alarm threshold for outbound and inbound bandwidth usage on an interface, run the trap-threshold command in the interface view.

Snmp trap updown

Whether an alarm is sent to the NMS when the interface status changes:

  • disable: No alarm is sent to the NMS when the interface status changes.
  • enable: An alarm is sent to the NMS when the interface status changes.

To configure an interface to send an alarm to the NMS when the interface status changes, run the enable snmp trap updown command in the interface view.

Description

Interface description.

To configure the description for an interface, run the description command in the interface view.

display interface counters

Function

The display interface counters command displays traffic statistics on an interface.

Format

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

display interface counters [ inbound | outbound ] [ interface-type ] slot slot-id

Parameters

Parameter Description Value
interface-type [ interface-number ] Displays traffic statistics on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If the interface number is not specified, traffic statistics on all the interfaces of the specified type are displayed.

-
slot slot-id Displays traffic statistics on a specified slot. On a non-stacked device, slot-id is an integer. The value range varies according to the configuration of the device. On a stacked switch, slot-id is in stack ID/slot ID format.
inbound Displays incoming traffic statistics on an interface. -
outbound Displays outgoing traffic statistics on an interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run the display interface counters command to view incoming or outgoing traffic statistics based on the interface type for fault location.

Precautions

When a device has a large number of interfaces, you are advertised to specify the interface type in the display interface counters command to view only desired information. If you do not specify those parameters, the following faults may occur:
  • The displayed information is repeatedly refreshed, causing desired information unable to be obtained.
  • The system does not respond because of long-time information traversing and searching.

Example

# Display traffic statistics on 10GE1/0/1.

<HUAWEI> display interface counters 10ge 1/0/1
Inbound                                                                         
Interface              Octets(bytes)   Unicast(pkts)   Multicast(pkts)   Broadcast(pkts) 
10GE1/0/1              754918035105     1408179641         15018056           9668635374 
Outbound                                                                        
Interface              Octets(bytes)   Unicast(pkts)   Multicast(pkts)   Broadcast(pkts) 
10GE1/0/1              764800451602     1148151623         15086605           9957268821 

# Display traffic statistics on Loopback 1.

<HUAWEI> display interface counters loopback 1
Inbound                                                                         
Interface           Octets(bytes) Unicast(pkts) Multicast(pkts) Broadcast(pkts) 
Loop1                           0             0               0               0 
Outbound                                                                        
Interface           Octets(bytes) Unicast(pkts) Multicast(pkts) Broadcast(pkts) 
Loop1                           0             0               0               0 
Table 6-2  Description of the display interface counters command output

Item

Description

Inbound

Incoming traffic statistics on an interface.

Interface

Interface name.

Octets(bytes)

Total number of incoming or outgoing bytes.

Unicast(pkts)

Number of incoming or outgoing unicast packets.

Multicast(pkts)

Number of incoming or outgoing multicast packets.

Broadcast(pkts)

Number of incoming or outgoing broadcast packets.

Outbound

Outgoing traffic statistics on an interface.

display interface counters errors

Function

The display interface counters errors command displays error packet statistics of all service interfaces.

Format

display interface counters errors [ slot slot-id ]

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID.

The value is an integer or a string of characters. You can enter a question mark (?) and select a value from the displayed value range.

Views

User view, system view

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run the display interface command to view detailed information such as the interface status, normal packets received by an interface, and error packets received by an interface. If you only need to view statistics on error packets received by all service interfaces, run the display interface counters errors command.

Precautions

The interfaces do not include offline interfaces such as interfaces on a pre-configured card or logical interfaces such as the management interface and Eth-Trunks.

Example

# Display error packet statistics of all service interfaces.
<HUAWEI> display interface counters errors slot 1

 interface 10GE1/0/1 Errors:
 CRC      :5                    Giants     :0                                                                                       
 Symbols  :0                    Alignments :0                                                                                       
 Runts    :0                    Jabbers    :0                                                                                       
 Fragments:6                    OutDiscards:0

 interface 10GE1/0/2 Errors:
 CRC      :0                    Giants     :0                                                                                       
 Symbols  :0                    Alignments :0                                                                                       
 Runts    :0                    Jabbers    :0                                                                                       
 Fragments:0                    OutDiscards:0

 interface 10GE1/0/3 Errors:
 CRC      :0                    Giants     :0                                                                                       
 Symbols  :0                    Alignments :0                                                                                       
 Runts    :0                    Jabbers    :0                                                                                       
 Fragments:0                    OutDiscards:0

 interface 10GE1/0/4 Errors:
 CRC      :0                    Giants     :0                                                                                       
 Symbols  :0                    Alignments :0                                                                                       
 Runts    :0                    Jabbers    :0                                                                                       
 Fragments:0                    OutDiscards:0

  ---- More ----
Table 6-3  Description of the display interface counters errors command output

Item

Description

CRC

Number of CRC error packets with length that is greater than 64 bytes and less than 1518 bytes.

Number of packets with length exceeding 64 bytes and incorrect FCS values on the CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI.

Giants

Number of received packets with length exceeding the maximum jumbo frame size and correct FCS values.

Number of received packets with length exceeding the maximum jumbo frame size on the CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI.

Symbols

Number of received frames with coding errors.

Alignments

Number of received frames with alignment errors.

Runts

Number of undersized frames with correct FCS values received by the interface. Undersized frames are the frames that are shorter than 64 bytes and have the correct format and valid CRC field.

Number of received undersized frames on the CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI.

Jabbers

Number of received packets with length ranging from 1518 bytes to the maximum jumbo frame size and incorrect FCS values.

The value of this field is 0 on the CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI.

Fragments

Number of fragments received by the interface. Fragments are the received packets that are shorter than 64 bytes and have CRC errors.

The value of this field is 0 on the CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI.

outDiscard

Number of packets discarded by the interface during physical layer detection due to queue congestion.

display interface counters rate

Function

The display interface counters rate command displays the incoming or outgoing traffic rate of an interface.

Format

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

display interface counters rate [ inbound | outbound ] [ interface-type ] slot slot-id

Parameters

Parameter Description Value
interface-type [ interface-number ] Displays the traffic rate of a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If the interface number is not specified, the traffic rates of all the interfaces of the specified type are displayed.

-
inbound Displays the incoming traffic rate of an interface. -
outbound Displays the outgoing traffic rate of an interface. -
slot slot-id Displays the traffic rate of a specified slot. On a non-stacked device, slot-id is an integer. The value range varies according to the configuration of the device. On a stacked switch, slot-id is in stack ID/slot ID format.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run the display interface counters rate command to view the incoming or outgoing traffic rate based on the interface type or slot ID for fault location.

Precautions

When a device has a large number of interfaces, you are advertised to specify the interface type or slot ID in the display interface counters rate command to view only desired information. If you do not specify those parameters, the following faults may occur:
  • The displayed information is repeatedly refreshed, causing desired information unable to be obtained.
  • The system does not respond because of long-time information traversing and searching.

Traffic rate statistics on VLANIF interfaces cannot be viewed using the display interface counters rate command. You can run the display interface vlanif command to view traffic rate statistics on VLANIF interfaces.

Example

# Display the traffic rate of 10GE1/0/1.

<HUAWEI> display interface counters rate 10ge 1/0/1 
Inbound                                                                         
Interface      Octets(bytes/s) Unicast(pkts/s) Multicast(pkts/s) Broadcast(pkts/s) 
10GE1/0/1                  18               0                 0                 0 
Outbound                                                                        
Interface      Octets(bytes/s) Unicast(pkts/s) Multicast(pkts/s) Broadcast(pkts/s) 
10GE1/0/1                  61               0                 0                 0 
Table 6-4  Description of the display interface counters rate command output

Item

Description

Inbound

Incoming traffic rate.

Outbound

Outgoing traffic rate.

Interface

Interface name.

Octets(bytes/s)

Total incoming or outgoing traffic rate, in bytes/s.

Unicast(pkts/s)

Incoming or outgoing rate of unicast packets, in pkts/s.

Multicast(pkts/s)

Incoming or outgoing rate of multicast packets, in pkts/s.

Broadcast(pkts/s)

Incoming or outgoing rate of broadcast packets, in pkts/s.

display interface

Function

The display interface command displays the interface running status and statistics.

Format

display interface [ interface-type [ interface-number [.subnumber ] ] ]

display interface [ slot slot-id | main ]

display interface interface-type main

Parameters

Parameter

Description

Value

interface-type

Specifies the type of an interface. If no interface type is specified, the running status and statistics of all main interfaces are displayed.

-
interface-number

If the interface type is specified but no interface number is specified, the running status and statistics of all the interfaces of this type is displayed.

-
subnumber

Displays the running status of a Layer 3 sub-interface or Layer 2 sub-interface.

-
slot slot-id

Displays running status and statistics of the specified slot ID.

-
main
Displays running status and statistics of main interfaces.
  • If an interface has no sub-interfaces, the status of and traffic statistics on the interface are displayed whether you specify this parameter or not.
  • If an interface has sub-interfaces, the status of and traffic statistics on the interface and its sub-interfaces are displayed if you do not specify this parameter.
-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The running status and statistics of an interface includes the physical status, basic configuration, and packet forwarding of the interface. You can use the display interface command to collect traffic statistics or locate faults on an interface.

By default, traffic statistics on Layer 3 sub-interfaces and VLANIF interfaces contain bytes in the interframe gap (IFG).

The displayed information of logical interfaces is different from that of physical interfaces. For displayed information of logical interfaces and explanations, see related display commands such as display interface eth-trunk, display interface vlanif and display interface loopback.

Precautions

  • When the loopback function is enabled on an interface (using the loopback command in the interface view or the service type tunnel command in the Eth-Trunk interface view), the physical status and protocol status of the Ethernet interface and the Eth-Trunk member interface are Up.

  • If a CE6810LI functions as a standalone switch, the CE6810LI does not support Layer 3 sub-interfaces. If a CE6810LI functions as a leaf switch in an SVF system consisting of fixed switches, the CE6810LI supports Layer 3 sub-interfaces

  • If no interface type or slot is specified, the running status and statistics of all the interfaces are displayed.

  • For the CE6880EI:
    • When receiving or sending jumbo frames, the switches add the number of jumbo frames to the jumbo frame statistics, and also add the number to the corresponding unicast, multicast, or broadcast packet statistics.

    • Only known unicast and multicast packet statistics on stack member interfaces are collected, and unknown unicast packet statistics are collected as multicast packet statistics.

  • For switches excluding the CE6870EI and CE6880EI, if congestion occurs on an interface after flow control is configured, the number of discarded packets is included in the value of the Discard field under the Input field in the display interface command output.

Example

# Display information about Layer 2 interface 10GE1/0/1.

<HUAWEI> display interface 10ge 1/0/1
10GE1/0/1 current state : UP (ifindex: 4)                             
Line protocol current state : UP                                                
Description:                                                                    
Switch Port, PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 9216    
Internet protocol processing : disabled                                         
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0025-9e95-7c21 
Port Mode:     COMMON FIBER,     Port Split/Aggregate:         DISABLE          
Speed:                10000,     Loopback:                        NONE          
Duplex:                FULL,     Negotiation:                  DISABLE          
Input Flow-control: DISABLE,     Output Flow-control:          DISABLE          
Mdi:                      -,     Fec:                                -
Last physical up time   : 2013-10-24 11:00:19                                   
Last physical down time : 2013-10-23 14:07:45                                   
Current system time: 2013-10-29 10:15:29                                        
Statistics last cleared:never                                                   
    Last 300 seconds input rate: 171 bits/sec, 0 packets/sec                    
    Last 300 seconds output rate: 144 bits/sec, 0 packets/sec                   
    Input peak rate 8245791920 bits/sec, Record time: 2013-10-26 10:21:43       
    Output peak rate 8181563138 bits/sec, Record time: 2013-10-26 10:15:46      
    Input :       876952146048 bytes,         9329219248 packets                
    Output:      1968304390465 bytes,        21888927861 packets                
    Input:                                                                      
      Unicast:                  15168,   Multicast:              9329204080     
      Broadcast:                    0,   Jumbo:                           0     
      Discard:                      0,   Frames:                          0     
      Pause:                        0 

      Total Error:                  0     
      CRC:                          0,   Giants:                          0     
      Jabbers:                      0,   Fragments:                       0     
      Runts:                        0,   DropEvents:                      0     
      Alignments:                   0,   Symbols:                         0     
      Ignoreds:                     0
                                                                                
    Output:                                                                     
      Unicast:                  15763,   Multicast:             21888912096     
      Broadcast:                    2,   Jumbo:                           0     
      Discard:             3056469870,   Buffers Purged:                  0     
      Pause:                        0                                           
                                                                                
    Input bandwidth utilization threshold : 90.00%                             
    Output bandwidth utilization threshold: 90.00%                             
    Last 300 seconds input utility rate:  0.01%                                 
    Last 300 seconds output utility rate: 0.01%

# Display information about Layer 3 interface 10GE1/0/1.

<HUAWEI> display interface 10ge 1/0/1
10GE1/0/1 current state : UP (ifindex: 4)                             
Line protocol current state : UP                                                
Description:                                                                    
Route Port,The Maximum Transmit Unit is 1500,The Maximum Frame Length is 9216   
Internet protocol processing : disabled                                         
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0025-9e95-7c21 
Port Mode:     COMMON FIBER,     Port Split/Aggregate:         DISABLE
Speed:                 1000,     Loopback:                        NONE          
Duplex:                FULL,     Negotiation:                   ENABLE          
Input Flow-control: DISABLE,     Output Flow-control:          DISABLE       
Mdi:                      -,     Fec:                                -
Last physical up time   : 2013-10-24 11:00:19                                   
Last physical down time : 2013-10-23 14:07:45                                   
Current system time: 2013-10-29 10:15:29                                        
Statistics last cleared:never                                                   
    Last 300 seconds input rate: 171 bits/sec, 0 packets/sec                    
    Last 300 seconds output rate: 144 bits/sec, 0 packets/sec                   
    Input peak rate 8245791920 bits/sec, Record time: 2013-10-26 10:21:43       
    Output peak rate 8181563138 bits/sec, Record time: 2013-10-26 10:15:46      
    Input :       876952146048 bytes,         9329219248 packets                
    Output:      1968304390465 bytes,        21888927861 packets                
    Input:                                                                      
      Unicast:                  15168,   Multicast:              9329204080     
      Broadcast:                    0,   Jumbo:                           0     
      Discard:                      0,   Frames:                          0     
      Pause:                        0 

      Total Error:                  0     
      CRC:                          0,   Giants:                          0     
      Jabbers:                      0,   Fragments:                       0     
      Runts:                        0,   DropEvents:                      0     
      Alignments:                   0,   Symbols:                         0     
      Ignoreds:                     0
                                                                                
    Output:                                                                     
      Unicast:                  15763,   Multicast:             21888912096     
      Broadcast:                    2,   Jumbo:                           0     
      Discard:             3056469870,   Buffers Purged:                  0     
      Pause:                        0                                           
                                                                                
    Input bandwidth utilization threshold : 90.00%                             
    Output bandwidth utilization threshold: 90.00%                             
    Last 300 seconds input utility rate:  0.01%                                 
    Last 300 seconds output utility rate: 0.01% 

# Display information about Layer 3 sub-interface 10GE1/0/1.1.

<HUAWEI> display interface 10ge1/0/1.1 10GE1/0/1.1 current state : UP (ifindex: 3799)                                 Line protocol current state : UP                                               Description:                                                                     Route Port,The Maximum Transmit Unit is 1500                                     Internet Address is 10.1.1.1/24                                                  IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0019-7459-3302  Current system time: 2016-01-27 01:07:58                                         Last 300 seconds input rate 0 bits/sec, 0 packets/sec                            Last 300 seconds output rate 0 bits/sec, 0 packets/sec                           Input:  0 packets, 0 bytes                                                       Output:  0 packets, 0 bytes                                                          Last 300 seconds input utility rate:  0.00%                                      Last 300 seconds output utility rate: 0.00%                                 

# Display information about MEth interface MEth0/0/0.

<HUAWEI> display interface MEth0/0/0
MEth0/0/0 current state : UP (ifindex: 3)                                       
Line protocol current state : UP                                                
Last line protocol up time : 2014-08-29 14:30:21                                
Description:                                                                    
Route Port,The Maximum Transmit Unit is 1500                                    
Internet Address is 192.168.80.101/24                                           
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 306b-2079-2200 
Media type: twisted pair, Link type: auto negotiation                           
Loopback: NONE, Maximal BW: 1000M, Current BW: 100M, Full-duplex mode           
Last physical up time   : 2014-08-29 14:30:21                                   
Last physical down time : 2014-08-29 14:30:15                                   
Current system time: 2014-09-03 19:08:48                                        
Statistics last cleared:never                                                   
    Last 300 seconds input rate: 1116 bits/sec, 1 packets/sec                   
    Last 300 seconds output rate: 1005 bits/sec, 1 packets/sec                  
    Input peak rate 3889 bits/sec, Record time: 2014-09-01 20:24:43             
    Output peak rate 107872 bits/sec, Record time: 2014-09-01 20:23:52          
    Input :           25807038 bytes,             262796 packets                
    Output:           17336411 bytes,             206105 packets                
    Input:                                                                      
      Unicast:                 203772,   Multicast:                   30327     
      Broadcast:                28704,   Overrun:                         0     
      Over-car-pps:                 0                                           
                                                                                
      Total Error:                  0,   CRC:                             0     
      Giants:                       0,   Jabbers:                         0     
      Runts:                        0,   Fragments:                       0     
                                                                                
    Output:                                                                     
      Unicast:                 205805,   Multicast:                       0     
      Broadcast:                  300,   Underrun:                        0     
    Last 300 seconds input utility rate:  0.01%                                 
    Last 300 seconds output utility rate: 0.01% 
Table 6-5  Description of the display interface command output

Item

Description

current state

Physical status of the interface:
  • UP: indicates that the interface is physically Up.

  • OFFLINE: indicates that the interface is in offline state.
  • DOWN: indicates that the interface is physically Down.

    When the interface fault at the physical layer results from the following causes, the device displays the corresponding information following "Down" to prompt you to modify the configuration or replace the module. For example, the information "DOWN(Transceiver type mismatch)" is displayed.

    • Transceiver speed mismatch
    • Transceiver type mismatch
    • Negotiation unsupported
    • Port mode mismatch
    • The optical power is too low
    • Transceiver loose
    • Fast-up configuration mismatch
    • Trunk error down
    • Port unavailable
    • Cable for stack port only
    NOTE:

    This interface fault usually occurs when you replace an optical module or board after the current configuration takes effect and the new optical module or board does not support the original configuration. For example, the SFP-GE electrical module is used on the original interface and the speed 100 command is configured. After the SFP-GE electrical module is replaced with the SFP-GE optical module, the interface status is Down because the optical module does not support the rate configuration. In this case, run the undo speed 100 command to delete the speed configuration or use the transceiver module that supports the speed configuration.

  • TRIGGER DOWN (1AG auto recover): If a connectivity fault detected by CFM, the CFM shuts down and then starts Port1 after 7s.

  • Administratively DOWN: The administrator has run the shutdown command on the interface.

  • Flow DOWN: The status of the data flow on the interface is Down. This state is determined by the status of the mVRRP bound to the interface. If the mVRRP status is Backup or Initialize, the status of the data flow on the interface is Down.

  • ERROR DOWN: For details about the cause and description, see Table 6-6.

Line protocol current state

Link layer protocol status of the interface:
  • UP: indicates that the link layer protocol status of the interface is Up.

  • DOWN (BFD status down): indicates that the BFD session bound to the interface goes Down.

  • DOWN (Main BFD status down): The BFD session bound to the main interface goes Down, which changes the BFD session status on the Layer 2 or Layer 3 sub-interface correspondingly. This state is available only for the Layer 2 or Layer 3 sub-interface.

  • DOWN (Main bit-error-detection down): The status displayed on Layer 2 or Layer 3 sub-interfaces when the bit error ratio of the interface exceeds the alarm threshold. By default, the bit error function on an interface associates with that on Layer 2 or Layer 3 sub-interfaces.

  • DOWN (CFM down): indicates that the CFM session bound to the interface goes Down.

  • DOWN: indicates that the link layer protocol status of the interface is Down or no IP address is assigned to the interface.

  • UP (spoofing): indicates that the link layer protocol of the interface is always Up with the spoofing feature enabled.

  • Administratively Down: The administrator runs the shutdown network-layer command on the interface.

Last line protocol up time

Last time when the protocol status on the interface is Up.

Description

Interface description.

To configure the description for an interface, run the description command.

Switch Port

A Layer 2 interface.

If the interface is a Layer 3 interface, such as VLANIF interface, Route Port is displayed here.

Internet Address

IP address. If no IP address is assigned to the interface, the system displays "Internet protocol processing : disabled."

Media type

Cable type of the MEth interface. The MEth interface complies with the 10/100BASE-TX standard. Twisted pair cables are used.

Link type

Link status of the MEth interface:
  • auto negotiation: indicates the auto-negotiation mode.
  • force link: indicates the forced mode. In the forced mode, the management interface supports only interface rate configuration, but does not support duplex mode configuration.

Maximal BW

Maximum bandwidth of the MEth interface.

Current BW

Current bandwidth of the MEth interface.

Full-duplex mode

The MEth interface works in full-duplex mode and does not support half-duplex mode.

PVID

Default VLAN ID of the interface.

TPID

Type of frames that are supported on the interface.

By default, this field displays 0x8100, indicating an 802.1Q frame.

The Maximum Transmit Unit

MTU of the interface.

For example, the default MTU of an Ethernet interface or a serial interface is 1500 bytes. Packets whose size is greater than the MTU are fragmented before being transmitted. If fragmentation is not allowed, these packets are discarded.

The Maximum Frame Length

Maximum frame length allowed by the interface.

To set the maximum frame length, run the jumboframe enable command.

Internet protocol processing

If the interface is a Layer 3 interface and has an IP address configured, this field displays the IP address.

If the interface is a Layer 2 interface or has no IP address configured, this field displays disabled.

IP Sending Frames' Format

Format of the frame contained in the sent IP packet, which can be PKTFMT_ETHNT_2, Ethernet_802.3, or Ethernet_SNAP.

Hardware address

MAC address of the device.

Port Mode

Working mode of the interface:
  • COMMON COPPER: The interface works as an electrical interface.
  • COMMON FIBER: The interface works as an optical interface.

Port Split

Split status of the interface:
  • Hyphen (-): indicates N/A.
  • disable: indicates that the current interface is not split. This field is displayed only for an interface that can be split.
  • enable: indicates that the current interface is an interface split from an interface. This status is displayed only after the split configuration takes effect.
  • Enable after board reset: Interface split is enabled after the board is reset.

    An interface can be split only after the board is reset. The status is displayed after the port split command is run to split an interface and before the board is reset.

  • Disable after board reset: Interface merge is enabled after the board is reset.

    An interface can be merged only after the board is restarted. The status is displayed after the undo port split command is run to merge an interface and before the board is reset.

For details about how to split an interface, see port split.
NOTE:

If the interface is an optical interface, this field displays Port Split/Aggregate, indicating the interface split or aggregation state.

Speed

Current rate of the interface. If - is displayed, the interface is unavailable.
  • In auto-negotiation mode, the speed auto command configures the rate of an interface.
  • In non-auto-negotiation mode, the speed command configures the rate of an interface.

Loopback

Loopback configuration of the interface.

To configure loopback on an interface, run the loopback command.

Duplex

Duplex mode of the interface.

If this field displays FULL, the interface works in full-duplex mode.

If this field displays HALF, the interface works in half-duplex mode.

Negotiation

Auto-negotiation mode of the interface. The negotiation disable command configures the auto-negotiation mode for an Ethernet electrical interface.
  • ENABLE: The interface works in auto-negotiation mode.
  • DISABLE: The interface works in non-auto-negotiation mode.

Mdi

Network cable type of the interface.

The network cable type is displayed for an electrical interface as auto, and displayed as a hyphen (-) for an optical interface.

FEC

FEC mode of an optical interface.
  • RS-FEC: indicates that the RS-FEC function is enabled on a QSFP28 or a 25GE interface when an optical module is installed or the medium type is pre-configured.
  • BASE-FEC: indicates that the BASE-FEC function is enabled on an SFP28 interface when an optical module is installed or the medium type is pre-configured.
  • NONE: indicates that no optical module is installed on a QSFP28 or a 25GE interface or the FEC function is not configured.
On a non-QSFP28 or non-25GE interface, the FEC mode cannot be configured and this field displays -.

Hold down time

Delay in reporting an interface Down event. This field is displayed only after carrier down-hold-time is configured.

Hold up time

Delay in reporting an interface Up event. This field is displayed only after carrier up-hold-time is configured.

Input Flow-control

Whether flow control is enabled in the inbound direction:
  • ENABLE: Flow control is enabled in the inbound direction of the interface.

  • DISABLE: Flow control is disabled in the inbound direction of the interface.

NOTE:

By default, this field displays DISABLE. If the flow-control [ input ] command has been executed to enable flow control in both inbound and outbound directions or only the inbound direction of an Ethernet interface, this field displays ENABLE.

Output Flow-control

Whether flow control is enabled in the outbound direction:
  • ENABLE: Flow control is enabled in the outbound direction of the interface.

  • DISABLE: Flow control is disabled in the outbound direction of the interface.

NOTE:

By default, this field displays DISABLE. If the flow-control [ output ] command has been executed to enable flow control in both inbound and outbound directions or only the outbound direction of an Ethernet interface, this field displays ENABLE.

Last physical up time

Last time the interface went Up physically. If this field displays "-", the physical status of the interface does not change.

Last physical down time

Last time the interface went Down physically. If this field displays "-", the physical status of the interface does not change.

Current system time

Current system time.

If the time zone is configured and the daylight saving time is used, the time is in YYYY/MM/DD HH:MM:SS UTC±HH:MM DST format.

Statistics last cleared

Last time traffic statistics on the interface are cleared.

Last 300 seconds input rate

Incoming packet rate (bits per second and packets per second) within the last 300 seconds.

Last 300 seconds output rate

Outgoing packet rate (bits per second and packets per second) within the last 300 seconds.

Input peak rate/Record time

Maximum rate of incoming packets and time when the maximum rate is reached.
NOTE:

The maximum rate is the maximum sampling value among six samples collected within the interface traffic statistics collection interval, that is, if the newest sampling value is greater than the currently displayed maximum rate, the maximum rate is updated to the newest sampling value. The sampling interval is the round-up result of traffic statistics collection interval divided by 6.

Output peak rate/Record time

Maximum rate of outgoing packets and time when the maximum rate is reached.
NOTE:

The maximum rate is the maximum sampling value among six samples collected within the interface traffic statistics collection interval, that is, if the newest sampling value is greater than the currently displayed maximum rate, the maximum rate is updated to the newest sampling value. The sampling interval is the round-up result of traffic statistics collection interval divided by 6.

Input

Total number and total bytes of received packets on an interface. Packets include correct packets (unicast, broadcast, and multicast packets), incorrect packets, and dropped packets.
  • 876952146048 bytes, 9329219248 packets: number of correctly packets and bytes. The number of packets is the sum of the unicast, broadcast, and multicast packets.
  • Number of correctly received packets and bytes. The packets include:
    • Unicast
    • Multicast
    • Broadcast
    • Jumbo: Number of packets with length ranging from 1518 bytes to the maximum jumbo frame size and correct FCS values.
    • Discard: Number of packets discarded by the interface during physical layer detection. The value is always 0.
    • Frames: Number of packets with the 802.3 length value different from the actual value.
    • Pause: Number of pause frames, including Priority-based Flow Control (PFC) pause frames.
    • Overrun: Number of dropped packets received by the MEth interface.
    • Over-car-pps: Number of discarded packets due to rate limit configured by running the qos lr pps command on the MEth interface.
  • Total Error: Number of received incorrect packets of the following types:
    • CRC: Number of CRC error packets with length that is greater than 64 bytes and less than 1518 bytes.
    • Giants: Number of received packets with length exceeding the maximum jumbo frame size and correct FCS values.
    • Jabbers: Number of received packets with length ranging from 1518 bytes to the maximum jumbo frame size and incorrect FCS values.
    • Fragments: Number of fragments received by the interface. Fragments are the received packets that are shorter than 64 bytes and have CRC errors.
    • Runts: Number of undersized frames with correct FCS values received by the interface. Undersized frames are the frames that are shorter than 64 bytes and have the correct format and valid CRC field.
    • DropEvents: Number of received packets that are discarded due to GBP full or back pressure.
    • Alignment: Number of received frames with alignment errors.
    • Symbols: Number of received frames with coding errors.
    • Ignoreds: Number of received MAC control frames whose OpCode is not PAUSE.
NOTE:
For CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI, meanings of the following fields differ from those on other switches:
  • Jumbo indicates the number of packets with length ranging from 1518 bytes to the maximum jumbo frame size.
  • The Total Error field displays --. CRC indicates the number of packets with length exceeding 64 bytes and incorrect FCS values. Giants indicates the number of received packets with length exceeding the maximum jumbo frame size. Runts indicates the number of received packets with length that is less than 64 bytes. The values of Jabbers and Fragments are 0.

Output

Total number and total bytes of sent packets on an interface. Packets include correct packets (unicast, broadcast, and multicast packets), incorrect packets, and dropped packets.
  • 1968304390465 bytes, 21888927861 packets: number of correctly packets and bytes. The number of packets is the sum of the unicast, broadcast, and multicast packets.
  • Number of correctly sent packets of the following types:
    • Unicast
    • Multicast
    • Broadcast
    • Jumbo: Number of packets with length ranging from 1518 bytes to the maximum jumbo frame size and correct FCS values. For 10GE1/0/1 to 10GE1/0/12 on CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI, this field displays --.
  • Number of sent incorrect packets and dropped packets of the following types:
    • Underrun: Number of dropped packets sent by the MEth interface.
    • Discard: Number of packets discarded by the interface during physical layer detection due to queue congestion.
    • Buffers Purged: Number of packets aged in the cache.
    • Pause: Number of pause frames.
NOTE:

When the CE6870EI uses the traffic statistics function to count known unicast packets on the outbound interface, the statistics on discarded packets include the packets that are discarded because MQC-based traffic policing, hierarchical traffic policing, traffic suppression, and storm control are applied in the inbound direction.

Input bandwidth utilization threshold

Threshold for inbound bandwidth usage.

Output bandwidth utilization threshold

Threshold for outbound bandwidth usage.

Last 300 seconds input utility rate

Inbound bandwidth usage within the last 300 seconds.

Last 300 seconds output utility rate

Outbound bandwidth usage within the last 300 seconds.

Table 6-6  Description of the Error-Down event

Cause of the Error-Down Event

Description

ERROR DOWN(auto-defend)

When receiving packets from an attack source, the interface is shut down.

ERROR DOWN(bpdu-protection)

After BPDU protection is enabled, the edge interface is shut down when receiving BPDU packets.

ERROR DOWN(crc-statistics)

If the number of received CRC error packets exceeds the threshold, the interface is shut down.

ERROR DOWN(dual-active-fault-event)

After a stack splits and experiences a DAD fault, all services ports except reserved ports on the switches that fail in DAD competition will be set to Error-Down state.

ERROR DOWN(forward-engine-buffer-failed)

If the interface buffer exception occurs, the interface is shut down.

ERROR DOWN(forward-engine-interface-failed)

The system detects that a fault occurs in the forwarding engine and the interface working status is unstable. As a result, packet loss may occur or traffic may fail to be forwarded, and the interface is shut down.

ERROR DOWN(link-flap)

When the link flaps, the physical status of the associated interface becomes Down.

ERROR DOWN(loopback-detect)

If a loop occurs on the network, the interface is shut down.

ERROR DOWN(m-lag-peer)

  • When M-LAG is used for dual-homing to a TRILL network and the peer-link fails but the heartbeat is normal, the M-LAG interfaces on the backup device will enter the error-down state. When the peer-link recovers, the physical interfaces change from error-down to Up after 2 minutes by default.

  • When M-LAG is used for dual-homing to an Ethernet, VXLAN network, or IP network and the peer-link fails but the heartbeat is normal, all physical interfaces except the management interface, peer-link interface, and stack interface on the backup device will enter the error-down state. When the peer-link recovers, the M-LAG interfaces change from error-down to Up after 2 minutes by default. Other physical interfaces go Up immediately by default.

ERROR DOWN(mac-address-flapping)

When the learned MAC address flaps, the interface changes to Down.

ERROR DOWN(monitor-link)

Indicates that the uplink interface in the Monitor Link group is in Down state or all interfaces in the upstream Smart Link group are in Down state so that the associated downstream interface is in Down state.

ERROR DOWN(portsec-reachedlimit)

When the number of learned MAC address entries reaches the limit, the interface changes to Down.

ERROR DOWN(resource-mismatch)

If a stack member switch that is starting uses a different resource mode than the master switch, or the port split configurations are inconsistent, all service ports except stack physical member ports will be set to Down. Resource modes include ARP resource allocation mode, Eth-Trunk quantity, tunnel mode, layer 3 resource allocation mode, large Layer 3 interface mode, and EEDB resource mode.

ERROR DOWN(spine-member-exceed-limit)

The number of parent switches in an SVF system exceeds the limit, and service ports of excess parent switches will be set to Down.

ERROR DOWN(spine-type-unsupported)

When the device that cannot function as a parent switch joins the stack set up by the parent switch of an SVF system, service ports of the device become Error-Down.

ERROR DOWN(stack-config-conflict)

During the setup of a stack, if other switches have the stack configuration that conflicts with the master switch, the stack may fail to be set up, and service ports of these switches (excluding the master switch) will become Down.

ERROR DOWN(stack-member-exceed-limit)

The number of member switches exceeds the limit, and ports of excess switches will be set to Down.

ERROR DOWN(stack-packet-defensive)

Physical member ports receive a large number of stack protocol packets or stack error packets within a short period.

ERROR DOWN(storm-control) After storm control is configured on an interface, in the interval for detecting storms, the interface is shut down when the average rate of received broadcast packets, multicast packets, and unknown unicast packets is larger than the value of the specified upper threshold.
ERROR DOWN(transceiver-power-low) If the optical power of the interface falls below the threshold, the interface is shut down.

display interface brief

Function

The display interface brief command displays brief information about the status and configuration of interfaces in alphabetical order.

Format

display interface brief [ interface-type ] [ main ]

display interface ethernet brief [ main [ non-unicast ] ]

Parameters

Parameter

Description

Value

interface-type

Displays brief information about the specified main interface.

-

main

Displays brief information about an Ethernet main interface.

-

non-unicast

Display brief information about broadcast and multicast packets of all physical Ethernet main interface.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display interface brief command displays brief information about interfaces, including the physical status, link layer protocol status, inbound and outbound bandwidth usage within a certain period, and numbers of sent and received error packets. This information helps locate faults on interfaces.

When locating the interfaces where attacks or loops occur, you can run the display interface ethernet brief main non-unicast command to obtain the number of inbound/outbound broadcast and multicast packets on all main Ethernet physical interfaces on the device. In this way, you do not need to check the number of packets on each interface, which improves the fault location efficiency.

Precautions

To clear statistics on an interface, run the reset interface counters command.

Example

# Display brief information about the status and configuration of interfaces.

<HUAWEI> display interface brief
PHY: Physical                                                                   
*down: administratively down                                                    
^down: standby                              
(l): loopback                                                                   
(s): spoofing                                                                   
(b): BFD down                                                                   
(e): ETHOAM down                                                                   
(d): Dampening Suppressed                                                       
(p): port alarm down                                                            
(dl): DLDP down                                                                 
(c): CFM down
InUti/OutUti: input utility rate/output utility rate                                      
Interface                   PHY   Protocol InUti OutUti   inErrors  outErrors   
10GE1/0/1                   down  down        0%     0%          0          0   
10GE1/0/2                   down  down        0%     0%          0          0   
10GE1/0/3                   down  down        0%     0%          0          0   
10GE1/0/4                   down  down        0%     0%          0          0   
40GE1/0/1                   down  down        0%     0%          0          0   
40GE1/0/2                   down  down        0%     0%          0          0   
Eth-Trunk0                  down  down        0%     0%          0          0   
GE1/0/1                     up    up       0.01%  0.01%          0          0   
GE1/0/2                     up    up       0.01%  0.01%          0          0   
GE1/0/3                     down  down        0%     0%          0          0   
GE1/0/4                     down  down        0%     0%          0          0   
GE1/0/5                     down  down        0%     0%          0          0   
GE1/0/6                     up    up       0.01%  0.01%          0          0   
GE1/0/7                     up    up       0.01%  0.01%          0          0   
GE1/0/8                     down  down        0%     0%          0          0   
GE1/0/9                     down  down        0%     0%          0          0   
GE1/0/10                    down  down        0%     0%          0          0   
  ---- More ----
# Display brief information about all Ethernet physical main interfaces.
<HUAWEI> display interface ethernet brief
PHY: Physical
*down: administratively down
^down: standby
(l): loopback
(b): BFD down
(p): port alarm down
Auto-Neg: Auto Negotiation
BW: BandWidth
InUti/OutUti: input utility rate/output utility rate
Interface            PHY   Auto-Neg Duplex    BW  InUti OutUti Trunk Description
10GE4/0/1            down  disable  full     10G     0%     0%    --
10GE4/0/2            up(l) disable  full     10G  0.01%  0.01%    --
10GE4/0/3            down  disable  full     10G     0%     0%    --
10GE4/0/4            down  disable  full     10G     0%     0%    --
10GE4/0/5            down  disable  full     10G     0%     0%    --
10GE4/0/5.1          down  disable  full     10G     0%     0%    --
10GE4/0/6            down  disable  full     10G     0%     0%    --
10GE4/0/7            down  disable  full     10G     0%     0%    --

# Display brief information about broadcast and multicast packets of all physical Ethernet main interface.

<HUAWEI> display interface ethernet brief main non-unicast
PHY: Physical                                                                   
*down: administratively down                                                    
^down: standby 
(l): loopback                                                                   
(s): spoofing                                                                   
(b): BFD down                                                                   
(B): Bit-error-detection down                                                   
(e): ETHOAM down                                                                
(d): Dampening Suppressed                                                       
(p): port alarm down                                                            
(dl): DLDP down                                                                 
(lh): link heartbeat down
(c): CFM down
InUti/OutUti: input utility/output utility                                      
Interface             PHY   Protocol    InBroad   OutBroad    InMulti   OutMulti
10GE1/0/1             up    up                0       9430      82943      25580
10GE1/0/2             *down down              0          0          0          0
10GE1/0/3             down  down              0          0          0          0
10GE1/0/4             *down down              0          0          0          0
10GE1/0/5             down  down              0          0          0          0
10GE1/0/6             *down down              0          0          0          0
10GE1/0/7             down  down              0          0          0          0
10GE1/0/8             down  down              0          0          0          0
10GE1/0/9             down  down              0          0          0          0
  ---- More ----
Table 6-7  Description of the display interface brief command output

Item

Description

Interface

Type and number of an interface.

PHY

Physical status of an interface:
  • up: indicates that the interface is working properly.
  • down: indicates that the physical layer of the interface fails.
  • offline: indicates that the component of the interface is not installed.
  • *down: Administratively Down, indicating that the administrator has run the shutdown command on the interface.
  • ^down: indicates that the interface is a backup interface.
  • (l): indicates that the loopback function is enabled on the interface.
  • (b): indicates that the physical layer of the interface is in BFD down state.

Protocol

Link layer protocol status of the interface:
  • up: indicates that the interface is working properly.
  • down: indicates that the link layer protocol fails.
  • *down: refers to administratively Down, indicating that the administrator runs the shutdown network-layer command on the interface.

  • (s): indicates that the spoofing function is enabled on the interface.
  • (B): indicates that the data link layer of the interface is in error down state.
  • (b): indicates that the link layer of the interface is in BFD down state.
  • (e): indicates that the link layer of the interface is in ETHOAM down state.
  • (d): indicates that the protocol module of the interface is suppressed.
  • (p): indicates that the link layer of the interface is in down state because of an error code.
  • (dl): indicates that the link layer of the interface is in DLDP down state.
  • (c): indicates that the link layer of the interface is in CFM down state.

InUti

Average inbound bandwidth usage of an interface within the last 300 seconds.

Average inbound bandwidth usage within the last 300 seconds = Average inbound traffic rate within the last 300 seconds/Interface bandwidth

When the average bandwidth usage is smaller than 0.01% and greater than 0, the value 0.01% is displayed. When the interface bandwidth becomes lower, for example, the speed command is executed to reduce the bandwidth of an Ethernet interface, the bandwidth usage may be displayed as 100% because the traffic volume is not adjusted in time. "--" indicates that an interface does not support the display of bandwidth usage.

OutUti

Average outbound bandwidth usage within the last 300 seconds.

Average outbound bandwidth usage within the last 300 seconds = Average outbound traffic rate within the last 300 seconds/Interface bandwidth

When the average bandwidth usage is smaller than 0.01% and greater than 0, the value 0.01% is displayed. When the interface bandwidth becomes lower, for example, the speed command is executed to reduce the bandwidth of an Ethernet interface, the bandwidth usage may be displayed as 100% because the traffic volume is not adjusted in time. "--" indicates that an interface does not support the display of bandwidth usage.

inErrors

Number of error packets received by an interface. This field indicates the number of CRC error packets received by an interface on CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI. The value becomes 0 when you run the reset interface counters command in the user view or when the number of received packets reaches the maximum value 0xFFFFFFFF.

outErrors

Number of error packets sent by an interface. The value becomes 0 when you run the reset interface counters command in the user view or when the number of sent packets reaches the maximum value 0xFFFFFFFF.

InBroad

Number of broadcast packets received by an interface. The value becomes 0 when you run the reset interface counters command in the user view or when the number of sent packets reaches the maximum value 0xFFFFFFFF.

OutBroad

Number of broadcast packets sent by an interface. The value becomes 0 when you run the reset interface counters command in the user view or when the number of sent packets reaches the maximum value 0xFFFFFFFF.

InMulti

Number of multicast packets received by an interface. The value becomes 0 when you run the reset interface counters command in the user view or when the number of sent packets reaches the maximum value 0xFFFFFFFF.

OutMulti

Number of multicast packets sent by an interface. The value becomes 0 when you run the reset interface counters command in the user view or when the number of sent packets reaches the maximum value 0xFFFFFFFF.

Auto-Neg

Whether auto-negotiation is enabled on an interface.

Duplex

Duplex mode of an interface.

BW

Bandwidth of an interface.

NOTE:

After an optical module is removed, the value of the BW field remains to be the bandwidth before the optical module is removed.

Trunk

Eth-Trunk to which an interface belongs. -- is displayed when an interface is not added to any Eth-Trunk.

Description

Interface description.

display interface brief panel-order

Function

The display interface brief panel-order command displays brief status and configuration information about interfaces in the sequence at which they are located on the panel.

Format

display interface brief panel-order

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

When monitoring the interface status or checking the interface fault cause, you can run the display interface brief panel-order command to check brief information about the current status and configurations of all interfaces in the sequence at which they are located on the panel. The information includes the physical status, protocol status, inbound and outbound bandwidth usage in a recent period of time, and the number of received and sent error packets. Based on the command output, you can collect traffic statistics and troubleshoot the interface.

Precautions

After you run the display interface brief panel-order command, the device first displays the physical interfaces and then the logical interfaces. The physical interfaces are displayed in ascending order of slot IDs. If the physical interfaces have the same slot ID, they are displayed in ascending order of interface numbers. The logical interfaces are displayed in the alphabetical order. If the logical interfaces have the same type, they are displayed in ascending order of interface numbers. If a logical interface such as an Eth-Trunk have member interfaces, the member interfaces are displayed in the sequence at which they are located on the panel and two indented spaces are required for each row.

To clear statistics on an interface, run the reset interface counters command.

Example

# Display brief status and configuration information about the interfaces in the sequence at which they are located on the panel.

<HUAWEI> display interface brief panel-order
PHY: Physical                                                                   
*down: administratively down                                                    
^down: standby                                                                  
(l): loopback                                                                   
(s): spoofing                       
(E): E-Trunk down                                   
(b): BFD down                                                                   
(e): ETHOAM down                                                                
(d): Dampening Suppressed                                                       
(p): port alarm down                                                            
(dl): DLDP down                                                                 
InUti/OutUti: input utility rate/output utility rate                            
Interface                   PHY   Protocol  InUti OutUti   inErrors  outErrors  
MEth0/0/0                   up    up        0.01%  0.01%          0          0  
                                                                                
10GE1/0/1                   down  down         0%     0%          0          0  
40GE1/0/1                   down  down         0%     0%          0          0  
10GE1/0/2                   down  down         0%     0%          0          0  
40GE1/0/2                   down  down         0%     0%          0          0  
10GE1/0/3                   up    up        0.01%  0.01%          0          0  
40GE1/0/3                   down  down         0%     0%          0          0  
10GE1/0/4                   down  down         0%     0%          0          0  
40GE1/0/4                   down  down         0%     0%          0          0  
10GE1/0/5                   down  down         0%     0%          0          0  
10GE1/0/6                   down  down         0%     0%          0          0  
10GE1/0/7                   down  down         0%     0%          0          0  
10GE1/0/8                   down  down         0%     0%          0          0  
10GE1/0/9                   up    up        0.01%  0.01%          0          0  
10GE1/0/10                  down  down         0%     0%          0          0  
10GE1/0/11                  down  down         0%     0%          0          0  
10GE1/0/12                  down  down         0%     0%          0          0  
10GE1/0/13                  down  down         0%     0%          0          0  
10GE1/0/14                  down  down         0%     0%          0          0  
10GE1/0/15                  down  down         0%     0%          0          0  
10GE1/0/16                  down  down         0%     0%          0          0  
10GE1/0/17                  down  down         0%     0%          0          0  
10GE1/0/18                  down  down         0%     0%          0          0  
10GE1/0/19                  down  down         0%     0%          0          0  
10GE1/0/20                  down  down         0%     0%          0          0  
10GE1/0/21                  up(l) up        0.01%  0.01%          0          0  
10GE1/0/22                  down  down         0%     0%          0          0  
10GE1/0/23                  up    up        0.01%  0.01%          0          0  
10GE1/0/24                  down  down         0%     0%          0          0  
10GE1/0/25                  down  down         0%     0%          0          0  
10GE1/0/26                  down  down         0%     0%          0          0  
10GE1/0/27                  down  down         0%     0%          0          0  
10GE1/0/28                  down  down         0%     0%          0          0  
10GE1/0/29                  down  down         0%     0%          0          0  
10GE1/0/30                  down  down         0%     0%          0          0  
10GE1/0/31                  down  down         0%     0%          0          0  
10GE1/0/32                  down  down         0%     0%          0          0  
10GE1/0/33                  down  down         0%     0%          0          0  
10GE1/0/34                  down  down         0%     0%          0          0  
10GE1/0/35                  down  down         0%     0%          0          0  
10GE1/0/36                  down  down         0%     0%          0          0  
10GE1/0/37                  down  down         0%     0%          0          0  
10GE1/0/38                  down  down         0%     0%          0          0  
10GE1/0/39                  down  down         0%     0%          0          0  
10GE1/0/40                  down  down         0%     0%          0          0  
10GE1/0/41                  down  down         0%     0%          0          0  
10GE1/0/42                  down  down         0%     0%          0          0  
10GE1/0/43                  down  down         0%     0%          0          0  
10GE1/0/44                  down  down         0%     0%          0          0  
10GE1/0/45                  down  down         0%     0%          0          0  
10GE1/0/46                  down  down         0%     0%          0          0  
10GE1/0/47                  down  down         0%     0%          0          0  
10GE1/0/48                  down  down         0%     0%          0          0  
                                                                                
Eth-Trunk2                  down  down         0%     0%          0          0  
Eth-Trunk3                  down  down         0%     0%          0          0  
  10GE1/0/26                down  down         0%     0%          0          0  
  10GE1/0/30                down  down         0%     0%          0          0  
Eth-Trunk11                 down  down         0%     0%          0          0  
  40GE1/0/1                 down  down         0%     0%          0          0  
                                                                                
LoopBack2                   up    up(s)        0%     0%          0          0  
                                                                                
NULL0                       up    up(s)        0%     0%          0          0  
                                                                                
Tunnel3                     down  down         0%     0%          0          0  
Tunnel10                    down  down         0%     0%          0          0  
                                                                                
Vlanif10                    down  down         --     --          0          0  
Vlanif72                    down  down         --     --          0          0  
Vlanif98                    down  down         --     --          0          0  
Vlanif100                   down  down         --     --          0          0  
Vlanif113                   down  down         --     --          0          0  
Vlanif120                   down  down         --     --          0          0  
Vlanif130                   down  down         --     --          0          0  
Vlanif144                   down  down         --     --          0          0  
Vlanif190                   down  down         --     --          0          0  
Vlanif200                   down  down         --     --          0          0  
Vlanif500                   down  down         --     --          0          0  
Vlanif628                   down  down         --     --          0          0  
Vlanif911                   down  down         --     --          0          0  
Vlanif1000                  down  down         --     --          0          0  
Vlanif1600                  down  down         --     --          0          0  
Vlanif2739                  down  down         --     --          0          0  
Vlanif3348                  down  down         --     --          0          0  
Vlanif3910                  down  down         --     --          0          0  
                                                                                
Table 6-8  Description of the display interface brief panel-order command output

Item

Description

Interface

Type and number of an interface.

PHY

Physical status of an interface:
  • up: indicates that the interface is working properly.
  • down: indicates that the physical layer of the interface fails.
  • offline: indicates that the component of the interface is not installed.
  • *down: Administratively Down, indicating that the administrator has run the shutdown command on the interface.
  • ^down: indicates that the interface is a backup interface.
  • (l): indicates that the loopback function is enabled on the interface.
  • (b): indicates that the physical layer of the interface is in BFD down state.

Protocol

Link layer protocol status of the interface:
  • up: indicates that the interface is working properly.
  • down: indicates that the link layer protocol fails.
  • *down: refers to administratively Down, indicating that the administrator runs the shutdown network-layer command on the interface.

  • (s): indicates that the spoofing function is enabled on the interface.
  • (B): indicates that the data link layer of the interface is in error down state.
  • (b): indicates that the link layer of the interface is in BFD down state.
  • (e): indicates that the link layer of the interface is in ETHOAM down state.
  • (d): indicates that the protocol module of the interface is suppressed.
  • (p): indicates that the link layer of the interface is in down state because of an error code.
  • (dl): indicates that the link layer of the interface is in DLDP down state.
  • (c): indicates that the link layer of the interface is in CFM down state.

InUti

Average inbound bandwidth usage of an interface within the last 300 seconds.

Average inbound bandwidth usage within the last 300 seconds = Average inbound traffic rate within the last 300 seconds/Interface bandwidth

When the average bandwidth usage is smaller than 0.01% and greater than 0, the value 0.01% is displayed. When the interface bandwidth becomes lower, for example, the speed command is executed to reduce the bandwidth of an Ethernet interface, the bandwidth usage may be displayed as 100% because the traffic volume is not adjusted in time. "--" indicates that an interface does not support the display of bandwidth usage.

OutUti

Average outbound bandwidth usage within the last 300 seconds.

Average outbound bandwidth usage within the last 300 seconds = Average outbound traffic rate within the last 300 seconds/Interface bandwidth

When the average bandwidth usage is smaller than 0.01% and greater than 0, the value 0.01% is displayed. When the interface bandwidth becomes lower, for example, the speed command is executed to reduce the bandwidth of an Ethernet interface, the bandwidth usage may be displayed as 100% because the traffic volume is not adjusted in time. "--" indicates that an interface does not support the display of bandwidth usage.

inErrors

Number of error packets received by an interface. This field indicates the number of CRC error packets received by an interface on CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI. The value becomes 0 when you run the reset interface counters command in the user view or when the number of received packets reaches the maximum value 0xFFFFFFFF.

outErrors

Number of error packets sent by an interface. The value becomes 0 when you run the reset interface counters command in the user view or when the number of sent packets reaches the maximum value 0xFFFFFFFF.

display interface description

Function

The display interface description command displays the description of an interface.

Format

display interface description [ interface-type [ interface-number ] | slot slot-id [ card card-number ] ]

Parameters

Parameter

Description

Value

interface-type [ interface-number ]

Displays the description of a specified interface.

If an interface type is specified but no interface number is specified, the description of all interfaces of the specified type is displayed.

-

slot slot-id

Specifies the device. slot-id specifies the stack ID of the device.

-
card card-number Specifies the card number. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display interface command can also display the description of an interface. To quickly view the description of an interface, you are advised to use the display interface description command.

If no interface type is specified, the description of all interfaces is displayed. If an interface type is specified but no interface number is specified, the description of all interfaces of the specified type is displayed.

Example

# Display the description of 10GE1/0/1.

<HUAWEI> display interface description 10ge 1/0/1
PHY: Physical                                                                   
*down: administratively down  
^down: standby                                                  
(l): loopback                                                                   
(s): spoofing                                                                   
(E): E-Trunk down                                                                   
(b): BFD down                                                                   
(e): ETHOAM down                                                                   
(d): Dampening Suppressed                                                       
(p): port alarm down                                                            
(dl): DLDP down                                                                 
Interface                     PHY     Protocol Description                      
10GE1/0/1                     down    down     10GE1/0/1 Interface         
Table 6-9  Description of the display interface description command output

Item

Description

Interface

Type and number of an interface.

PHY

Physical status of an interface:
  • up: indicates that the interface is working properly.

  • down: indicates that the physical layer of the interface fails.

  • offline: indicates that the component of the interface is not installed.
  • *down: Administratively Down, indicating that the administrator has run the shutdown command on the interface.

  • ^down: indicates that the interface is a backup interface.
  • (l): loopback, indicating that the loopback function is enabled on the interface.

  • (b): BFD down, indicating that the physical layer of the interface is in BFD Down state.

Protocol

Link layer protocol status of the interface:
  • up: indicates that the interface is working properly.

  • down: indicates that the link layer protocol of the interface fails.

  • *down: refers to administratively Down, indicating that the administrator runs the shutdown network-layer command on the interface.

  • (s): spoofing, indicating that the spoofing function is enabled on the interface.

  • (E): Eth-Trunk down, indicating that the interface goes down because of the E-Trunk negotiation failure.

  • (b): indicates that the link layer of the interface is in BFD down state.

  • (e): ETHOAM down, indicating that the link layer protocol of the interface is in ETHOAM down state.

  • (d): Dampening Suppressed, indicating that the protocol of the interface is suppressed.

  • (p): port alarm down, indicating that the link layer of the interface is in down state because of an error code.
  • (dl): DLDP down, indicating that the link layer protocol of the interface is in DLDP down state.

Description

Interface description.

display interface troubleshooting

Function

The display interface troubleshooting command displays interface diagnostic information, including alarms and causes of interface Down events, Up/Down transitions, and error packets, to rapidly locate the fault.

Format

display interface troubleshooting [ interface-type interface-number ]

Parameters

Parameter

Description

Value

interface-type interface-number

Specifies the interface type and number.

The value depends on the device configuration.

Views

User view

Default Level

1: Monitoring level

Usage Guidelines

If an interface fault occurs, you can run this command to view diagnostic information about faulty interfaces to rapidly locate the fault.

Example

# Display diagnostic information about a specified interface.

<HUAWEI> display interface troubleshooting ge 1/0/1
Note: Speed:value(Mbit/s) (negotiation status, configuration, port type, transceiver type)

Current state: DOWN
Speed: AUTO (auto, -, GE, -)
Negotiation: ENABLE

# Display diagnostic information about all interfaces.

<HUAWEI> display interface troubleshooting
Note: Speed:value(Mbit/s) (negotiation status, configuration, port type, transceiver type)

10GE1/0/1 :
Current state: DOWN
Speed: 10000 (force, -, 10GE, 10GBASE-FIBER)

Port exception information:
----------------------------------------------------------
Description               Time
----------------------------------------------------------
optical los               2016-06-12 09:37:07
----------------------------------------------------------

10GE1/0/2 :
Current state: DOWN
Speed: 10000 (force, -, 10GE, -)

10GE1/0/3 :
Current state: DOWN
Speed: 10000 (force, -, 10GE, -)

10GE1/0/4 :
Current state: UP
Table 6-10  Description of the display interface troubleshooting command output

Item

Description

Current state

Physical status of an interface.

Speed

Interface rate information:
  • value(Mbit/s): Current rate of the interface, in Mbit/s.
  • negotiation status: Rate auto-negotiation status:
    • force: forced rate
    • auto: auto-negotiated rate
  • configuration: Rate configuration.
  • port type: Actual interface type.
  • transceiver type: Optical module type.

Negotiation

Auto-negotiation mode of an interface.

NOTE:

This field is displayed only when the interface supports the auto-negotiation configuration.

Training

Training status of an interface.
NOTE:

This field is displayed only when the interface supports the training function.

When a training-disabled 40GE interface of a CE8860EI is connected to a 40GE interface of a CE6851-48S6Q-HI, CE6850-48T6Q-HI, CE6856HI or CE6855HI, the interfaces do not go Up. The interfaces go Up only after the training function is enabled on the 40GE interface of the CE8860EI.

Fec

FEC status of an interface.

NOTE:

This field is displayed only when the interface supports the FEC function.

Loopback

Loopback status of an interface.

NOTE:

This field is displayed only when the loopback internal command is configured on the interface.

Port exception information

Exception information about a specified interface.

Fault

Fault status of an interface.
  • LOCAL FAULT: Signal receiving on the local interface is abnormal.
  • REMOTE FAULT: Signal receiving on the remote interface is abnormal.
NOTE:

This item is displayed only when exceptions including the optical signal fluctuation and signal interference occur.

Description

Symptom:
  • link-flap: link flapping

  • crc-error: CRC error

  • non-huawei opt: Optical module that is not certified for Huawei Ethernet switches.

  • optical los: The optical module does not receive optical signals.

  • tx power high: The transmit optical power is too high.

  • tx power low: The transmit optical power is too low.

  • rx power high: The receive optical power is too high.

  • rx power low: The receive optical power is too low.

  • voltage high: The voltage of the optical module is too high.

  • voltage low: The voltage of the optical module is too low.

  • current high: The current of the optical module is too high.

  • current low: The current of the optical module is too low.

  • temper high: The temperature of the optical module is too high.

  • temper low: The temperature of the optical module is too low.

  • optType mismatch: optical module type mismatch

  • transceiver loose: The optical module is not securely installed.

time

Time when the fault occurred.

display ip interface

Function

The display ip interface command displays the IP configuration and statistics on interfaces. The statistics include the number of packets and bytes received and sent by interfaces, number of multicast packets sent and received by interfaces, and number of broadcast packets received, sent, forwarded, and discarded by interfaces.

The display ip interface brief command displays brief information about interface IP addresses, including the IP address, subnet mask, physical status, link-layer protocol status, and number of interfaces in different states.

Format

display ip interface [ interface-type interface-number ]

display ip interface brief [ interface-type [ interface-number ] | slot slot-id [ card card-number ] | ip-configured [ except interface-type ] ]

Parameters

Parameter Description Value
interface-type interface-number

Specifies the type and number of an interface. If no interface is specified, IP configuration and statistics about all interfaces are displayed.

-
brief Displays brief information, including the IP address, subnet mask, physical status, link-layer protocol status, and number of interfaces in different states. -
slot slot-id

Displays the IP configuration and statistics of interfaces on the specified device. slot-id specifies the stack ID of the device..

-
card card-number

Displays the IP configuration and statistics of interfaces on specified card.

-
ip-configured

Displays the IP configuration of interfaces configured with IP addresses.

-
except interface-type

Displays the IP configuration of interfaces excluding the interfaces of the specified type.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ip interface brief command to view the following information:
  • IP configurations of all interfaces
  • IP configurations of interfaces of the specified type and a specified interface
  • IP configurations of interfaces that have IP addresses
This command, however, cannot display the IP configurations of Layer 2 interfaces or Eth-Trunk member interfaces.
NOTE:

Example

# Display IP information about VLANIF10.
<HUAWEI> display ip interface vlanif 10
Vlanif10 current state : UP                                                     
Line protocol current state : UP                                                
The Maximum Transmit Unit : 1500 bytes                                          
input packets : 97975772, bytes : 2553916906, multicasts : 97975765             
output packets : 187053, bytes : 12680782, multicasts : 187054                  
Directed-broadcast packets:                                                     
 received packets:            0, sent packets:              0                   
 forwarded packets:           0, dropped packets:           0                   
Internet Address is 10.100.1.2/24                                              
Broadcast address : 10.100.1.255                                               
TTL being 1 packet number:    588746                                            
TTL invalid packet number:         0                                            
ICMP packet input number:          7                                            
  Echo reply:                      0                                            
  Unreachable:                     0                                            
  Source quench:                   0                                            
  Routing redirect:                0                                            
  Echo request:                    7                                            
  Router advert:                   0                                            
  Router solicit:                  0                                            
  Time exceed:                     0                                            
  IP header bad:                   0                                            
  Timestamp request:               0                                            
  Timestamp reply:                 0                                            
  Information request:             0                                            
  Information reply:               0                                            
  Netmask request:                 0                                            
  Netmask reply:                   0                                            
  Unknown type:                    0                                           
DHCP packet deal mode: global
# Display IP information about 10GE1/0/1.
<HUAWEI> display ip interface 10ge 1/0/1
10GE 1/0/1 current state : UP                                                    
Line protocol current state : UP                                                
The Maximum Transmit Unit : 1500 bytes                                          
input packets : 2095, bytes : 110024, multicasts : 0                            
output packets : 2077, bytes : 103169, multicasts : 0                           
Directed-broadcast packets:                                                     
 received packets:            0, sent packets:              0                   
 forwarded packets:           0, dropped packets:           0                   
ARP packet input number:          46                                            
  Request packet:                  0                                            
  Reply packet:                   46                                            
  Unknown packet:                  0                                            
Internet Address is 10.1.1.2/24                                                 
Broadcast address : 10.1.1.255                                                  
TTL being 1 packet number:         0                                            
TTL invalid packet number:         0                                            
ICMP packet input number:          0                                            
  Echo reply:                      0                                            
  Unreachable:                     0                                            
  Source quench:                   0                                            
  Routing redirect:                0                                            
  Echo request:                    0                                            
  Router advert:                   0                                            
  Router solicit:                  0                                            
  Time exceed:                     0                                            
  IP header bad:                   0                                            
  Timestamp request:               0                                            
  Timestamp reply:                 0                                            
  Information request:             0                                            
  Information reply:               0                                            
  Netmask request:                 0                                            
  Netmask reply:                   0                                            
  Unknown type:                    0 
DHCP packet deal mode: global
Table 6-11  Description of the display ip interface command output

Item

Description

Vlanif10 current state

Current status of an interface.

Line protocol current state

Indicates the link-layer protocol status of the interface.
  • UP: indicates that the link-layer protocol status of the interface is Up.

  • DOWN (BFD status down): indicates that the BFD session bound to the interface goes Down.

  • DOWN (Main BFD status down): indicates that the BFD session bound to the main interface goes Down, which changes the BFD session status on the Layer 2 or Layer 3 sub-interface correspondingly. This state is available for only the Layer 2 or Layer 3 sub-interface.

  • DOWN: indicates that the link-layer protocol status of the interface is Down or no IP address is assigned to the interface.

  • UP (spoofing): indicates that the link-layer protocol of the interface is always Up with the spoofing feature enabled.

  • Administratively Down: The administrator runs the shutdown network-layercommand on the interface.

The Maximum Transmit Unit

Maximum Transmission Unit (MTU).

input packets : bytes : multicasts :

Numbers of packets, bytes, and multicast packets received by an interface.

output packets :bytes : multicasts :

Numbers of packets, bytes, and multicast packets sent by an interface.

Directed-broadcast packets

  • received packets: indicates the number of broadcast packets received by an interface in the broadcast domain.
  • sent packets: indicates the number of broadcast packets sent by an interface in the broadcast domain.
  • forwarded packets: indicates the number of broadcast packets forwarded by an interface. If broadcast packet forwarding is not enabled on the interface, the value is 0.
  • dropped packets: indicates the number of broadcast packets discarded by an interface.

ARP packet input number

Indicates the number of received ARP packets.

  • Request packet: indicates the number of request packets.
  • Reply packet: indicates the number of response packets.
  • Unknown packet:indicates the number of unknown packets.

Internet Address is

IP address of an interface, in the format of IP address/mask length.

Broadcast address

Broadcast address of an interface.

If a primary IP address with a 31-bit mask is configured for the interface, this field is empty.

TTL being 1 packet number

Number of packets with TTL 1.

TTL invalid packet number

Number of packets with invalid TTL.

ICMP packet input number

Statistics about ICMP packets received by an interface, including Echo Request and Reply packets, Destination Unreachable packets, Source Quench packets, Redirect packets, Router Advertisement packets, Router Solicitation packets, Time Exceeded packets, IP header error packets, Timestamp Request and Reply packets, Information Request and Reply packets, Address Mask Request and Reply packets, and unknown packets.

DHCP packet deal mode

DHCP packet deal mode.
  • global: DHCP Relay is disabled.
  • Relay: DHCP Relay is enabled.
# Display brief IP information about all interfaces.
<HUAWEI> display ip interface brief
*down: administratively down                                                    
!down: FIB overload down                                                        
^down: standby                                                                  
(l): loopback                                                                   
(s): spoofing                                                                   
(d): Dampening Suppressed                                                       
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0
Interface                   IP Address/Mask    Physical Protocol VPN
MEth0/0/0                   10.10.63.10/24     up       up       --
NULL0                       unassigned         up       up(s)    --
Table 6-12  Description of the display ip interface brief command output

Item

Description

*down

Indicates the reason that interface is physically Down.

Administratively down: indicates that the network administrator runs the shutdown command on the interface.

!down

Indicates that the interface goes Down because the number of route prefixes in the FIB exceeds the upper limit.

^down

Indicates that the interface is a backup interface.

(l): loopback

Indicates that the loopback function is enabled on the interface.

(s): spoofing

Indicates that the spoofing function is enabled on the interface.

(d): Dampening Suppressed

Indicates that the protocol module of the interface is suppressed.

The number of interface that is UP/DOWN in Physical is

Indicates the Up or Down state of a physical link and the number of interfaces in different states.

The number of interface that is UP/DOWN in Protocol is

Indicates the Up or Down state of the protocol and the number of interfaces in different states.

Interface

Indicates the interface type and number.

IP Address/Mask

Indicates the IP address and subnet mask of a Layer 3 interface.

Physical

Indicates the physical status of an interface, including:
  • Up: indicates that the interface runs normally.
  • Down: indicates that the interface becomes faulty.
  • offline: indicates that the component of the interface is not installed.
  • *down: indicates that the administrator runs the shutdown command on the interface.
  • !down: indicates that the FIB module is in the overload suspension state. In this case, the link protocol status of the interface is Down.
  • ^down: indicates that the interface is a backup interface.

Protocol

Indicates the link protocol status of the interface. Possible link protocol status is as follows:
  • Up: indicates that the link protocol status of the interface is normal.
  • Down: indicates that the link protocol status of the interface is abnormal or the interface is not configured with an IP address.

VPN

Instance name of the VPN that bound to the interface. If no VPN is configured, display --.

Related Topics

display ip interface description

Function

The display ip interface description command displays IP-related information (such as the IP address, subnet mask, physical layer status, link layer protocol status, and number of interfaces in different states) and description of an interface.

Format

display ip interface description [ interface-type [ interface-number ] | slot slot-number [ card card-number ] | ip-configured [ except interface-type ] ]

Parameters

Parameter Description Value
interface-type Specifies the interface type. If no interface type is specified, IP-related configurations and statistics of all interfaces are displayed. -
interface-number Specifies the interface number, which is used with interface-type to identify an interface. If no interface number is specified, IP-related configurations and statistics of interfaces in the same type are displayed. -
slot slot-number Specifies the LPU number. If no LPU number is specified, IP-related brief information and descriptions of all interfaces on MPUs and LPUs are displayed. -
card card-number Specifies the subcard number. If no subcard number is specified, IP-related brief information and descriptions of all interfaces on the specified subcard are displayed. -
ip-configured Displays brief information and descriptions of interfaces configured with IP addresses. -
except interface-type Displays brief information and descriptions of interfaces configured with IP addresses except the interfaces of a specified type. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

Instead of running the display ip interface brief and display interface description commands, you can run the display ip interface description command to view both IP-related information and description of an interface, which facilitates the user operation.

Example

# View IP-related information and description of a specified interface.

<HUAWEI> display ip interface description
Codes:                                                                          
      Ana(Analogmodem),       Asy(Async),             Cell(Cellular),           
      Dia(Dialer),            Eth(Ethernet)           GE(GigabitEthernet),      
      H(Hssi),                Ima(Ima-group),         Loop(LoopBack),           
      MTun(MTunnel),          S(Serial),              Tun(Tunnel),              
      VE(Virtual-Ethernet),   VT(Virtual-Template)                              
                                                                                
      d(dampened),            D(down),                *D(administratively down),
      !D(FIB overload down),  ^D(standby),            l(loopback),              
      s(spoofing),            U(up)                                             
------------------------------------------------------------------------------  
Number of interfaces whose physical status is Up: 7                             
Number of interfaces whose physical status is Down: 16                          
Number of interfaces whose protocol status is Up: 5                             
Number of interfaces whose protocol status is Down: 18                          
                                                                                
Interface                      IP Address/Mask    Phy  Prot Description         
10GE1/0/46                     unassigned         D    D                        
10GE1/0/47                     unassigned         D    D                        
Eth-Trunk3                     unassigned         D    D                        
Loop1                          unassigned         U    U(s)                     
MEth0/0/0                      192.168.1.130/24   U    U                        
NULL0                          unassigned         U    U(s)                     
Vlanif2                        unassigned         D    D                        
Vlanif10                       unassigned         D    D                        
Vlanif20                       10.10.10.1/24        D    D                        
Vlanif40                       unassigned         D    D                        
Vlanif50                       unassigned         D    D                        
Vlanif63                       unassigned         D    D                        
Vlanif100                      unassigned         U    D                        
Vlanif111                      192.168.50.1/24    U    U                        
Vlanif112                      10.1.112.1/24      D    D                        
Vlanif113                      10.1.113.1/24      D    D    To SwitchA          
Vlanif114                      10.1.114.1/24      D    D                        
Vlanif200                      unassigned         *D   D                        
Vlanif222                      192.168.51.1/24    U    U                        
Vlanif300                      unassigned         U    D                        
Vlanif400                      10.10.1.2/24         D    D                        
Vlanif1124                     unassigned         D    D                        
Vlanif2020                     10.10.2.4/24       D    D  
Table 6-13  Description of the display ip interface description command output

Item

Description

Codes:

The following information provides the full spelling and explanation of the abbreviated interface names, physical status, and link layer protocols.
  • Full spelling of the abbreviated interface names is as follows:
    • Eth: Ethernet interfaces
    • GE: GigabitEthernet interfaces
    • Ima: IMA-Group interfaces
    • Loop: Loopback interfaces
    • MTun: MTunnel interfaces
    • S: Serial interfaces
    • Tun: Tunnel interfaces
    • VE: Virtual-Ethernet interfaces
    • VT: Virtual-Template interfaces
  • Explanation of the abbreviated physical status of the interface is as follows:
    • U: indicates that the physical status of the interface is Up. U(l) indicates that the interface is enabled with the loopback function.
    • D: indicates that the physical status of the interface is Down.
    • *D: indicates that the network administrator has run the shutdown command on the interface.
    • !D: indicates that the FIB module is in the overload suspension state. The link layer protocol of the interface goes Down.
    • ^D: indicates that the FIB module is in the standby state.
    • s: indicates that the interface is in spoofing status.
  • Explanation of the abbreviated link layer protocol status is as follows:
    • U: indicates that the status of the link layer protocol on the interface is Up. U(s) indicates that the link layer protocol of the interface is Up even though the interface is not configured with an IP address. (s) is an inherent attribute of the interface and will be displayed when the interface is configured with an IP address. (d) indicates that the protocol module of the interface is dampened.
    • D: indicates that the link layer protocol of the interface is Down or no IP address is assigned to the interface.

Number of interfaces whose physical status is Up:

Indicates the number of interfaces whose physical status is Up.

Number of interfaces whose physical status is Down:

Indicates the number of interfaces whose physical status is Down.

Number of interfaces whose protocol status is Up:

Indicates the number of interfaces whose link layer protocol is Up.

Number of interfaces whose protocol status is Down:

Indicates the number of interfaces whose link layer protocol is Down.

Interface

Indicates the name and number of an interface.

IP Address/Mask

Indicates the IP address and subnet mask of an interface.

Phy

Indicates the physical status of an interface.

Prot

Indicates the link layer protocol status of an interface.

Description

Indicates the description of an interface, expressed in characters. A maximum of 20 characters can be displayed. When the length of the description is greater than 20 characters, only the first 16 characters are displayed and the last 3 characters are replaced by ellipsis (...). If the description of an interface is the default setting, no information is displayed.

Related Topics

display mib-index interface

Function

The display mib-index interface command displays the index value of an interface in the MIB.

Format

display mib-index interface [ interface-type [ interface-number ] ]

Parameters

Parameter Description Value
interface-type [ interface-number ]
Specifies the interface for which the index value is displayed.
  • interface-type: specifies the interface type, for example, Ethernet.

    If the interface type is not specified, the index values of all interfaces are displayed.

  • interface-number: specifies the number of an interface. It is used with interface-type to specify an interface.

    If the interface number is not specified, the index values of all interfaces of the type are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display mib-index interface command as an NMS user to view the index values of interfaces.

Example

# Display indexes of all interfaces.

<HUAWEI> display mib-index interface
IfName                          IfIndex   PortIndex
---------------------------------------------------
10GE1/0/1                       53        49
10GE1/0/2                       54        50
10GE1/0/3                       55        51
10GE1/0/4                       56        52
GE1/0/1                         5         1
GE1/0/2                         6         2
GE1/0/3                         7         3
GE1/0/4                         8         4
GE1/0/5                         9         5
GE1/0/6                         10        6
GE1/0/7                         11        7
GE1/0/8                         12        8
GE1/0/9                         13        9
GE1/0/10                        14        10
GE1/0/11                        15        11
GE1/0/12                        16        12
GE1/0/13                        17        13
GE1/0/14                        18        14
GE1/0/15                        19        15
GE1/0/16                        20        16
GE1/0/17                        21        17
Table 6-14  Description of the display mib-index interface command output

Item

Description

IfName

Interface name.

IfIndex

Index value of an interface.

PortIndex

Index value of a port.

display this interface

Function

The display this interface command displays interface information in the current interface view.

Format

display this interface

Parameters

None

Views

Interface view

Default Level

1: Monitoring level

Usage Guidelines

In the interface view, you can run the display this interface command to rapidly view the status of the interface and packet statistics on the interface.

NOTE:
For the CE6880EI:
  • When receiving or sending jumbo frames, the switches add the number of jumbo frames to the jumbo frame statistics, and also add the number to the corresponding unicast, multicast, or broadcast packet statistics.

  • Only known unicast and multicast packet statistics on stack member interfaces are collected, and unknown unicast packet statistics are collected as multicast packet statistics.

For switches excluding the CE6870EI and CE6880EI, if congestion occurs on an interface after flow control is configured, the number of discarded packets is included in the value of the Discard field under the Input field in the display interface command output.

Example

# Display information about Layer 2 interface 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] display this interface
10GE1/0/1 current state : UP (ifindex: 4)                             
Line protocol current state : UP                                                
Description:                                                                    
Switch Port, PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 9216    
Internet protocol processing : disabled                                         
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0025-9e95-7c21 
Port Mode:     COMMON FIBER,     Port Split/Aggregate:         DISABLE
Speed:                 1000,     Loopback:                        NONE          
Duplex:                FULL,     Negotiation:                   ENABLE          
Input Flow-control: DISABLE,     Output Flow-control:          DISABLE       
Mdi:                      -,     Fec:                                -
Last physical up time   : 2013-10-24 11:00:19                                   
Last physical down time : 2013-10-23 14:07:45                                   
Current system time: 2013-10-29 10:15:29                                        
Statistics last cleared:never                                                   
    Last 300 seconds input rate: 171 bits/sec, 0 packets/sec                    
    Last 300 seconds output rate: 144 bits/sec, 0 packets/sec                   
    Input peak rate 8245791920 bits/sec, Record time: 2013-10-26 10:21:43       
    Output peak rate 8181563138 bits/sec, Record time: 2013-10-26 10:15:46      
    Input :       876952146048 bytes,         9329219248 packets                
    Output:      1968304390465 bytes,        21888927861 packets                
    Input:                                                                      
      Unicast:                  15168,   Multicast:              9329204080     
      Broadcast:                    0,   Jumbo:                           0     
      Discard:                      0,   Frames:                          0     
      Pause:                        0 

      Total Error:                  0     
      CRC:                          0,   Giants:                          0     
      Jabbers:                      0,   Fragments:                       0     
      Runts:                        0,   DropEvents:                      0     
      Alignments:                   0,   Symbols:                         0     
      Ignoreds:                     0
                                                                                
    Output:                                                                     
      Unicast:                  15763,   Multicast:             21888912096     
      Broadcast:                    2,   Jumbo:                           0     
      Discard:             3056469870,   Buffers Purged:                  0     
      Pause:                        0                                           
                                                                                
    Input bandwidth utilization threshold : 90.00%                             
    Output bandwidth utilization threshold: 90.00%                             
    Last 300 seconds input utility rate:  0.01%                                 
    Last 300 seconds output utility rate: 0.01%

# Display information about Layer 3 interface 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] display this interface
10GE1/0/1 current state : UP (ifindex: 4)                             
Line protocol current state : UP                                                
Description:                                                                    
Route Port,The Maximum Transmit Unit is 1500,The Maximum Frame Length is 9216   
Internet protocol processing : disabled                                         
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0025-9e95-7c21 
Port Mode:     COMMON FIBER,     Port Split/Aggregate:         DISABLE
Speed:                 1000,     Loopback:                        NONE          
Duplex:                FULL,     Negotiation:                   ENABLE          
Input Flow-control: DISABLE,     Output Flow-control:          DISABLE       
Mdi:                      -,     Fec:                                -
Last physical up time   : 2013-10-24 11:00:19                                   
Last physical down time : 2013-10-23 14:07:45                                   
Current system time: 2013-10-29 10:15:29                                        
Statistics last cleared:never                                                   
    Last 300 seconds input rate: 171 bits/sec, 0 packets/sec                    
    Last 300 seconds output rate: 144 bits/sec, 0 packets/sec                   
    Input peak rate 8245791920 bits/sec, Record time: 2013-10-26 10:21:43       
    Output peak rate 8181563138 bits/sec, Record time: 2013-10-26 10:15:46      
    Input :       876952146048 bytes,         9329219248 packets                
    Output:      1968304390465 bytes,        21888927861 packets                
    Input:                                                                      
      Unicast:                  15168,   Multicast:              9329204080     
      Broadcast:                    0,   Jumbo:                           0     
      Discard:                      0,   Frames:                          0     
      Pause:                        0 

      Total Error:                  0     
      CRC:                          0,   Giants:                          0     
      Jabbers:                      0,   Fragments:                       0     
      Runts:                        0,   DropEvents:                      0     
      Alignments:                   0,   Symbols:                         0     
      Ignoreds:                     0
                                                                                
    Output:                                                                     
      Unicast:                  15763,   Multicast:             21888912096     
      Broadcast:                    2,   Jumbo:                           0     
      Discard:             3056469870,   Buffers Purged:                  0     
      Pause:                        0                                           
                                                                                
    Input bandwidth utilization threshold : 90.00%                             
    Output bandwidth utilization threshold: 90.00%                             
    Last 300 seconds input utility rate:  0.01%                                 
    Last 300 seconds output utility rate: 0.01%

# Display information about MEth interface 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface MEth0/0/0
[~HUAWEI-MEth0/0/0/0] display this interface
MEth0/0/0 current state : UP (ifindex: 3)                                       
Line protocol current state : UP                                                
Last line protocol up time : 2014-08-29 14:30:21                                
Description:                                                                    
Route Port,The Maximum Transmit Unit is 1500                                    
Internet Address is 192.168.80.101/24                                           
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 306b-2079-2200 
Media type: twisted pair, Link type: auto negotiation                           
Loopback: NONE, Maximal BW: 1000M, Current BW: 100M, Full-duplex mode           
Last physical up time   : 2014-08-29 14:30:21                                   
Last physical down time : 2014-08-29 14:30:15                                   
Current system time: 2014-09-03 19:08:48                                        
Statistics last cleared:never                                                   
    Last 300 seconds input rate: 1116 bits/sec, 1 packets/sec                   
    Last 300 seconds output rate: 1005 bits/sec, 1 packets/sec                  
    Input peak rate 3889 bits/sec, Record time: 2014-09-01 20:24:43             
    Output peak rate 107872 bits/sec, Record time: 2014-09-01 20:23:52          
    Input :           25807038 bytes,             262796 packets                
    Output:           17336411 bytes,             206105 packets                
    Input:                                                                      
      Unicast:                 203772,   Multicast:                   30327     
      Broadcast:                28704,   Overrun:                         0     
      Over-car-pps:                 0                                           
                                                                                
      Total Error:                  0,   CRC:                             0     
      Giants:                       0,   Jabbers:                         0     
      Runts:                        0,   Fragments:                       0     
                                                                                
    Output:                                                                     
      Unicast:                 205805,   Multicast:                       0     
      Broadcast:                  300,   Underrun:                        0     
    Last 300 seconds input utility rate:  0.01%                                 
    Last 300 seconds output utility rate: 0.01% 
Table 6-15  Description of the display interface command output

Item

Description

current state

Physical status of the interface:
  • UP: indicates that the interface is physically Up.

  • OFFLINE: indicates that the interface is in offline state.
  • DOWN: indicates that the interface is physically Down.

    When the interface fault at the physical layer results from the following causes, the device displays the corresponding information following "Down" to prompt you to modify the configuration or replace the module. For example, the information "DOWN(Transceiver type mismatch)" is displayed.

    • Transceiver speed mismatch
    • Transceiver type mismatch
    • Negotiation unsupported
    • Port mode mismatch
    • The optical power is too low
    • Transceiver loose
    • Fast-up configuration mismatch
    • Trunk error down
    • Port unavailable
    • Cable for stack port only
    NOTE:

    This interface fault usually occurs when you replace an optical module or board after the current configuration takes effect and the new optical module or board does not support the original configuration. For example, the SFP-GE electrical module is used on the original interface and the speed 100 command is configured. After the SFP-GE electrical module is replaced with the SFP-GE optical module, the interface status is Down because the optical module does not support the rate configuration. In this case, run the undo speed 100 command to delete the speed configuration or use the transceiver module that supports the speed configuration.

  • TRIGGER DOWN (1AG auto recover): If a connectivity fault detected by CFM, the CFM shuts down and then starts Port1 after 7s.

  • Administratively DOWN: The administrator has run the shutdown command on the interface.

  • Flow DOWN: The status of the data flow on the interface is Down. This state is determined by the status of the mVRRP bound to the interface. If the mVRRP status is Backup or Initialize, the status of the data flow on the interface is Down.

  • ERROR DOWN: For details about the cause and description, see Table 6-6.

Line protocol current state

Link layer protocol status of the interface:
  • UP: indicates that the link layer protocol status of the interface is Up.

  • DOWN (BFD status down): indicates that the BFD session bound to the interface goes Down.

  • DOWN (Main BFD status down): The BFD session bound to the main interface goes Down, which changes the BFD session status on the Layer 2 or Layer 3 sub-interface correspondingly. This state is available only for the Layer 2 or Layer 3 sub-interface.

  • DOWN (Main bit-error-detection down): The status displayed on Layer 2 or Layer 3 sub-interfaces when the bit error ratio of the interface exceeds the alarm threshold. By default, the bit error function on an interface associates with that on Layer 2 or Layer 3 sub-interfaces.

  • DOWN (CFM down): indicates that the CFM session bound to the interface goes Down.

  • DOWN: indicates that the link layer protocol status of the interface is Down or no IP address is assigned to the interface.

  • UP (spoofing): indicates that the link layer protocol of the interface is always Up with the spoofing feature enabled.

  • Administratively Down: The administrator runs the shutdown network-layer command on the interface.

Last line protocol up time

Last time when the protocol status on the interface is Up.

Description

Interface description.

To configure the description for an interface, run the description command.

Switch Port

A Layer 2 interface.

If the interface is a Layer 3 interface, such as VLANIF interface, Route Port is displayed here.

Internet Address

IP address of the MEth interface. If no IP address is assigned to the interface, the system displays "Internet protocol processing : disabled."

Media type

Cable type of the MEth interface. The MEth interface complies with the 10/100BASE-TX standard. Twisted pair cables are used.

Link type

Link status of the MEth interface:
  • auto negotiation: indicates the auto-negotiation mode.
  • force link: indicates the forced mode. In the forced mode, the management interface supports only interface rate configuration, but does not support duplex mode configuration.

Maximal BW

Maximum bandwidth of the MEth interface.

Current BW

Current bandwidth of the MEth interface.

Full-duplex mode

The MEth interface works in full-duplex mode and does not support half-duplex mode.

PVID

Default VLAN ID of the interface.

TPID

Type of frames that are supported on the interface.

By default, this field displays 0x8100, indicating an 802.1Q frame.

The Maximum Transmit Unit

MTU of the interface.

For example, the default MTU of an Ethernet interface or a serial interface is 1500 bytes. The packet whose size is greater than the MTU is fragmented before being transmitted. If fragmentation is not allowed, the packets are discarded.

The Maximum Frame Length

Maximum frame length allowed by the interface.

To set the maximum frame length, run the jumboframe enable command.

Internet protocol processing

If the interface is a Layer 3 interface and has an IP address configured, this field displays the IP address.

If the interface is a Layer 2 interface or has no IP address configured, this field displays disabled.

IP Sending Frames' Format

Format of the frame contained in the sent IP packet, which can be PKTFMT_ETHNT_2, Ethernet_802.3, or Ethernet_SNAP.

Hardware address

MAC address of the device.

Port Mode

Working mode of the interface:
  • COMMON COPPER: The interface works as an electrical interface.
  • COMMON FIBER: The interface works as an optical interface.

Port Split

Split status of the interface:
  • Hyphen (-): indicates N/A.
  • disable: indicates that the current interface is not split. This field is displayed only for an interface that can be split.
  • enable: indicates that the current interface is an interface split from an interface. This status is displayed only after the split configuration takes effect.
  • Enable after board reset: Interface split is enabled after the board is reset.

    An interface can be split only after the board is reset. The status is displayed after the port split command is run to split an interface and before the board is reset.

  • Disable after board reset: Interface merge is enabled after the board is reset.

    An interface can be merged only after the board is restarted. The status is displayed after the undo port split command is run to merge an interface and before the board is reset.

For details about how to split an interface, see port split.
NOTE:

If the interface is an optical interface, this field displays Port Split/Aggregate, indicating the interface split or aggregation state.

Speed

Current rate of the interface. If - is displayed, the interface is unavailable.
  • In auto-negotiation mode, the speed auto command configures the rate of an interface.
  • In non-auto-negotiation mode, the speed command configures the rate of an interface.

Loopback

Loopback configuration of the interface.

To configure loopback on an interface, run the loopback command.

Duplex

Duplex mode of the interface.

If this field displays FULL, the interface works in full-duplex mode.

If this field displays HALF, the interface works in half-duplex mode.

Negotiation

Auto-negotiation mode of the interface. The negotiation disable command configures the auto-negotiation mode for an Ethernet electrical interface.
  • ENABLE: The interface works in auto-negotiation mode.
  • DISABLE: The interface works in non-auto-negotiation mode.

Mdi

Network cable type of the interface.

The network cable type is displayed for an electrical interface as auto, and displayed as a hyphen (-) for an optical interface.

FEC

FEC mode of an optical interface.
  • RS-FEC: indicates that the RS-FEC function is enabled on a QSFP28 or a 25GE interface when an optical module is installed or the medium type is pre-configured.
  • BASE-FEC: indicates that the BASE-FEC function is enabled on an SFP28 interface when an optical module is installed or the medium type is pre-configured.
  • NONE: indicates that no optical module is installed on a QSFP28 or a 25GE interface or the FEC function is not configured.
On a non-QSFP28 or non-25GE interface, the FEC mode cannot be configured and this field displays -.

Hold down time

Delay in reporting an interface Down event. This field is displayed only after carrier down-hold-time is configured.

Hold up time

Delay in reporting an interface Up event. This field is displayed only after carrier up-hold-time is configured.

Input Flow-control

Whether flow control is enabled in the inbound direction:
  • ENABLE: Flow control is enabled in the inbound direction of the interface.

  • DISABLE: Flow control is disabled in the inbound direction of the interface.

NOTE:

By default, this field displays DISABLE. If the flow-control [ input ] command has been executed to enable flow control in both inbound and outbound directions or only the inbound direction of an Ethernet interface, this field displays ENABLE.

Output Flow-control

Whether flow control is enabled in the outbound direction:
  • ENABLE: Flow control is enabled in the outbound direction of the interface.

  • DISABLE: Flow control is disabled in the outbound direction of the interface.

NOTE:

By default, this field displays DISABLE. If the flow-control [ output ] command has been executed to enable flow control in both inbound and outbound directions or only the outbound direction of an Ethernet interface, this field displays ENABLE.

Last physical up time

Last time the interface went Up physically. If this field displays "-", the physical status of the interface does not change.

Last physical down time

Last time the interface went Down physically. If this field displays "-", the physical status of the interface does not change.

Current system time

Current system time.

If the time zone is configured and the daylight saving time is used, the time is in YYYY/MM/DD HH:MM:SS UTC±HH:MM DST format.

Statistics last cleared

Last time traffic statistics on the interface are cleared.

Last 300 seconds input rate

Incoming packet rate (bits per second and packets per second) within the last 300 seconds.

Last 300 seconds output rate

Outgoing packet rate (bits per second and packets per second) within the last 300 seconds.

Input peak rate/Record time

Maximum rate of incoming packets and time when the maximum rate is reached.
NOTE:

The maximum rate is the maximum sampling value among six samples collected within the interface traffic statistics collection interval, that is, if the newest sampling value is greater than the currently displayed maximum rate, the maximum rate is updated to the newest sampling value. The sampling interval is the round-up result of traffic statistics collection interval divided by 6.

Output peak rate/Record time

Maximum rate of outgoing packets and time when the maximum rate is reached.
NOTE:

The maximum rate is the maximum sampling value among six samples collected within the interface traffic statistics collection interval, that is, if the newest sampling value is greater than the currently displayed maximum rate, the maximum rate is updated to the newest sampling value. The sampling interval is the round-up result of traffic statistics collection interval divided by 6.

Input

Total number and total bytes of received packets on an interface. Packets include correct packets (unicast, broadcast, and multicast packets), incorrect packets, and dropped packets.
  • 876952146048 bytes, 9329219248 packets: number of correctly packets and bytes. The number of packets is the sum of the unicast, broadcast, and multicast packets.
  • Number of correctly received packets and bytes. The packets include:
    • Unicast
    • Multicast
    • Broadcast
    • Jumbo: Number of packets with length ranging from 1518 bytes to the maximum jumbo frame size and correct FCS values.
    • Discard: Number of packets discarded by the interface during physical layer detection. The value is always 0.
    • Frames: Number of packets with the 802.3 length value different from the actual value.
    • Pause: Number of pause frames, including Priority-based Flow Control (PFC) pause frames.
    • Overrun: Number of dropped packets received by the MEth interface.
    • Over-car-pps: Number of discarded packets due to rate limit configured by running the qos lr pps command on the MEth interface.
  • Total Error: Number of received incorrect packets of the following types:
    • CRC: Number of CRC error packets with length that is greater than 64 bytes and less than 1518 bytes.
    • Giants: Number of received packets with length exceeding the maximum jumbo frame size and correct FCS values.
    • Jabbers: Number of received packets with length ranging from 1518 bytes to the maximum jumbo frame size and incorrect FCS values.
    • Fragments: Number of fragments received by the interface. Fragments are the received packets that are shorter than 64 bytes and have CRC errors.
    • Runts: Number of undersized frames with correct FCS values received by the interface. Undersized frames are the frames that are shorter than 64 bytes and have the correct format and valid CRC field.
    • DropEvents: Number of received packets that are discarded due to GBP full or back pressure.
    • Alignment: Number of received frames with alignment errors.
    • Symbols: Number of received frames with coding errors.
    • Ignoreds: Number of received MAC control frames whose OpCode is not PAUSE.
NOTE:
For CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI, meanings of the following fields differ from those on other switches:
  • Jumbo indicates the number of packets with length ranging from 1518 bytes to the maximum jumbo frame size.
  • The Total Error field displays --. CRC indicates the number of packets with length exceeding 64 bytes and incorrect FCS values. Giants indicates the number of received packets with length exceeding the maximum jumbo frame size. Runts indicates the number of received packets with length that is less than 64 bytes. The values of Jabbers and Fragments are 0.

Output

Total number and total bytes of sent packets on an interface. Packets include correct packets (unicast, broadcast, and multicast packets), incorrect packets, and dropped packets.
  • 1968304390465 bytes, 21888927861 packets: number of correctly packets and bytes. The number of packets is the sum of the unicast, broadcast, and multicast packets.
  • Number of correctly sent packets of the following types:
    • Unicast
    • Multicast
    • Broadcast
    • Jumbo: Number of packets with length ranging from 1518 bytes to the maximum jumbo frame size and correct FCS values. For 10GE1/0/1 to 10GE1/0/12 on CE6880-48S4Q2CQ-EI and CE6880-48T4Q2CQ-EI, this field displays --.
  • Number of sent incorrect packets and dropped packets of the following types:
    • Underrun: Number of dropped packets sent by the MEth interface.
    • Discard: Number of packets discarded by the interface during physical layer detection due to queue congestion.
    • Buffers Purged: Number of packets aged in the cache.
    • Pause: Number of pause frames.
NOTE:

When the CE6870EI uses the traffic statistics function to count known unicast packets on the outbound interface, the statistics on discarded packets include the packets that are discarded because MQC-based traffic policing, hierarchical traffic policing, traffic suppression, and storm control are applied in the inbound direction.

Input bandwidth utilization threshold

Threshold for inbound bandwidth usage.

Output bandwidth utilization threshold

Threshold for outbound bandwidth usage.

Last 300 seconds input utility rate

Inbound bandwidth usage within the last 300 seconds.

Last 300 seconds output utility rate

Outbound bandwidth usage within the last 300 seconds.

Table 6-16  Description of the Error-Down event

Cause of the Error-Down Event

Description

ERROR DOWN(auto-defend)

When receiving packets from an attack source, the interface is shut down.

ERROR DOWN(bpdu-protection)

After BPDU protection is enabled, the edge interface is shut down when receiving BPDU packets.

ERROR DOWN(crc-statistics)

If the number of received CRC error packets exceeds the threshold, the interface is shut down.

ERROR DOWN(dual-active-fault-event)

After a stack splits and experiences a DAD fault, all services ports except reserved ports on the switches that fail in DAD competition will be set to Error-Down state.

ERROR DOWN(forward-engine-buffer-failed)

If the interface buffer exception occurs, the interface is shut down.

ERROR DOWN(forward-engine-interface-failed)

The system detects that a fault occurs in the forwarding engine and the interface working status is unstable. As a result, packet loss may occur or traffic may fail to be forwarded, and the interface is shut down.

ERROR DOWN(link-flap)

When the link flaps, the physical status of the associated interface becomes Down.

ERROR DOWN(loopback-detect)

If a loop occurs on the network, the interface is shut down.

ERROR DOWN(m-lag-peer)

  • When M-LAG is used for dual-homing to a TRILL network and the peer-link fails but the heartbeat is normal, the M-LAG interfaces on the backup device will enter the error-down state. When the peer-link recovers, the physical interfaces change from error-down to Up after 2 minutes by default.

  • When M-LAG is used for dual-homing to an Ethernet, VXLAN network, or IP network and the peer-link fails but the heartbeat is normal, all physical interfaces except the management interface, peer-link interface, and stack interface on the backup device will enter the error-down state. When the peer-link recovers, the M-LAG interfaces change from error-down to Up after 2 minutes by default. Other physical interfaces go Up immediately by default.

ERROR DOWN(mac-address-flapping)

When the learned MAC address flaps, the interface changes to Down.

ERROR DOWN(monitor-link)

Indicates that the uplink interface in the Monitor Link group is in Down state or all interfaces in the upstream Smart Link group are in Down state so that the associated downstream interface is in Down state.

ERROR DOWN(portsec-reachedlimit)

When the number of learned MAC address entries reaches the limit, the interface changes to Down.

ERROR DOWN(resource-mismatch)

If a stack member switch that is starting uses a different resource mode than the master switch, or the port split configurations are inconsistent, all service ports except stack physical member ports will be set to Down. Resource modes include ARP resource allocation mode, Eth-Trunk quantity, tunnel mode, layer 3 resource allocation mode, large Layer 3 interface mode, and EEDB resource mode.

ERROR DOWN(spine-member-exceed-limit)

The number of parent switches in an SVF system exceeds the limit, and service ports of excess parent switches will be set to Down.

ERROR DOWN(spine-type-unsupported)

When the device that cannot function as a parent switch joins the stack set up by the parent switch of an SVF system, service ports of the device become Error-Down.

ERROR DOWN(stack-config-conflict)

During the setup of a stack, if other switches have the stack configuration that conflicts with the master switch, the stack may fail to be set up, and service ports of these switches (excluding the master switch) will become Down.

ERROR DOWN(stack-member-exceed-limit)

The number of member switches exceeds the limit, and ports of excess switches will be set to Down.

ERROR DOWN(stack-packet-defensive)

Physical member ports receive a large number of stack protocol packets or stack error packets within a short period.

ERROR DOWN(storm-control) After storm control is configured on an interface, in the interval for detecting storms, the interface is shut down when the average rate of received broadcast packets, multicast packets, and unknown unicast packets is larger than the value of the specified upper threshold.
ERROR DOWN(transceiver-power-low) If the optical power of the interface falls below the threshold, the interface is shut down.

interface

Function

The interface command displays the interface view.

Format

interface interface-type interface-number

Parameters

Parameter Description Value
interface-type interface-number

Specifies the type and number of an interface. The interface type and number can be closely next to each other or separated by a space character.

  • To create a sub-interface or enter a sub-interface view, specify interface-number in the format of main interface number.sub-interface number. For example, the number of Layer 3 sub-interface 1 on 10GE1/0/1 is 10GE1/0/1.1.
-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the specified interface view is displayed, you can set attributes for the interface.

Prerequisites

You need to first run the undo portswitch command in the Ethernet physical interface view to switch the interface to Layer 3 mode before creating a Layer 3 sub-interface.

Precautions

  • If a CE6810LI functions as a standalone switch, the CE6810LI does not support Layer 3 sub-interfaces. If a CE6810LI functions as a leaf switch in an SVF system consisting of fixed switches, the CE6810LI supports Layer 3 sub-interfaces.
  • The interface command can display only the view of an existing physical interface and cannot create a physical interface.

  • The interface command can create a logical interface and display the view of the logical interface.

  • After a logical interface is deleted using the undo interface command, all the configurations on the interface are automatically deleted. These configurations cannot be restored even if you create an interface same as the one deleted.

Example

# Display the view of 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1]
# Create a Layer 3 sub-interface 10GE1/0/1.1 and enter the Layer 3 sub-interface view.
<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] undo portswitch
[*HUAWEI-10GE1/0/1] commit
[~HUAWEI-10GE1/0/1] quit
[~HUAWEI] interface 10ge 1/0/1.1
[*HUAWEI-10GE1/0/1.1]

protocol up-delay-time

Function

The protocol up-delay-time command configures the delay before the Layer 3 protocol status of an interface can go Up.

The undo protocol up-delay-time command restores the default setting.

By default, the delay in reporting the interface Up status is 1 second for a VLANIF interface and 0 seconds for other interfaces.

Format

protocol up-delay-time time-value

undo protocol up-delay-time

Parameters

Parameter Description Value
time-value Specifies the delay before the protocol status of an interface can go Up.

The value is an integer that ranges from 0 to 180 in the VBDIF interface view, from 0 to 7200 in the VLANIF interface view, and from 0 to 60 in other Layer 3 interface views, in seconds.

Views

Interface View

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a network with primary and backup links, when the primary link becomes faulty, service traffic is switched from the primary link to the backup link. After the primary link is restored, service traffic is switched back to the primary link. When the interface protocol status of the primary link is Up, Layer 3 protocols such as routing and VRRP protocols are used to send protocol packets and re-negotiate with the peer end. If the link status of the local or peer interface does not meet the forwarding requirement, the protocol packets are discarded. This makes the Layer 3 protocol negotiation mechanism ineffective and results in extra device costs.

For example, the local end uses a 10GE interface for the primary link and the interface protocol status is Up; the peer end uses a VLANIF interface and the interface protocol status is Up. However, the member physical interface of the VLANIF interface is still in STP blocking status of the link layer. When the routing protocol packet sent by the local 10GE interface reaches the peer end, the peer end cannot respond to the packet because the peer physical interface is in STP blocking status. You can run the protocol up-delay-time command to configure the delay before the protocol status of an interface can go Up. This enables the protocol status of the interface to go Up after its link status is recovered, which prevents the protocol packets from being discarded.

Precautions

  • This command can only be configured on Layer 3 interfaces. Before running this command on Layer 2 interfaces, you must run the undo portswitch command to switch the interface to Layer 3 mode.

  • The shutdown network-layer and protocol up-delay-time commands cannot be configured together.

Example

# Enable the delay function on VLANIF10 and set the delay before the interface can go Up to 5 seconds.

<HUAWEI> system-view
[~HUAWEI] interface vlanif 10
[*HUAWEI-Vlanif10] protocol up-delay-time 5

# Enable the delay function on 10GE1/0/1 and set the delay before the interface can go Up to 5 seconds.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] undo portswitch
[*HUAWEI-10GE1/0/1] protocol up-delay-time 5
Related Topics

reset interface counters

Function

The reset interface counters command clears traffic statistics about a specified interface.

Format

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

Parameters

Parameter

Description

Value

interface-type [ interface-number ]

Clears traffic statistics on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If an interface type is specified but no interface number is specified, traffic statistics on all interfaces of the specified type are cleared.

-

subinterface-number

Specifies the number of a Layer 2 sub-interface or Layer 3 sub-interface.

The value is an integer that ranges from 1 to 4094.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before collecting traffic statistics on an interface within a certain period, run the reset interface counters command to clear existing traffic statistics.

Precautions

  • Statistics cannot be restored after being cleared. Therefore, exercise caution before clearing the statistics.

  • Traffic accounting is based on the packet statistics on an interface. The clearing of the packet statistics on an interface by using the reset counters interface command affects the traffic accounting result. Therefore, do not randomly clear the packet statistics on an interface in a normal application environment.

  • If no interface type is specified, traffic statistics on all types of interfaces are cleared. If an interface type is specified but no interface number is specified, traffic statistics on all interfaces of the specified type are cleared.

  • Running the reset interface counters command clears the last part of the display interface command output. That is, statistics about received and transmitted packets on the interface are cleared.

  • Clearing traffic statistics on a physical interface does not clear traffic statistics on the Layer 2 sub-interface or Layer 3 sub-interface of the physical interface.

Example

# Clear traffic statistics on all interfaces.

<HUAWEI> reset interface counters

# Clear traffic statistics on VLANIF10.

<HUAWEI> reset interface counters vlanif 10

reset interface counters if-mib

Function

The reset interface counters if-mib command clears IF-MIB statistics on an interface.

Format

reset interface counters if-mib [ interface-type [ interface-number [ .subinterface-number ] ] ]

Parameters

Parameter Description Value
interface-type [ interface-number ]

Specifies an interface type and an interface number.

If interface-type and interface-number are not specified, IF-MIB statistics is cleared on all interfaces.

-
subinterface-number

Specifies the number of a Layer 2 sub-interface or Layer 3 sub-interface.

-

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before collecting IF-MIB statistics on an interface within a period of time, you can run the reset interface counters if-mib command to clear the existing IF-MIB statistics.

Precautions

Running the reset interface counters if-mib command clears all IF-MIB statistics on an interface. Exercise caution before running this command.

Running the reset interface counters if-mib command does not affect execution of the display interface command.

Example

# Clear IF-MIB statistics on the 10GE1/0/1.

<HUAWEI> reset interface counters if-mib 10ge 1/0/1

restart (interface view)

Function

The restart command restarts an interface.

Format

restart

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After modifying parameters of an interface, run the restart command to make the modification take effect.

Precautions

  • Restarting an interface during data transmission will cause data frame loss or service interruption. Exercise caution when you use the restart command.

  • Running the restart command is equivalent to running the shutdown command and the undo shutdown command in sequence.

Example

# Restart 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] restart

set flow-stat interval

Function

The set flow-stat interval command sets the interval for collecting traffic statistics on interfaces.

The undo set flow-stat interval command restores the default interval for collecting traffic statistics on interfaces.

By default, the interval for collecting traffic statistics on interfaces is 300 seconds.

Format

set flow-stat interval interval-time

undo set flow-stat interval

Parameters

Parameter

Description

Value

interval-time

Specifies the interval for collecting traffic statistics on interfaces.

The value is an integer that ranges from 10 to 600, in seconds. In addition, the value must be a multiple of 10. The default value is 300s.

Views

System view, interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By using the set flow-stat interval command to set the interval for collecting traffic statistics on interfaces, you can collect and analyze traffic statistics according to your needs. You can also take traffic control measures based on the traffic statistics to prevent network congestion and service interruption.

  • When congestion occurs, set the interval for collecting traffic statistics on an interface to less than 300 seconds, or 30 seconds if congestion worsens. Then observe the traffic distribution on the interface within a short period of time. If data packets cause congestion, take proper measures to control the rate of the packets.

  • When the network bandwidth is sufficient and services are running properly, set the interval for collecting traffic statistics on an interface to more than 300 seconds. If the value of any traffic parameter is not within the specified range, change the interval for collecting traffic statistics to observe the traffic volume in real time.

Precautions

  • The interval configured in the system view takes effect on all the interfaces that use the default interval.

  • The interval configured in the interface view takes effect only on the current interface.

  • The interval configured in the interface view takes precedence over the interval configured in the system view.

  • Management network interfaces do not support the configuration of an interval at which interface statistics are collected.

Example

# Set the interval for collecting traffic statistics on 10GE1/0/1 to 400s.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] set flow-stat interval 400

shutdown (interface view)

Function

The shutdown command disables an interface.

The undo shutdown command enables an interface.

By default, interfaces are enabled.

Format

shutdown

undo shutdown

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After modifying parameters of an interface, run the shutdown and undo shutdown commands to make the modification take effect.

When an interface is not connected to a cable or fiber, you can use the shutdown command to disable the interface to prevent exceptions caused by interference.

Precautions

  • Disabling an interface during data transmission will cause data frame loss or service interruption. Exercise caution when you use the shutdown command.

  • Some logical interfaces, such as loopback, and null interfaces, do not support the shutdown and undo shutdown commands.

  • If you run the shutdown command in the Eth-Trunk interface view, all Eth-Trunk member interfaces are disabled.

  • Running the shutdown and undo shutdown commands is equivalent to running the restart command.

Example

# Shut down 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] shutdown

shutdown interface

Function

The shutdown interface command shuts down multiple sub-interfaces on the same main interface in a batch in the system view.

The undo shutdown interface command enables multiple sub-interfaces on the same main interface in a batch in the system view.

By default, a sub-interface is enabled.

Format

shutdown interface interface-type interface-number.subnumber1 to interface-type interface-number.subnumber2

undo shutdown interface interface-type interface-number.subnumber1 to interface-type interface-number.subnumber2

Parameters

Parameter Description Value
interface-type interface-number Specifies the interface type and number. -
subnumber1

Specifies the start sub-interface number.

-
subnumber2

Specifies the end sub-interface number.

NOTE:
subnumber2 must be equal to or larger than subnumber1.
-
to The keyword to specifies an interface range that includes all sub-interfaces between these two sub-interfaces (including the two sub-interfaces).
NOTE:

The two sub-interfaces must belong to the same main interface.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To shut down a lot of sub-interfaces on a main interface, you can run the shutdown command in the sub-interface view to shut down the sub-interfaces one by one, but the configuration workload is heavy. To reduce the configuration workload, you can run the shutdown interface command in the system view to shut down the sub-interfaces in a batch.

Prerequisites

The sub-interfaces to be shut down or enabled in a batch have been created.

Precautions

If a CE6810LI functions as a standalone switch, the CE6810LI does not support sub-interfaces. If a CE6810LI functions as a leaf switch in an SVF system consisting of fixed switches, the CE6810LI supports sub-interfaces.

Running the shutdown interface command shuts down sub-interfaces in a batch and interrupts services on the sub-interfaces. Therefore, exercise caution when deciding to run this command.

When you specify the interface range, ensure that:
  • The interface number after to must be equal to or larger than the interface number before to.

  • The interfaces before and after to must be of the same type. You can disable Layer 2 and Layer 3 sub-interfaces of the same main interface simultaneously.

  • All sub-interfaces between the interfaces before and after to must exist.

Example

# Shut down sub-interfaces 10GE1/0/1.1, 10GE1/0/1.2, and 10GE1/0/1.3 on 10GE1/0/1 in a batch.

<HUAWEI> system-view
[~HUAWEI] shutdown interface 10ge 1/0/1.1 to 10ge 1/0/1.3

shutdown network-layer

Function

The shutdown network-layer command disables the protocol layer status of an interface.

The undo shutdown network-layer command starts the protocol layer status of an interface.

By default, the protocol layer status of an interface is not disabled.

Format

shutdown network-layer

undo shutdown network-layer

Parameters

None

Views

GE interface view, 10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the shutdown command is run to shut down a physical interface, the link layer and protocol layer status of the interface becomes Down. In scenarios where fault locating is implemented for optical modules or fibers, users require that only the protocol status of an interface becomes Down but the physical and link layer status remains unchanged. To meet this requirement, run the shutdown network-layer command to disable the protocol status of the interface. After faults are located at the physical and link layers, run the undo shutdown network-layer command to restart the protocol status of the interface.

Prerequisites

Run the command undo portswitch, change into Lay 3 interface.

Precautions

  • Running the shutdown network-layer command disables the protocol status of an interface and interrupts services on the interface. Exercise caution when running this command.

  • The shutdown network-layer and protocol up-delay-time commands cannot be configured together.

Example

# Disable the protocol status of 10GE 1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] undo portswitch
[*HUAWEI-10GE1/0/1] shutdown network-layer
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 43462

Downloads: 330

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next