Display Ethernet Port Information(DSP ETHPORT)

Function

An OM command that queries the status and flow statistics of an Ethernet port.

Note

This command applies to the GFGUA/GFGUB/GFGUG/GOGUA/GOGUB.

Parameters

ID Name Description
SRN Subrack No.

Meaning: This parameter specifies the number of the subrack for running the command.

Value range: 0-11

Explanation: The subrack number uniquely identifies a subrack.

Default value: None

SN Slot No.

Meaning: This parameter specifies the number of the slot for running the command.

Value range: 0-27

Explanation: The subrack number and slot number uniquely identify a board.

Default value: None

PN Port No.

Meaning: port number

Value range: 0-7

Explanation:

1. For the GFGUA/GFGUB/GFGUG, the value range is 0 to 7.

2. For the GOGUA/GOGUB, the value range is 0 to 1.

Default value: None

Example

Query the information about a port (Subrack No. = 0; Slot No. = 24; Port No. = 0):
DSP ETHPORT: SRN=0, SN=24, PN=0;
The result is as follows:
+++    HUAWEI        2008-06-16 15:57:58
O&M    #564
%%DSP ETHPORT: SRN=0, SN=24, PN=0;%%
RETCODE = 0  Operation succeeded

DSP ETHPORT Result
------------------
Port No.  Port Type  Port Active/Inactive State  Link Status  Port Rate  Duplex Mode  Auto-Negotiation Mode  Flow Control Mode  Loopback Mode  Rx correct bytes  Rx bad bytes  Number of received Unicast frame  Number of received Multicast frame  Number of received broadcast frame  Number of received frame which length valid ,but CRC check error  Number of received VLAN flag frame  Number of received PAUSE control frame  Tx correct bytes  Tx bad bytes  Number of sent Unicast frame  Number of sent Multicast frame  Number of sent broadcast frame  Number of sent VLAN flag frame  Number of sent frames which have valid length,but CRC check error  Number of sent PAUSE control frame

0         FE         Active                    Available         10M       HALF         ENABLE                 ENABLE               NO LOOP        19759246                 0             275807                                 2                                   1372                                   0                                                                 0                                   0                                       6451740                 0             92090                             0                               85                               0                               0                                                                  0                                 
(Number of results = 1)


---    END

Output Description

Domain Name Description
Port Type

Type of the Ethernet port. Value range: FE Electrical Port, GE Electrical Port, GE Optical Port

Port Active/Inactive State

Activation status of the port. Value range: Active, Inactive

Link Status

Availability of the link. Value range: Available, Unavailable

Port Rate

Data rate at the port. Value range: 10 Mbit/s, 100 Mbit/s, 1000 Mbit/s, Auto

Duplex Mode

Duplex mode of the transmission over the Ethernet port. Value range: FULL, HALF

Auto-Negotiation Mode

Specifies whether to enable the auto-negotiation mode. Value range: ENABLE; DISABLE

Flow Control Mode

Flow control mode. Value range: ENABLE, DISABLE

Loopback mode

Loopback type. Value range: No Loop, Line Loop, Sys Loop

Rx correct bytes

Bytes of the valid frames received

Rx bad bytes

Bytes of the invalid frames received

Number of received Unicast frame

Number of the unicast frames received

Number of received Multicast frame

Number of the multicast frames received

Number of received broadcast frame

Number of the broadcast frames received

Number of received frame which length valid ,but CRC check error

Number of received frames with valid length but errors against the CRC mechanism

Number of received VLAN flag frame

Number of received frames with VLAN flags

Number of received PAUSE control frame

Number of the PAUSE control frames received

Tx correct bytes

Bytes of the valid frames sent

Tx bad bytes

Bytes of the invalid frames sent

Number of sent Unicast frame

Number of the unicast frames sent

Number of sent Multicast frame

Number of the multicast frames sent

Number of sent broadcast frame

Number of the broadcast frames sent

Number of sent VLAN flag frame

Number of the sent frames with VLAN flags

Number of sent frames which have valid length,but CRC check error

Number of sent frames with valid length but errors against the CRC mechanism

Number of sent PAUSE control frame

Number of the PAUSE control frames sent

Related reference
Display Ethernet Port IP Address(DSP ETHIP)
Display Ethernet Port Availability Status(DSP ETHPORTAVSTAT)
Display Ethernet Port Loopback Mode(DSP ETHLOP)
Display Ethernet Port Status and Performance Measurement Result(DSP ETHSTAT)
Display Device IP Address(DSP DEVIP)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.