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

S1720, S2700, S5700, and S6720 V200R011C10

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, the IP address 192.168.1.253 255.255.255.0 is configured on VLANIF1 of the S1720GW, S1720GWR, S1720GW-E, and S1720GWR-E. The IP address 192.168.1.253 255.255.255.0 is configured on the management interface of the S1720X and S1720X-E. No IP address is configured for an interface on other switches.

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 switch supports the space overlapping of network segment addresses to save the address space.

  • Different IP addresses in the same network segment can be configured on different interfaces of the same device. For example, after an interface on a device is configured with the IP address 10.1.1.1/16, if another interface is configured with the IP address 10.1.1.2/24, the system displays a message. However, the configuration is still successful; if another interface is configured with the IP address 10.1.1.2/16, the system displays a message about IP address conflicts. The configuration fails.
  • The primary IP address and the secondary IP address in the same network segment can be configured on the same interface. For example, after the interface is configured with a primary IP address 10.1.1.1/24, if the secondary IP address is 10.1.1.2/16 sub, the system displays a message. However, the configuration is still successful.
  • The primary IP address and the secondary IP address in the same network segment can be configured on different interfaces of the same device. However, the primary IP address and the secondary IP address cannot be the same. For example, after an interface on a device is configured with the IP address 10.1.1.1/16, if another interface is configured with the IP address 10.1.1.2/24 sub, the system displays a message. However, the configuration is still successful.

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 address for a Layer 3 interface on the device, one as the primary IP address, and the others as secondary IP addresses. Each Layer 3 interface can have a maximum of 31 secondary IP addresses.

On the S1720GW, S1720GWR, S1720GW-E, and S1720GWR-E, if no IP address is configured, VLANIF1 uses the IP address 192.168.1.253 255.255.255.0 by default. After VLANIF1 obtains an IP address through DHCP successfully, the IP address 192.168.1.253 255.255.255.0 is deleted.

NOTE:
  • Only the S6720EI, S6720S-EI, S5720HI, and S5720EI support Ethernet sub-interfaces.

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

  • After an interface is added to an Eth-Trunk, sub-interfaces cannot be configured on the interface.

  • 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 GE0/0/1, with subnet mask 255.255.255.0.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ip address 10.1.0.1 255.255.255.0
[HUAWEI-GigabitEthernet0/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.

NOTE:

Only the S5720SI, S5720S-SI, S5720EI, S5720HI, S5730SI, S5730S-EI, S6720SI, S6720S-SI, S6720EI, and S6720S-EI support this command.

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

Default Level

2: Configuration level

Usage Guidelines

An IP unnumbered interface can be a VLANIF interface or Tunnel 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. A Tunnel interface can borrow the IP address of an Ethernet interface, a loopback interface, an Eth-Trunk interface, a VLANIF 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:
  • You can run the display interface description command to view the interface description.

  • You can run the display interface command to view detailed information about the running status and statistics on the interface.

  • Only the S6720EI, S6720S-EI, S5720HI and S5720EI support sub-interfaces.

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: standby
(l): loopback
(s): spoofing
(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

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

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

  • !down: indicates that the FIB module is suspended. In this case, the link protocol status of the interface is Down.

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 packet forwarding of 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.

Only the S6720EI, S6720S-EI, S5720HI and S5720EI support sub-interfaces.

Example

# Display the running status, basic configuration, and packet forwarding statistics on GE0/0/1.

<HUAWEI> display interface gigabitethernet 0/0/1
GigabitEthernet 0/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 : 2015-12-21 16:12:29 UTC+08: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 packet forwarding on GE0/0/1 of the S5720HI.

<HUAWEI> display interface gigabitethernet 0/0/1
GigabitEthernet 0/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 000b-09a9-c9d7
Last physical up time   : -
Last physical down time : 2015-12-21 16:12:29 UTC+08:00
Current system time: 2009-03-31 11:51:03
Port Mode: COMMON COPPER
Speed : 1000,    Loopback: NONE
Duplex: FULL,   Negotiation: ENABLE
Mdi   : AUTO,   Flow-control: DISABLE
Last 300 seconds input rate 176 bits/sec, 0 packets/sec
Last 300 seconds output rate 440 bits/sec, 0 packets/sec
Input peak rate 7032 bits/sec, Record time: 2009-03-30 19:12:09
Output peak rate 38624 bits/sec, Record time: 2009-03-30 20:41:44

Input:  7650 packets, 1327062 bytes
  Unicast:                          0,  Multicast:                        7650
  Broadcast:                        0,  Jumbo:                               0
  Discard:                          0,  Pause:                               0

  Total Error:                      0
  CRC:                              0,  Giants:                              0
  Runts:                            0,  Fragments:                           0
  Alignments:                       0,  Symbols:                             0

Output:  38348 packets, 3683776 bytes
  Unicast:                          0,  Multicast:                       32314
  Broadcast:                     6034,  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

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

  • DOWN: indicates that the interface is physically Down.

    Protected port indicates that 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: indicates that 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(runts-error-statistics): When the number of Runts error packets received by the interface reaches the alarm 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 threshold, the interface goes Down.
  • ERROR DOWN(mac-address-flapping): When the learned MAC address flaps, the interface goes 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 switch. After the switch 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 switch.

Line protocol current state

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

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

  • UP (Main BFD status down): indicates that 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): indicates that the link layer protocol of the interface is always Up with the spoofing feature enabled.

  • DOWN: indicates that 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): indicates that 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): indicates that 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): indicates that 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): indicates that 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.

Only the S5720SI, S5720S-SI, S6720SI, S5720EI, and S5720HI support MACsec.

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.

The Maximum Frame Length

Maximum frame length allowed by the interface.

To set the maximum frame length, run the jumboframe enable 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.

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.

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 the S5720HI, 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 packets with length ranging from 1518 bytes to the maximum jumbo frame length and correct FCS values.

Number of sent packets with lengths of over 1518 bytes and correct FCS.

For the S5720HI, 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.

NOTE:

Only S6720EI, S6720S-EI, S5720HI and S5720EI support statistics on Jumbo frames.

Discard

Number of packets discarded by the interface during physical layer detection.

On the S1720GFR, S1720GW, S1720GWR, S1720X, S1720GW-E, S1720GWR-E, S1720X-E, S2720EI, S2750EI, S5700LI, S5720LI, S5720S-LI, S5700S-LI, S5720SI, S5720S-SI, S5710-X-LI, S5730SI, S5730S-EI, S6720SI, S6720S-SI, S6720LI, and S6720S-LI, after you run the reset qos queue statistics command, the number of packets discarded by the interface is cleared.

Total Error

Number of error frames found during physical layer detection.

CRC

Number of packets shorter than 1518 bytes and with incorrect FCS values.

For the S5720SI, S5720S-SI, S5710-X-LI, S5720HI, S5730SI, S5730S-EI, S6720SI, and S6720S-SI, the value of this field includes the number of received packets longer than the maximum jumbo frame length and with incorrect FCS values.

For switches excluding the S5720EI, 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 frames with length exceeding the maximum jumbo frame length.

Jabbers

Number of received packets with length ranging from 1518 bytes to the maximum jumbo frame length and incorrect FCS values on the S5720EI. The S2720EI, S5720SI, S5720S-SI, S5710-X-LI, S5730SI, S5730S-EI, S6720SI, S6720S-SI, S6720S-EI, and S6720EI do not have the Jabbers field. On the other product models, this field indicates the number of received packets with length exceeding the maximum jumbo frame length and incorrect FCS values.

Fragments

Number of received fragmented packets. A fragmented packet is a packet shorter than 64 bytes and with incorrect CRC values.

For the S5720HI, the value of this field contains the number of undersized frames with the correct CRC values received is displayed.

On the S2720EI, S5720SI, S5720S-SI, S5710-X-LI, S5730SI, S5730S-EI, S6720SI, S6720S-SI, S6720S-EI, and S6720EI, the command output does not contain the Fragments field to display statistics about received fragmented packets.

Runts

Number of received undersized frames with correct CRC values.

For the S5720SI, S5720S-SI, S5710-X-LI, S5730SI, S5730S-EI, S6720SI, S6720S-SI, S6720S-EI, and S6720EI, 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.

Collisions

Number of packets with 1 to 15 collisions during packet forwarding.

For the S5720SI, S5720S-SI, S5710-X-LI, S5730SI, S5730S-EI, S6720SI, and S6720S-SI, the value of this field contains the number of frames that are not sent due to 16 consecutive collisions.

ExcessiveCollisions

Number of packets with 16 collisions and fail to be sent.

On the S2720EI, S5720SI, S5720S-SI, S5710-X-LI, S5730SI, S5730S-EI, S6720SI, and S6720S-SI, the command output does not contain the ExcessiveCollisions field to display statistics about frames that are not sent due to 16 consecutive collisions.

Late Collisions

Number of packets with conflict and delayed.

Deferreds

Number of delayed packets without conflict.

Buffers Purged

Number of packets aged in the cache.

The S5720SI, S5720S-SI, S5710X-LI, S6720S-EI, and S6720EI do not have the Buffers Purged field. On other models, 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.

For the S1720GFR, S1720GW, S1720GWR, S1720X, S1720GW-E, S1720GWR-E, S1720X-E, S2720EI, S2750EI, S5720SI, S5720S-SI, S5710-X-LI, S5700LI, S5720LI, S5720S-LI, S5700S-LI, S5730SI, S5730S-EI, S6720SI, S6720S-SI, S6720LI, and S6720S-LI, the bandwidth usage of Giants packets is calculated based on the configured jumbo frame length.

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

Output bandwidth utilization

Outbound bandwidth usage.

For the S1720GFR, S1720GW, S1720GWR, S1720X, S1720GW-E, S1720GWR-E, S1720X-E, S2720EI, S2750EI, S5720SI, S5720S-SI, S5710-X-LI, S5700LI, S5720LI, S5720S-LI, S5700S-LI, S5730SI, S5730S-EI, S6720SI, S6720S-SI, S6720LI, and S6720S-LI, the bandwidth usage of Giants packets is calculated based on the configured jumbo frame length.

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

Translation
Download
Updated: 2019-04-18

Document ID: EDOC1000178165

Views: 42872

Downloads: 1107

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