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

S12700 V200R013C00 Command Reference

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).
IPv4 Configuration Commands

IPv4 Configuration Commands

Command Support

Commands provided in this section and all the parameters in the commands are supported by all switch models by default, unless otherwise specified. For details, see specific commands.

ip address

Function

The ip address command configures an IP address for an interface.

The undo ip address command deletes an IP address from an interface.

By default, no IP address is configured for an interface.

Format

ip address ip-address { mask | mask-length } [ sub ]

undo ip address [ ip-address { mask | mask-length } [ sub ] ]

Parameters

Parameter

Description

Value

ip-address

Specifies the IP address of an interface.

The value is in dotted decimal notation.

mask

Specifies a subnet mask.

The value is in dotted decimal notation.

mask-length

Specifies the mask length.

The value is an integer that ranges from 0 to 32.

sub

Configures a secondary IP address for an interface. This parameter is optional. To implement communication between multiple subnets of an interface, configure secondary IP addresses for the interface.

-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The ip address command configures IP addresses for interfaces on the switch so that the switch can communicate with different network segments. To connect an interface to multiple network segments, configure multiple IP addresses for the interface. Among these IP addresses, one is the primary IP address and the others are secondary IP addresses. If you configure a new primary IP address for the interface, the new IP address overrides the original one.

The following conditions are prohibited for different interfaces on the same switch:
  • The IP addresses are the same.
  • The broadcast addresses (with the host number field containing all 1s in the binary mode) corresponding to the IP addresses are the same. For example, if the IP address of interface A is 10.1.1.1/16 and its corresponding broadcast address is 10.1.255.255 and the IP address of interface B is 10.1.1.2/24 and its corresponding broadcast address is 10.1.1.255, the configuration is successful. However, if the IP address of interface B is also 10.1.1.2/16 and its corresponding broadcast address is also 10.1.255.255, the configuration fails.
  • The IP address of an interface is the same as the broadcast address of another interface. For example, if the IP address of interface A is 10.1.2.1/28 and its broadcast address is 10.1.2.15 and the IP address of interface B is 10.1.2.15/26, the configuration fails.

When you run the undo ip address command:

  • The undo ip address command deletes all IP addresses from an interface.
  • The undo ip address ip-address { mask | mask-length } command deletes the primary IP address of an interface.
  • The undo ip address ip-address { mask | mask-length } sub command deletes a secondary IP address.

Precautions

You can configure a secondary IP address only after configuring a primary IP address on the interface.You must delete all secondary IP addresses before deleting the primary IP address.

You can configure multiple IP addresses for a Layer 3 interface on the switch, one as the primary IP address, and the others as secondary IP addresses. Each Layer 3 interface can have a maximum of 255 secondary IP addresses.

The subnet IP address cannot be used as the IP address on an interface.

NOTE:

IP addresses of different interfaces on a switch cannot be on the same network segment.

The IP address can be configured on the sub-interfaces.

NOTE:
  • Only the E series, X series, and SC series cards on the S12700 support Ethernet sub-interface configuration. For details about the cards, see Cards in the Hardware Description.

  • Only hybrid and trunk interfaces on the preceding series of cards support Ethernet sub-interface configuration.
  • After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of cards into Layer 3 interfaces, you can configure Ethernet sub-interfaces on the interfaces.

  • The SA series cards do not support Ethernet sub-interface configuration and cannot forward IP traffic to Ethernet sub-interfaces on other cards.

  • You are advised to add a member interface to an Eth-Trunk and then configure an Eth-Trunk sub-interface. The Eth-Trunk sub-interface can be successfully configured only when the card on which the member interface locates supports Ethernet sub-interface configuration.

  • VLAN termination sub-interfaces cannot be created on a VCMP client.

Example

# Configure a primary IP address 10.1.0.1 and a secondary IP address 10.2.0.1 for VLANIF10, with subnet mask 255.255.255.0.

<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ip address 10.1.0.1 255.255.255.0
[HUAWEI-Vlanif10] ip address 10.2.0.1 255.255.255.0 sub

# Configure a primary IP address 10.1.0.1 and a secondary IP address 10.2.0.1 for GE1/0/1, with subnet mask 255.255.255.0.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] undo portswitch
[HUAWEI-GigabitEthernet1/0/1] ip address 10.1.0.1 255.255.255.0
[HUAWEI-GigabitEthernet1/0/1] ip address 10.2.0.1 255.255.255.0 sub
Related Topics

ip address unnumbered

Function

The ip address unnumbered command configures IP unnumbered on an interface so that the interface can borrow the IP address from another interface.

The undo ip address unnumbered command cancels the IP unnumbered configuration on an interface.

By default, an interface does not borrow the IP address from another interface.

Format

ip address unnumbered interface interface-type interface-number [ all-address ]

undo ip address unnumbered

Parameters

Parameter

Description

Value

interface interface-type interface-number

Specifies the numbered interface from which the IP address will be borrowed.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

all-address

Enables an interface to borrow all IP addresses of another interface. This parameter can be configured only in the VLANIF interface view.

-

Views

VLANIF interface view, Tunnel interface view, MTunnel interface view, VT interface view

Default Level

2: Configuration level

Usage Guidelines

An IP unnumbered interface can be a VLANIF interface, a Tunnel interface, a VT interface, or an MTunnel interface.

  • A VLANIF interface can only borrow the IP address of a loopback interface. You can set all-address to configure a VLANIF interface to borrow all the IP addresses of a loopback interface.
  • An MTunnel interface can only borrow the IP address of a loopback interface.
  • A VT interface or Tunnel interface can borrow the IP address of an Ethernet interface, a loopback interface, a VLANIF interface, a VT interface, or a Tunnel interface

The interface from which the IP address is borrowed must be an L3 interface.

If the interface assigned to an IP unnumbered interface has no IP address, the IP unnumbered interface obtains the IP address 0.0.0.0.

The ip address unnumbered command only configures an interface to borrow the IP address from another interface. Other attributes of the interface that borrows an IP address, such as the enablement of routing protocols, need to be configured separately.

Example

# Configure Tunnel1 to borrow the IP address from LoopBack0.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] ip address unnumbered interface loopback 0

# Configure VLANIF 10 to borrow the IP address from LoopBack1.

<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ip address unnumbered interface loopback 1
Related Topics

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 ] ]

display ip interface brief [ interface-type ] &<1-8>

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 slot.

If the slot number is not specified, brief information related to the IP addresses of the interfaces on all interface boards and main control boards is displayed.

-
card card-number

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

-

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 VLANIF15.
<HUAWEI> display ip interface vlanif 15 
Vlanif15 current state : UP
Line protocol current state : UP
The Maximum Transmit Unit : 1500 bytes
input packets : 766390, bytes : 41540847, multicasts : 681817
output packets : 242239, bytes : 14679482, multicasts : 172333
Directed-broadcast packets:
 received packets:            0, sent packets:            0
 forwarded packets:           0, dropped packets:           0
Internet Address is 10.1.1.119/24
Broadcast address : 10.1.1.255
TTL being 1 packet number:    164035
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    
Table 6-1  Description of the display ip interface command output

Item

Description

Vlanif15 current state

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

  • DOWN: indicates that the interface is physically Down.

  • Administratively down: indicates that the administrator has run the shutdown command on the interface.

Line protocol current state

Link layer protocol status of the interface:
  • UP: The link layer protocol of the interface is running properly.

  • DOWN: The link layer protocol of the interface is Down or no IP address is configured on the interface.

The Maximum Transmit Unit

MTU of the interface. The default MTU of an Ethernet interface or a serial interface is 1500 bytes. Packets longer than the MTU are fragmented before being transmitted. If fragmentation is not allowed, the packets are discarded.

input packets : 766390, bytes : 41540847, multicasts : 681817

Total number of packets, bytes, and multicast packets received by the interface.

output packets : 242239, bytes : 14679482, multicasts : 172333

Total number of packets, bytes, and multicast packets sent by the interface.

Directed-broadcast packets

Number of packets broadcast on the interface directly.

received packets

Total number of received packets.

sent packets

Total number of sent packets.

forwarded packets

Total number of forwarded packets.

dropped packets

Total number of discarded packets.

Internet Address is

IP address assigned to the interface and mask length.

Broadcast address

Broadcast address of the interface.

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

Number of received ICMP packets.

Echo reply

Number of Echo Reply packets.

Unreachable

Number of Destination Unreachable packets.

Source quench

Number of Source Quench packets.

Routing redirect

Number of Redirect packets.

Echo request

Number of Echo Request packets.

Router advert

Number of Router Advertisement packets.

Router solicit

Number of Router Solicitation packets.

Time exceed

Number of Time Exceeded packets.

IP header bad

Number of IP header error packets.

Timestamp request

Number of Timestamp Request packets.

Timestamp reply

Number of Timestamp Reply packets.

Information request

Number of Information Request packets.

Information reply

Number of Information Reply packets.

Netmask request

Number of Address Mask Request packets.

Netmask reply

Number of Address Mask Reply packets.

Unknown type

Number of unknown packets.

# Display brief IP information about VLANIF15.
<HUAWEI> display ip interface brief vlanif 15
*down: administratively down
!down: FIB overload down 
^down: standby
(l): loopback
(s): spoofing
(d): Dampening Suppressed
(E): E-Trunk down
Interface                         IP Address/Mask      Physical   Protocol
Vlanif15                          10.1.1.119/24        up         up        
Table 6-2  Description of the display ip interface brief command output

Item

Description

*down:

Reason why an interface is physically Down. Administratively down indicates that the administrator has run the shutdown command on the interface.

!down: FIB overload down

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

^down

^down: indicates that the interface is a backup interface.

(l): loopback

The letter "l" refers to loopback.

(s): spoofing

The letter "s" refers to spoofing.

(d): Dampening Suppressed

The interface protocol is in the suppressed state.

(E): E-Trunk down

Indicates that the Eth-Trunk is Down because of the protocol negotiation on the E-Trunk.

Interface

Interface type and number.

IP Address/Mask

IP address and mask of an interface.

Physical

Physical status of an interface:
  • Up: indicates that the interface is physically Up. (l) indicates that the loopback function is configured on the interface.

  • Down: indicates that the interface becomes faulty.

  • *down: indicates that the administrator has run the shutdown (interface view) command on the interface. (l) indicates that the loopback function is configured on the interface.

Protocol

Link protocol status of the interface:

  • Up: indicates that the link protocol of the interface is running properly. (s) indicates that the link protocol status of the interface is Up when this interface is created and has no IP address configured. This is an inherent attribute of an interface. When this interface is configured with an IP address, (s) is still displayed.

  • Down: indicates that the link protocol of the interface fails or no IP address is configured on the interface.

(l) indicates that the loopback function is configured on the interface.

Related Topics

display interface

Function

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

Format

display interface [ interface-type [ interface-number [.subinterface-number ] | main ] | main ]

display interface slot slot-id [ main ]

Parameters

Parameter

Description

Value

interface-type [ interface-number ]
Displays the running status of an interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

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

-
subinterface-number

Displays the running status of a sub-interface.

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

main

Displays running status and traffic statistics about an interface.

  • If an interface has no sub-interfaces, status and traffic statistics about the interface are displayed whether you specify the main parameter or not.
  • If an interface has sub-interfaces, status and traffic statistics about the interface and sub-interfaces are displayed if you do not specify the main parameter.
-
slot slot-id

Specifies the slot ID.

-

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 statistics about forwarded packets on the interface. You can use the display interface command to collect traffic statistics or locate faults on an interface.

Precautions

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

Example

# Display the running status, basic configuration, and statistics about forwarded packets on GE1/0/1. (The following uses an EC card as an example.)

<HUAWEI> display interface gigabitethernet 1/0/1
GigabitEthernet 1/0/1 current state : UP                                       
Line protocol current state : UP                                              
Description:                                                                   
Switch Port, Link-type : access(negotiated),  
PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 9216    
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0025-9ef4-abcd 
Last physical up time   : -
Last physical down time : 2016-01-15 15:58:32 UTC-01:00
Current system time: 2012-06-05 18:56:41                                        
Port Mode: COMMON FIBER, Transceiver: 1000_BASE_SX_SFP                                                         
Speed : 1000,   Loopback: NONE                                                   
Duplex: FULL,   Negotiation: ENABLE                                              
Mdi   : -, Flow-control: DISABLE                                                                  
Last 300 seconds input rate 0 bits/sec, 0 packets/sec                           
Last 300 seconds output rate 0 bits/sec, 0 packets/sec                          
Input peak rate 0 bits/sec, Record time: -                                      
Output peak rate 0 bits/sec, Record time: -                                     
                                                                                
Input:  0 packets, 0 bytes                                                      
  Unicast:                          0,  Multicast:                           0  
  Broadcast:                        0,  Jumbo:                               0  
  Discard:                          0,  Pause:                               0  
  Frames:                           0  
  
  Total Error:                      0 
  CRC:                              0,  Giants:                              0  
  Jabbers:                          0,  Fragments:                           0  
  Runts:                            0,  DropEvents:                          0  
  Alignments:                       0,  Symbols:                             0  
  Ignoreds:                         0
                                                                                
Output:  0 packets, 0 bytes                                                     
  Unicast:                          0,  Multicast:                           0  
  Broadcast:                        0,  Jumbo:                               0  
  Discard:                          0,  Pause:                               0  
  
  Total Error:                      0                                           
  Collisions:                       0,  ExcessiveCollisions:                 0  
  Late Collisions:                  0,  Deferreds:                           0  
  Buffers Purged:                   0                
                                                                                
    Input bandwidth utilization threshold : 80.00%                             
    Output bandwidth utilization threshold: 80.00%                             
    Input bandwidth utilization  :    0%                                        
    Output bandwidth utilization :    0% 
# Display the running status, basic configuration, and statistics about forwarded packets on GE1/0/1. (The following uses an X1E card as an example.)
<HUAWEI> display interface gigabitethernet 1/0/1
GigabitEthernet 1/0/1 current state : UP                                       
Line protocol current state : UP                                              
Description:                                                                    
Switch Port, Link-type : access(negotiated),                                    
PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 9216                 
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00ab-cdef-fff1 
Last physical up time   : 2013-10-24 12:46:34                                   
Last physical down time : 2013-10-24 12:45:29                                   
Current system time: 2013-10-24 14:07:09                                        
Port Mode: COMMON COPPER                                                        
Speed : 1000,   Loopback: NONE                                                  
Duplex: FULL,   Negotiation: ENABLE                                             
Mdi   : AUTO,   Flow-control: DISABLE                                           
Last 300 seconds input rate 224 bits/sec, 0 packets/sec                         
Last 300 seconds output rate 736 bits/sec, 0 packets/sec                        
Input peak rate 17640 bits/sec, Record time: 2013-10-24 12:46:37                
Output peak rate 8120 bits/sec, Record time: 2013-10-24 12:46:35                
                                                                                
Input:  331 packets, 134499 bytes                                               
  Unicast:                         80,  Multicast:                         251  
  Broadcast:                        0,  Jumbo:                               0  
  Discard:                          0,  Pause:                               0  
                                                                                
  Total Error:                      0                                           
  CRC:                              0,  Giants:                              0  
  Runts:                            0,  Fragments:                           0  
  Alignments:                       0,  Symbols:                             0  
                                                                                
Output:  2705 packets, 448986 bytes                                             
  Unicast:                          0,  Multicast:                        2705  
  Broadcast:                        0,  Discard:                             0  
  Pause:                            0                                           
                                                                                
    Input bandwidth utilization threshold : 80.00%                              
    Output bandwidth utilization threshold: 80.00%                              
    Input bandwidth utilization  :    0%                                        
    Output bandwidth utilization :    0%   
Table 6-3  Description of the display interface command output

Item

Description

current state

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

  • DOWN: The interface is physically Down.

    (Protected port) DOWN: An interface is added to an interface protection group and set to be a protected interface. To add an interface to an interface protection group and set the interface to be a protected interface, run the port protect-group and protect-group member commands.

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

  • TRIGGER DOWN (BFD): When BFD detects a fault, the physical status of the interface becomes Down according to the OAM association.
  • TRIGGER DOWN (3AH): When 3AH detects a fault, the physical status of the interface becomes Down according to the OAM association.
  • TRIGGER DOWN (1AG): When 1AG detects a fault, the physical status of the interface becomes Down according to the OAM association.
  • ERROR DOWN(auto-defend): When the interface receives packets from an attack source, the physical status of the interface becomes Down.
  • ERROR DOWN(efm-threshold-event): When the number of error frames, error codes, or error frame seconds of EFM OAM detected by the interface reaches or exceeds the threshold within a set period, the physical status of the interface becomes Down according to the OAM association.
  • ERROR DOWN(efm-remote-failure): When EFM detects a remote failure, the physical status of the interface becomes Down according to the OAM association.
  • ERROR DOWN(bpdu-protection): If an edge interface receives RST BPDUs after BPDU protection is enabled, the physical status of the edge interface becomes Down.
  • ERROR DOWN(error-statistics): If the system detects that the number of error packets received by the interface exceeds the threshold, the physical status of the interface becomes Down.
  • ERROR DOWN(transceiver-power-low): If the system detects that the optical power of the interface falls below the configured lower alarm threshold, the physical status of the interface becomes Down.
  • ERROR DOWN(port-security): When the number of learned MAC address entries reaches the limit, the interface changes to Down.
  • ERROR DOWN(mac-address-flapping): When the learned MAC address flaps, the interface changes to Down.
  • ERROR DOWN(dhcp-packet-overspeed): When the DHCP packet rate of the interface exceeds the threshold, the physical status of the associated interface becomes Down.
  • ERROR DOWN(link-flap): When the link flaps, the physical status of the associated interface becomes Down.
  • ERROR DOWN(data-integrity-error): The chip memory identifier has a data integrity error and the physical status of the interface becomes Down.
  • UP(E-TRUNK-DOWN): The Eth-Trunk interface goes Down because of E-Trunk negotiation.
NOTE:

There is a delay before the interface state is reported, so an interface undergoes a short-time intermediate state before it transitions to the ERROR DOWN state. The intermediate state is ERROR DOWN (ERROR DOWN reason), up. This state does not affect functioning of the interface.

When the physical status of the interface is ERROR DOWN(data-integrity-error), perform the following operations:

  1. Check whether the error-down auto-recovery cause data-integrity-error interval interval-value command has been configured on the switch. If the command has been configured, go to step 2. Otherwise, go to step 3.
  2. Check whether the interface restores to Up state after the time specified by interval-value expires. If the interface does not restore to Up state, go to step 3.
  3. Run the undo shutdown command in the interface view to enable the interface and check whether the interface restores to Up state. If the interface does not restore to Up state, go to step 4.
  4. Run the reset slot command to restart the card. After the card restarts, check whether the interface restores to Up state. If the interface does not restore to Up state, go to step 5.
  5. Replace the card.

Line protocol current state

Link layer protocol status of the interface:
  • UP: The link layer protocol of the interface is working properly.

  • UP (BFD status down): BFD associated with the interface is Down.

  • UP (Main BFD status down): The BFD session associated with the main interface becomes Down and is associated with the sub-interface status. This state is displayed only for sub-interfaces.

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

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

    For example, if no IP address is assigned to an IP service-capable interface, its protocol status is Down.

  • DOWN (CFM down): CFM detects a fault or receives a fault notification message from its associated module. In this case, the link layer protocol of the interface becomes CFM Down.
  • DOWN (EFM down): EFM detects a fault or receives a fault notification message from its associated module. In this case, the link layer protocol of the interface becomes EFM Down.
  • DOWN (DLDP down): DLDP detects a fault or receives a fault notification message from its associated module. In this case, the link layer protocol of the interface becomes DLDP Down.
  • DOWN (MACsec down): MACsec is not enabled on the peer interface. In this case, the link layer protocol of the interface becomes MACsec Down.
    NOTE:

    DOWN (MACsec down) is displayed only after the MACsec plug-in is installed.

Description

Interface description.

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

Switch Port

A Layer 2 interface.

To switch an interface to the Layer 3 mode, run the undo portswitch command.

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

PVID

Default VLAN ID of the interface.

Link-type

Link type of an interface, which is displayed only when the interface works in Layer 2 mode:
  • access(configured): The interface is manually configured as the access type.
  • hybrid: The interface is manually configured as the hybrid type.
  • trunk(configured): The interface is manually configured as the trunk type.
  • dot1q-tunnel: The interface is manually configured as the dot1q-tunnel type.
  • access(negotiated): The interface is automatically negotiated as the access type.
  • trunk(negotiated): The interface is automatically negotiated as the trunk type.
To set the link type for an interface, run the port link-type command.

TPID

Type of frames that are supported on the interface.

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

This field is displayed only for a Layer 2 interface.

The Maximum Frame Length

Maximum frame length allowed by the interface.

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

IP Sending Frames' Format

Format of frames sent by the IP protocol, including PKTFMT_ETHNT_2, Ethernet_802.3, and Ethernet_SNAP.

Hardware address

MAC address of the interface.

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.

If the interface is a combo interface:

  • COMBO AUTO: The combo interface automatically selects the working mode.
  • FORCE FIBER: The combo interface is configured as an optical interface.
  • FORCE COPPER: The combo interface is configured as an electrical interface.

To configure the working mode for an interface, run the combo-port command.

Transceiver

Type of the optical module.

  • This field is not displayed for electrical interfaces.
  • If an optical or copper module is inserted into the optical interface, the field indicates the model of the optical or copper module.
  • If an optical or copper module is not inserted into the optical interface, the field is not displayed.
  • If the optical interface is connected to the high-speed cable, the field indicates the type of the cable.

Last physical up time

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

If the system is configured with a time zone and is in the daylight saving time, the time is displayed in the format of YYYY/MM/DD HH:MM:SS UTC±HH:MM DST.

Last physical down time

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

If the system is configured with a time zone and is in the summer daylight saving time, the time is displayed in the format of YYYY/MM/DD HH:MM:SS UTC±HH:MM DST.

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±HH:MM format.

Speed

Current rate of the interface.

  • In auto-negotiation mode, the auto speed 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.

  • NONE: Loopback detection is not configured.
  • INTERNAL: Internal loopback detection is configured.

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

Duplex

Duplex mode of the interface:

  • FULL: The interface works in full-duplex mode.
  • HALF: The interface works in half-duplex mode.
  • In auto-negotiation mode, the auto duplex command configures the duplex mode of an interface.
  • In non-auto-negotiation mode, the duplex command configures the duplex mode of an interface.

Negotiation

Auto-negotiation mode of the interface:

  • ENABLE: The interface works in auto-negotiation mode.
  • DISABLE: The interface works in non-auto-negotiation mode.

To configure the auto-negotiation mode for an interface, run the negotiation auto command.

Mdi

Network cable type of the interface.

To configure the network cable type of an interface, run the mdi command.

The Mdi field displays - for an optical interface.

Flow-control

Whether flow control is enabled:

  • ENABLE: Flow control is enabled on the interface.
  • DISABLE: Flow control is disabled on the interface.
NOTE:
If the flow-control command has been executed to enable flow control on an Ethernet interface, this field displays DISABLE in the following situations:
  • The interface is in Down state.
  • The interface works in half-duplex mode.

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 0 bits/sec,Record time

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

Output peak rate 0 bits/sec,Record time

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

Input

Total number of received packets.

Output

Total number of sent packets.

Unicast

Number of unicast packets that are received or sent by the interface.

Multicast

Number of multicast packets that are received or sent by the interface.

For X series of cards, the value of this field contains the number of pause frames.

Broadcast

Number of broadcast packets that are received or sent by the interface.

Jumbo

Number of received Ethernet frames with the correct FCS and lengths ranging from 1518 bytes to the maximum jumbo frame length configured on the interface, or number of received VLAN frames with the correct FCS and length ranging from 1522 bytes to the maximum jumbo frame length.

Number of sent Ethernet frames with lengths of over 1518 bytes of frames with the correct FCS and lengths of over 1522 bytes.

For X series of cards, the value of this field contains the number of received packets with length ranging from 1518 bytes to the jumbo frame length configured on the interface and incorrect FCS values.

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

Discard

Number of packets discarded by the interface during physical layer detection. These packets are discarded because the interface is congested.

Total Error

Number of error packets found during physical layer detection.

CRC

Number of packets with length ranging from 64 bytes to 1518 bytes and incorrect FCS values.

For X series of cards, the value of this field contains the number of received packets with length larger than the jumbo frame size configured on the interface and incorrect FCS values.

For X series of cards, the value of this field contains the number of received packets with length ranging from 1518 bytes to the jumbo frame size configured on the interface and incorrect FCS values.

Giants

Number of received packets with length exceeding the maximum jumbo frame length.

  • On a 10000M interface, the number of bytes for Giants packets is calculated according to the actual packet length.
  • On a 1000M interface, the number of bytes for Giants packets is calculated according to the maximum jumbo frame length.
If the number of Giants packets is N, the total sum of preamble, inter-frame gap, and CRC is 24, and the maximum jumbo frame length is maxfrm, the number of bytes for Giants packets is calculated as follows:
  • If Giants packets carry VLAN tags: SUM=(maxfrm+24)*n
  • If Giants packets do not carry VLAN tags: SUM=(maxfrm+24-4)*n

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

Jabbers

Number of received packets with length ranging from 1518 bytes to the maximum jumbo frame length 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.

For an X1E series of cards, the value of this field contains the number of undersized frames with the correct FCS values received is displayed.

For an X5E, X5H, X5S series of cards, the value of this field contains the number of undersized frames with the correct CRC values received is displayed.

For EE series of cards, the value of this field is always 0.

Runts

Number of undersized frames with correct CRC 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.

For EE series of cards, the value of this field includes the number of received fragmented packets shorter than 64 bytes and with incorrect CRC values.

DropEvents

Number of received packets that are discarded due to GBP full or back pressure.

Alignments

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.

Frames

Number of packets with incorrect 802.3 length.

Pause

Number of pause frames.

Collisions

Number of frames that the interface stops sending when conflicts are detected during transmission.

ExcessiveCollisions

Number of frames that experience more than 16 consecutive conflict events and fail to be sent.

Late Collisions

Number of frames that experience conflict events and are delayed. The first 512 bits of these frames have been sent but these frames are delay because conflicts are detected.

Deferreds

Number of packets delayed because conflicts are detected before transmission.

Buffers Purged

Number of packets aged in the cache.

The value of this field is always 0.

Input bandwidth utilization threshold

Threshold for inbound bandwidth usage.

Output bandwidth utilization threshold

Threshold for outbound bandwidth usage.

Input bandwidth utilization

Inbound bandwidth usage.

Output bandwidth utilization

Outbound bandwidth usage.

Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 123967

Downloads: 88

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