H3C S9500 Command Manual-Release2132[V2.03]-01 IP Access Volume

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release2132[V2.03]-01 IP Access Volume
01-Ethernet Interface Commands
Title Size Download
01-Ethernet Interface Commands 142.89 KB

Chapter 1  Ethernet Interface Configuration Commands

1.1  Ethernet Interface Configuration Commands

1.1.1  broadcast-suppression

Syntax

broadcast-suppression { ratio | pps max-pps }

undo broadcast-suppression

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

ratio: Specifies a percentage of the total interface bandwidth for broadcasts on the interface, in the range 1 to 100. The smaller the ratio is, the less the broadcast traffic is allowed through the interface.

pps max-pps:  Specifies the maximum number of broadcast packets allowed to pass through the interface every second, in the range 1 to 1488100 (in pps, packets per second).

Description

Use the broadcast-suppression command to configure broadcast suppression by setting a broadcast traffic threshold.

Use the undo broadcast-suppression command to restore the default.

By default, all broadcast traffic is allowed to go through an Ethernet interface, that is, broadcast traffic is not suppressed.

Configured in Ethernet interface view, the command takes effect only on the current interface; configured in port group view, the command takes effect on all interfaces in the port group.

l           With broadcast suppression enabled, the switch discards all broadcasts that cross the predefined broadcast threshold to ensure the operation of network services.

l           The broadcast suppression setting you configured will overwrite the previous broadcast suppression setting, if any.

l           With multicast suppression enabled, broadcast suppression is enabled automatically. However, with broadcast suppression enabled, multicast suppression can not be enabled.

l           You cannot enable broadcast suppression and multicast suppression on a board at the same time. If you have enabled broadcast suppression on some ports of a board, you cannot enable multicast suppression on the other ports, and vice versa.

Examples

# Set the broadcast threshold to 20 for Ethernet 1/1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] broadcast-suppression 20

# Set the broadcast threshold to 20 for all the interfaces in port group 1.

<Sysname> system-view

[Sysname] port-group manual group1

[Sysname-port-group manual group1] group-member ethernet 2/1/1

[Sysname-port-group manual group1] group-member ethernet 2/1/2

[Sysname-port-group manual group1] broadcast-suppression 20

1.1.2  debugging ethernet packet

Syntax

debugging ethernet packet [ interface interface-type interface-number ]

undo debugging ethernet packet

View

User view

Default Level

1: Monitor level

Parameters

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

Description

Use the debugging ethernet packet command to enable Ethernet packet debugging for a specified interface or globally if no interface is specified.

Use the undo debugging ethernet packet command to disable Ethernet packet debugging.

By default, Ethernet packet debugging is disabled.

Examples

# Enable Ethernet packet debugging.

<Sysname> debugging ethernet packet

1.1.3  description

Syntax

description text

undo description

View

Ethernet interface view, POS interface view

Default Level

2: System level

Parameters

text: Interface description information, a string of 1 to 80 characters.

Description

Use the description command to set the description of a specific interface.

Use the undo description command to restore the default.

By default, the description of an interface is interface index + interface.

Examples

# Set the description to lanswitch-interface for Ethernet 1//1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] description lanswitch-interface

1.1.4  display brief interface

Syntax

display brief interface [ interface-type [ interface-number ] ] [ | { begin | include | exclude } text ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-type: Interface type.

interface-number: Interface number.

|: Uses a regular expression to filter output information.

begin: Displays the configuration information from the line that contains the string specified by the text argument.

include: Displays only the lines that contain the string specified by the text argument.

exclude: Displays all the lines that do not contain the string specified by the text argument.

text: Regular expression, a string of 1 to 256 characters. This argument is case-sensitive and allows spaces.

Table 1-1 Special characters used in regular expressions

Character

Meaning

Notes on Use

^

Boundary matcher for the beginning of a line. This character specifies a string with which a line begins.

The regular expression “^user” matches lines that begin with the string “user”. Lines that don t begin with the string “user”, for example, “Auser”, are not matched.

$

Boundary matcher for the end of a line. This character specifies a string with which a line ends.

The regular expression “user$” matches lines that end with the string “user”. Lines that do not end with the string, for example, “userA”, are not matched.

.

Full stop, used as the wildcard character, which matches any single character, including space.

None

*

Star, which matches the occurrences of the character to the left for zero or multiple times

 zo* matches z and zoo.

+

Plus, which  matches one or multiple occurrences of the character to the left 

zo+ matches zo and zoo, but not z.

-

Hyphen, which is used to connect two numbers or characters. Note that the number to the left of this character needs to be larger than the one to the right. When used in a “[“ and “]” pair, it represents a range.

”1-9” represent a range from 1 to 9 (“1” and “9” included), and a-h represent a range from “a” to “h” (“a” and “h” included).

[ ]

Specifies a range.

[1-36A] matches a character, which can be a number in the range 1 to 36 or character A.

( )

Specifies a group of characters. Usually used with “+” and “*”.

 (123A) specifies the string “123A”. 408(12)+ matchers “40812” or “408121212” (but not “408”). That is, “12” can appear for multiple times.

 

Description

Use the display brief interface command to display interface information in brief.

l           If neither interface type nor interface number is specified, all interface information will be displayed;

l           If only interface type is specified, then only information of this particular type of interface will be displayed.

l           If both interface type and interface number are specified, then only information of the specified interface will be displayed.

Related commands: interface.

Examples

# Display the information about all the interfaces in brief.

<Sysname> display brief interface

The brief information of interface(s) under route mode:

Interface            Link      Protocol-link  Protocol type    Main IP

Loop0                UP        UP(spoofing)   LOOP             10.2.2.2

M-E0/0/0             UP        UP             ETHERNET         192.168.0.54

NULL0                UP        UP(spoofing)   NULL             --

Pos4/1/1             DOWN      DOWN           PPP              --

Pos4/1/2             DOWN      DOWN           PPP              --

Pos4/1/3             DOWN      DOWN           PPP              --

Pos4/1/4             DOWN      DOWN           PPP              --

Vlan1000             DOWN      DOWN           ETHERNET         10.110.10.1

 

The brief information of interface(s) under bridge mode:

Interface            Link      Speed     Duplex   Link-type  PVID

GE4/2/1              DOWN      auto      auto     access     1000

GE4/2/2              DOWN      auto      auto     access     1

GE4/2/4              DOWN      auto      auto     access     1

GE4/3/1              DOWN      auto      auto     access     1

GE4/3/2              DOWN      auto      auto     access     1

GE4/3/3              DOWN      auto      auto     access     1

GE4/3/4              DOWN      auto      auto     access     1

Table 1-2 Description on the fields of the display brief interface command.

Field

Description

The brief information of interface(s) under route mode:

Brief information of interface(s) in route mode

Interface

Abbreviated interface name

Link

 Interface physical link state, which can be up or down

Protocol-link

Interface protocol link state, which can be up or down

Protocol type

Interface protocol type

Main IP

Main IP

The brief information of interface(s) under bridge mode:

Brief information of interface(s) in bridge mode

Speed

 Interface rate, in bps

Duplex

Duplex mode, which can be half (half duplex), full (full duplex), or auto (auto-negotiation).

PVID

Default VLAN ID

 

Table 1-3 Acronyms for different types of Interface

Interface name

Acronyms

Ethernet

Eth

GigabitEthernet

GE

Ten-GigabitEthernet

XGE

 

1.1.5  display counters

Syntax

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

View

Any view

Default Level

1: Monitor level

Parameters

inbound: Displays statistics on inbound packets.

outbound: Displays statistics on outbound packets.

interface-type: Interface type.

Description

Use the display counters command to display the statistics on specific packets.

l           If you provide the interface-type argument, this command displays the statistics on the packets passing through all the interfaces that are of the specified type.

l           If you do not provide the argument, this command displays the statistics on the packets passing through all the interfaces that support this command.

Examples

# Display the statistics on the inbound packets passing through all the GigabitEthernet interfaces.

<Sysname> display counters inbound interface GigabitEthernet

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

GE5/1/1                    100               100                 0         0

GE5/1/2               Overflow                  0          Overflow         0

GE5/1/3                        0                  0                  0         0

GE5/1/4                        0                  0                  0         0

GE5/2/1                        0                  0                  0         0

GE5/2/2                        0                  0                  0         0

GE5/2/3                        0                  0                  0         0

GE5/2/4                        0                  0                  0         0

GE5/3/1                        0                  0                  0         0

GE5/3/2                        0                  0                  0         0

GE5/3/3                        0                  0                  0         0

GE5/3/4                        0                  0                  0         0

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

       --: not supported.

Table 1-4 Description on the fields of the display counters command

Field

Description

Interface

Abbreviated interface name

Total(pkts)

Total number of the packets received/sent through the interface. (You can specify the direction of the packets using the inbound and outbound keyword.)

Broadcast(pkts)

Total number of the broadcast packets received/sent through the interface. (You can specify the direction of the packets using the inbound and outbound keyword.)

Multicast(pkts)

Total number of the multicast packets received/sent through the interface. (You can specify the direction of the packets using the inbound and outbound keyword.)

Err(pkts)

Total number of the error packets received/sent through the interface. (You can specify the direction of the packets using the inbound and outbound keyword.)

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

The value of the statistics item is larger than the maximum number a 14-digit decimal number can represent. For an Err item, Overflow means the value of the statistics item is larger than the maximum number a 7-digit decimal number can represent.

--: not supported

The statistics item is not supported.

 

1.1.6  display counters rate

Syntax

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

View

Any view

Default Level

1: Monitor level

Parameters

inbound: Displays the statistics on the rate of inbound packets.

outbound: Displays the statistics on the rate of outbound packets.

interface-type: Interface type.

Description

Use the display counters rate command to display the statistics on the rate of the packets passing the interfaces that are in up state in the latest sampling interval.

l           If you provide the interface-type argument, this command displays the statistics on the rate of the packets passing through all the interfaces that are in up state and are of the specified type.

l           If you do not provide the argument, this command displays the statistics on the rate of the packets passing through all the interfaces that support this command.

Sampling intervals can be set using the flow-interval command.

By default, the sampling interval is 300 seconds.

Related commands: flow-interval.

Examples

# Display the statistics on the rate of the inbound packets passing through all the GigabitEthernet interfaces.

<Sysname> display counters rate inbound interface GigabitEthernet

Interface           Total(pkts/sec)   Broadcast(pkts/sec)   Multicast(pkts/sec)

GE6/1/1                      200                  100                  100

GE6/1/2                      300                  200                  100

GE6/1/3                      300                  200                  100

 

Overflow: more than 14 decimal digits.

       --: not supported.

Table 1-5 Description on the fields of the display counters rate command

Field

Description

Interface

Abbreviated interface name

Total(pkts/sec)

Average rate (in packets per second) of receiving/sending packets during the sampling interval. You can specify the direction of the packets using the inbound and outbound keyword.

Broadcast(pkts/sec)

Average rate (packets per second) of receiving/sending broadcast packets during the sampling interval. You can specify the direction of the packets using the inbound and outbound keyword.

Multicast(pkts/sec)

Average rate (packets per second) of receiving/sending multicast packets during the sampling interval. You can specify the direction of the packets using the inbound and outbound keyword.

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

The value of the statistics item is larger than the maximum number a 14-digit decimal number can represent.

--: not supported

The statistics item is not supported.

 

&  Note:

The display counters and display counters rate commands only count the statistics on the packets passing through RPR logical ports.

 

1.1.7  display interface

Syntax

display interface [ interface-type [ interface-number ] ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-type: Interface type.

interface-number: Interface number.

Description

Use the display interface command to display the current state of an interface and related information.

l           If neither interface type nor interface number is specified, all interface information will be displayed;

l           If only interface type is specified, then only information of this particular type of interface will be displayed.

l           If both interface type and interface number are specified, then only information of the specified interface will be displayed.

Related commands: interface.

Examples

# Display the current state of the interface Ten-GigabitEthernet 5/1/2 and related information.

<Sysname> display interface Ten-GigabitEthernet5/1/2

 Ten-GigabitEthernet5/1/2 current state: DOWN

 IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e23f-32ce

 Description: Ten-GigabitEthernet5/1/2 Interface

 Loopback is not set

 Media type is not sure, Port hardware type is No Connector

Unknown-speed mode, unknown-duplex mode

Link speed type is autonegotiation, link duplex type is autonegotiation Flow-control is not enabled

 The Maximum Frame Length is 1552

 Broadcast MAX-ratio: 100%

 PVID: 1

 Link delay is 1(sec)

 Ethernet port mode: WAN

        J0(Rx):""

        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00     *................*

        J0(Tx):""

        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00     *................*

        J1(Rx):""

        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00     *................*

        J1(Tx):""

        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00     *................*

     SDH error:

        section layer:  B1  0

        line    layer:  B2  0  M1  0

        path    layer:  B3  0  G1  0

 Port link-type: access

  Tagged   VLAN ID : none

  Untagged VLAN ID : 1

 Port priority: 0

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

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

 Input (total):  0 packets, 0 bytes

          0 broadcasts, 0 multicasts

 Input (normal):  0 packets, 0 bytes

          - broadcasts, - multicasts

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

          0 CRC, 0 frame, 0 overruns, - aborts

          0 ignored, - parity errors

 Output (total): 0 packets, 0 bytes

          0 broadcasts, 0 multicasts, 0 pauses

 Output (normal): 0 packets, 0 bytes

          - broadcasts, - multicasts, 0 pauses

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

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

          - lost carrier, - no carrier

Table 1-6 Description on the fields of the display interface command

Field

Description

Ten-GigabitEthernet5/1/2 current state

Ethernet interface physical state

IP Packet Frame Type

Ethernet frame type

Hardware address

Hardware address

Description

Description

Loopback is not set

Loopback is not set.

Media type, Port hardware type

Cable type, Port hardware type

Unknown-speed mode

Unknown-speed mode, in which mode speed is negotiated between the current host and the peer

unknown-duplex mode

unknown-duplex mode, in which mode speed is negotiated between the current host and the peer.

Link speed type is autonegotiation

Link speed type is autonegotiation.

link duplex type is autonegotiation

Link duplex type is autonegotiation.

Flow-control is not enabled

Flow-control is not enabled

The Maximum Frame Length

The maximum frame length allowed on an interface

Broadcast MAX-ratio

Broadcast storm suppression ratio (the maximum broadcast traffic allowed to overall traffic through an interface)

PVID

Default VLAN ID

Link delay

Link suppression time

Ethernet port mode

Ethernet port mode

SDH error

SDH error information

Port link-type

Interface link type, which could be access, trunk, and hybrid.

Tagged   VLAN ID

Identify the VLANs that need Tag markers

Untagged VLAN ID

Identify the VLANs that do not need Tag markers

Port priority

Port priority

Last 300 seconds input

Average input rate within the latest 300 seconds

Last 300 seconds output

Average output rate within the latest 300 seconds

Input

Input packets

Output

Output packets

 

1.1.8  display port

Syntax

display port { hybrid | trunk }

View

Any view

Default Level

1: Monitor level

Parameters

hybrid: Displays the existing Hybrid ports.

trunk: Displays the existing Trunk ports.

Description

Use the display port command to display the information about the existing ports that are of a specified type, including port name, default VLAN ID, and the VLAN ID of VLANs that the ports can pass through.

Examples

# Display the existing hybrid ports.

<Sysname> display port hybrid

Interface            PVID  VLAN passing

GE4/2/2              100   Tagged:  1000, 1002, 1500, 1600-1611, 2000,

                                    2555-2558, 3000, 4000

                           Untagged:1, 10, 15, 18, 20-30, 44, 55, 67, 100,

                                    150-160, 200, 255, 286, 300-302

# Display the existing trunk ports.

<Sysname> display port trunk

Interface            PVID  VLAN passing

GE4/3/2              2     1-4, 6-100, 145, 177, 189-200, 244, 289, 400,

                           555, 600-611, 1000, 2006-2008

Table 1-7 Description on the fields of the display port command.

Field

Description

Interface

Interface name

PVID

Default VLAN ID of a port

VLAN passing

ID of the VLANs permitted by the port

 

1.1.9  display port-group manual

Syntax

display port-group manual [ all | name port-group-name ]

View

Any view

Default Level

1: Monitor level

Parameters

all: Specifies all the manual port groups.

name port-group-name: Specifies the name of a manual port group, a string of 1 to 32 characters.

Description

Use the display port-group manual command to display the information about a manual port group.

l           If you provide the port-group-name argument, this command displays the information about the manual port group identified by the argument, including port group name and the Ethernet interface ports contained in the port group.

l           If you provide the all keyword, this command displays the information about all the manual port groups, including their names and the Ethernet interface ports included.

l           If you provide no keyword/argument, this command displays the names of all the manual port groups.

Examples

# Display the names of all manual port groups.

<Sysname> display port-group manual

The following manual port group exist(s):

group1                                    group2

# Display the information about the manual port group named “group1”.

<Sysname> display port-group manual group1

Member of group1:

    Ethernet1/1/1            Ethernet1/1/2            Ethernet1/1/3

    Ethernet1/1/4            Ethernet1/1/5            Ethernet1/1/6

    Ethernet2/1/1            Ethernet2/1/2            Ethernet2/1/3

    Ethernet2/1/4

1.1.10  display transceiver alarm interface

Syntax

display transceiver alarm interface [ interface-type interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-type interface-number: Interface type and number.

Description

Use the display transceiver alarm interface command to display the alarm information of pluggable optical modules.

If an interface is specified, the system displays alarm information only for the pluggable optical module of the interface. If no interface is specified, the system displays alarm information for all pluggable optical modules.

If no alarm has occurred, None displays.

The following table lists the alarms that may occur on a pluggable optical module.

Table 1-8 Alarms that may occur on a pluggable optical module

Alarm

Type

Number

GBIC/SFP modules

RX loss of signal

TX fault

TX

020

RX power high

Numeric

100

RX power low

Numeric

101

TX power high

Numeric

120

TX power low

Numeric

121

TX bias high

Numeric

122

TX bias low

Numeric

123

Temp high

Numeric

140

Temp low

Numeric

141

Voltage high

Numeric

142

Voltage low

Numeric

143

Transceiver info I/O error

Transceiver info checksum error

Transceiver type and port configuration mismatch

Transceiver type not supported by port hardware

XFP modules

RX loss of signal

RX not ready

RX

000

RX CDR loss of lock

RX

001

TX fault

TX

020

TX not ready

TX

021

TX CDR loss of lock

TX

022

Module not ready

Other

040

APD supply fault

Other

041

TEC fault

Other

042

Wavelength unlocked

Other

043

RX power high

Numeric

100

RX power low

Numeric

101

TX power high

Numeric

120

TX power low

Numeric

121

TX bias high

Numeric

122

TX bias low

Numeric

123

Temp high

Numeric

140

Temp low

Numeric

141

Voltage high

Numeric

142

Voltage low

Numeric

143

Transceiver info I/O error

Transceiver info checksum error

Transceiver type and port configuration mismatch

Transceiver type not supported by port hardware

XENPAK modules

Receive optical power fault

RX

002

PMA/PMD receiver local fault

RX

003

PCS receive local fault

RX

004

PHY XS receive local fault

RX

005

TX fault

TX

020

Laser bias current fault

TX

023

Laser output power fault

TX

024

PMA/PMD transmitter local fault

TX

025

PCS transmit local fault

TX

026

PHY XS transmit local fault

TX

027

WIS local fault

Other

044

Laser temperature fault

Other

045

RX power high

Numeric

100

RX power low

Numeric

101

TX power high

Numeric

120

TX power low

Numeric

121

TX bias high

Numeric

122

TX bias low

Numeric

123

Temp high

Numeric

140

Temp low

Numeric

141

Transceiver info I/O error

––

Transceiver info checksum error

––

Transceiver type and port configuration mismatch

––

Transceiver type not supported by port hardware

––

 

Examples

# Display the alarm information of the pluggable optical module of GigabitEthernet 1/1/1.

<H3C> display transceiver alarm interface GigabitEthernet 1/1/1

GigabitEthernet1/1/1 transceiver current alarm information:

  TX fault

  PCS receive local fault

  Laser temperature fault

1.1.11  display transceiver diagnosis interface

Syntax

display transceiver diagnosis interface [ interface-type interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-type interface-number: Interface type and interface number.

Description

Use the display transceiver diagnosis interface command to display the diagnostic results of pluggable optical modules.

If an interface is specified, the system displays diagnostic results only for the pluggable optical module of the interface. If no interface is specified, the system displays diagnostic results for all pluggable optical modules.

 

&  Note:

This command is applicable only to the pluggable optical modules that have passed H3C authentication.

 

Examples

# Display the diagnostic results of the pluggable optical module of GigabitEthernet 1/1/1.

<H3C> display transceiver diagnosis interface GigabitEthernet 1/1/1

GigabitEthernet1/1/1 transceiver diagnostic information:

  Current diagnostic parameters:

Temp.(°C)  Voltage(V)  Bias(mA)  RX power(dBM)  TX power(dBM)

40         3.3         1.1          20.0              -30.0

Table 1-9 Description on the fields of the display transceiver diagnosis interface command

Field

Description

Temp.(°C)

Digital diagnostic monitoring – temperature

Voltage(V)

Digital diagnostic monitoring – voltage with a precision of 1 digit after the decimal point

Bias(mA)

Digital diagnostic monitoring – bias current with a precision of 1 digit after the decimal point

RX power(dBM)

Digital diagnostic monitoring – RX power with a precision of 1 digit after the decimal point

TX power(dBM)

Digital diagnostic monitoring – TX power with a precision of 1 digit after the decimal point

 

&  Note:

N/A displays for parameters not supported by the device.

 

1.1.12  display transceiver interface

Syntax

display transceiver interface [ interface-type interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-type interface-number: Interface and interface number.

Description

Use the display transceiver interface command to display the major parameters of the pluggable optical module of an interface or all pluggable optical modules.

Examples

# Display the major parameters of the pluggable optical module of GigabitEthernet 1/1/1.

<H3C> display transceiver interface GigabitEthernet 1/1/1

GigabitEthernet1/1/1 transceiver information:

  Transceiver Type                    : 1000_BASE_LX_SFP

  Connector Type                   : LC

  Wavelength(nm)                   : 1310

  Transfer Distance                : 10km(9um)

  Digital Diagnostic Monitoring    : YES

  Vendor Name                      : H3C

  Ordering Name                    : SFP-GE-LX10-SM1310

Table 1-10 Description on the fields of the display transceiver interface command

Field

Description

Transceiver Type

Physical type of the transceiver

Connector Type

Connector type, which could be:

l      SC, LC (for fiber connection)

l      RJ-45, CX4, and so on (for other types of connection)

Wavelength(nm)

Transmit laser wavelength in nm

For a module that supports multiple wavelength values, the wavelength values are separated by commas (,).

Transfer Distance(xx)

Transmission distance in m or km

If multiple distances are supported, they are separated by commas (,).

The media type is bracketed, which can be one of the following:

l      9/125um signle-mode optical fiber: 9um

l      50/125um multi-mode optical fiber: 50um

l      62.5/125um multi-mode optical fiber: 62.5um

l      Twisted pair: TP

l      CX4 cable: CX4

l      Stack cable: STACK

Digital Diagnostic Monitoring

The support for digital diagnostic monitoring, which could be YES or NO.

Vendor Name

l      For latest H3C modules, the vendor name in the RFID1 of the module displays.

l      For other modules, the Original Equipment Manufacturer name displays.

Ordering Name

l      For H3C devices, the external model displays.

l      For OEM devices, N/A displays.

Note: RFID = radio frequency identification (also called e-tag)

 

1.1.13  display transceiver manuinfo interface

Syntax

display transceiver manuinfo interface [ interface-type interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-type interface-number: Interface type and interface number.

Description

Use the display transceiver manuinfo interface command to display the radio frequency identification (RFID) information of pluggable optical modules.

If an interface is specified, the system only displays the RFID information of the pluggable optical module of the interface. If no interface is specified, the system displays the RFID information of all pluggable optical modules.

Examples

# Display the RFID information of the pluggable optical module of GigabitEthernet 1/1/1.

<H3C> display transceiver manuinfo interface GigabitEthernet 1/1/1

GigabitEthernet1/1/1 transceiver manufacture information:

  Manu. Serial Number     : 213410A0000054000251

  Manufacturing Date      : 2007-04-01

  Vendor Name             : H3C

Table 1-11 Description on the fields of the display transceiver manuinfo interface command

Field

Description

Manu. Serial Number

Serial number generated during module test. The information is stored in the RFID.

Manufacturing Date

H3C module test date. The information is stored in the RFID.

Vendor Name

The specified vendor name for the module. The information is stored in the RFID.

 

1.1.14  duplex

Syntax

duplex { auto | full | half }

undo duplex

View

Ethernet interface view

Default Level

2: System level

Parameters

auto: Specifies the auto-negotiation mode.

full: Specifies the full-duplex mode.

half: Specifies the half-duplex mode. This keyword is not available for GigabitEthernet interfaces.

Description

Use the duplex command to set the duplex mode of the Ethernet interface.

Use the undo duplex command to restore the default duplex mode.

By default, the duplex mode of an Ethernet interface is determined through auto-negotiation.

Related commands: speed.

 

&  Note:

This command is not available on Ten-GigabitEthernet interfaces.

 

Examples

# Configure interface Ethernet 1/1/1 to operate in the full-duplex mode.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] duplex full

1.1.15  flag sdh

Syntax

flag { j0 | j1 } sdh value

undo flag { j0 | j1 } sdh

View

Ten-GigabitEthernet interface view

Default Level

2: System level

Parameters

j0: Sets the regenerator section trace byte.

j1: Sets the path trace byte.

value: Value for the J0 or J1 byte, a string of 1 to 15 characters.

Description

Use the flag sdh command to set the overhead byte (J0 or J1) of SDH frames when the Ten-GigabitEthernet interface is working in WAN mode.

Use the undo flag command to restore the default.

By default, both J0 and J1 bytes are all zeros.

Related commands: port-mode.

 

&  Note:

This command can take effect only when the Ten-GigabitEthernet interface is operating in WAN mode.

 

Examples

#  Set the J0 byte in SDH frames to Sysname on ten-GigabitEthernet 1/1/1.

<Sysname> system-view

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

[Sysname-Ten-GigabitEthernet1/1/1] port-mode wan

[Sysname-Ten-GigabitEthernet1/1/1] flag j0 sdh Sysname

1.1.16  flow-control

Syntax

flow-control

undo flow-control

View

Ethernet interface view

Default Level

2: System level

Parameters

None

Description

Use the flow-control command to enable flow control on an Ethernet interface.

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

By default, flow control is disabled.

 

&  Note:

Flow control takes effect only when it is enabled on both local and remote sides.

 

Examples

# Enable flow control on interface Ethernet1/1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] flow-control

1.1.17  flow-interval

Syntax

flow-interval interval

undo flow-interval

View

Ethernet interface view

Default Level

2: System level

Parameters

interval: Interval for generating interface statistics, in the range of 5 to 300 (in seconds) in steps of 5.

Description

Use the flow-interval command to set the interval for generating interface statistics.

Use the undo flow-interval command to restore the default.

By default, the interval for generating interface statistics is 300 seconds.

Examples

# Set the time interval for generating interface statistics to 100 seconds for interface Ethernet1/1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] flow-interval 100

1.1.18  group-member

Syntax

group-member interface-list

undo group-member interface-list

View

Manual port group view

Default Level

2: System level

Parameters

interface-list: Ethernet interface list, in the format of {interface-type interface-number [ to interface-type interface-number ] } &<1-10>, where interface-type interface-number is Ethernet interface type and number, and &<1-10> means that you can specify up to 10 interfaces/interface ranges for this argument.

Description

Use the group-member command to add Ethernet interfaces to a manual port group.

Use the undo group-member command to remove Ethernet interfaces from a manual port group.

By default, a manual port group contains no Ethernet interface.

Examples

# Add interfaces Ethernet1/1/1 and Ethernet1/1/5 to the manual port group named group1.

<Sysname> system-view

[Sysname] port-group manual group1

[Sysname-port-group-manual-group1] group-member Ethernet 1/1/1 to Ethernet 1/1/5

1.1.19  interface

Syntax

interface interface-type interface-number

View

System view

Default Level

2: System level

Parameters

interface-type interface-number: Interface type and interface number.

 

&  Note:

l      Interface is numbered using slot number, daughter card number, and interface number. For example, the interface number of Ethernet 1/1/1 is 1/1/1.

l      For ease of user input, interface type can be abbreviated so long as it does not cause any confusion, for example, interface Ethernet 1/1/1 can be abbreviated as e1/1/1.

 

Description

Use the interface command to enter interface view.

Examples

# Enter Ethernet1/1/1 interface view.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1]

1.1.20  jumboframe enable

Syntax

jumboframe enable [ jumboframe-value ] slot slot-id

undo jumboframe enable slot slot-id

View

System view

Default Level

2: System level

Parameters

jumboframe-value: Size (in bytes) of the jumbo frames allowed to pass through an Ethernet interface, in the range 1552 to 10240. This range can be subdivided into three ranges with one valid value in each: 9022 in the range 1553 to 9022, 9192 in the range 9023 to 9192 and 10240 in the range 9193 to 10240. By default, the size of the jumbo frames allowed is 1,552 bytes.

slot slot-id: Specifies a board by its slot ID. The command applies to all the Ethernet interfaces on the specified board.

Description

Use the jumboframe enable command to set the maximum size of the jumbo Ethernet frames allowed to pass through the specified Ethernet interfaces.

Use the undo jumboframe enable command to prevent Ethernet frames longer than 1522 bytes from passing through the specified Ethernet interfaces.

By default, the maximum length of Ethernet frames allowed is 1522 bytes.

 

&  Note:

l      The jumboframe-value argument is in the range 1,552 to 10,236 for the boards LSB1XP4B, LSB1XP4CA, LSB1XP4DB, LSB1GV48DA, LSB2GV48DA, and LSB1GV48DB.

l      By default, the boards LSB1VPNB0, LSB1NAMB0 and LSB1NATB0 allow jumbo frames with their size being 8,192 bytes. If you execute the jumboframe enable command for a board of this type, an error occurs.

l      For FE interfaces, the maximum size of allowed jumbo frames is 1552 bytes.

 

Examples

# Allow Ethernet frames smaller than 9022 bytes to pass through all the Ethernet interfaces on the board in slot 4.

<Sysname> system-view

[Sysname] jumboframe enable 9022 slot 4

1.1.21  link-delay

Syntax

link-delay delay-time

undo link-delay

View

Ethernet interface view

Default Level

2: System level

Parameters

delay-time: Up/Down suppression time for the physical connection of an Ethernet interface, in the range 0 to 10 (in seconds).

Description

Use the link-delay command to set the suppression time of physical-link-state changes on an Ethernet Interface.

Use the undo link-delay command to restore the default.

By default, the suppression time of physical-link-state changes on an Ethernet Interface is 1 second.

Examples

# Set the up/down suppression time of the physical connection of Ethernet 1/1/1 interface to 2 seconds.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] link-delay 2

1.1.22  loopback

Syntax

loopback { external | internal }

undo loopback

View

Ethernet interface view

Default Level

2: System level

Parameters

external: Enables external loopback testing.

internal: Enables internal loopback testing.

Description

Use the loopback command to enable Ethernet interface loopback testing.

Use the undo loopback command to disable Ethernet interface loopback testing.

By default, Ethernet interface loopback testing is disabled.

 

&  Note:

l      Currently, the S9500 series do not support external loopback testing.

l      Loopback testing is required when you test certain functions, such as locating problems in an Ethernet.

l      After you enable loopback testing on an Ethernet interface, the interface operates in full-duplex mode at the highest speed. The interface will return to its original state when loopback testing is disabled.

 

Examples

# Enable internal loopback testing on Ethernet 1/1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] loopback internal

1.1.23  mdi

Syntax

mdi { across | auto | normal }

undo mdi

View

Ethernet interface view

Default Level

2: System level

Parameters

across: Specifies the MDI mode as across.

auto: Specifies the MDI mode as auto.

normal: Specifies the MDI mode as normal.

Description

Use the mdi command to configure the MDI mode of an Ethernet interface.

Use the undo mdi command to restore the default.

By default, the MDI mode of an Ethernet interface is auto. That is, an Ethernet interface decides the role of the pins (to send packets or receive packets) through auto negotiation.

Examples

# Configure the MDI mode of interface Ethernet1/1/1 as across.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] mdi across

1.1.24  multicast-suppression

Syntax

multicast-suppression { ratio | pps max-pps }

undo multicast-suppression

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

ratio: Specifies a percentage of the total interface bandwidth for multicasts on the interface, in the range 1 to 100. The smaller the ratio is, the less the multicast traffic is allowed through the interface.

pps max-pps:  Specifies the maximum number of multicast packets allowed to pass through the interface every second, in the range 1 to 1488100 (in pps, packets per second).

Description

Use the multicast-suppression command to configure multicast suppression by setting a multicast traffic threshold.

Use the undo multicast-suppression command to restore the default.

By default, all multicast traffic is allowed to go through an Ethernet interface, that is, multicast traffic is not suppressed.

Configured in Ethernet interface view, this command takes effect only on the current interface; configured in port group view, this command takes effect on all interfaces in the port group.

Note that:

l           With multicast suppression enabled, the switch discards all multicast packets that cross the predefined multicast threshold to ensure the operation of network services.

l           The multicast suppression setting you configured will overwrite the previous multicast suppression setting, if any.

l           You cannot enable broadcast suppression and multicast suppression on a board at the same time. If you have enabled broadcast suppression on some ports of a board, you cannot enable multicast suppression on the other ports, and vice versa.

l           With multicast suppression enabled, broadcast suppression is enabled automatically. However, with broadcast suppression enabled, multicast suppression cannot be enabled.

l           Multicast suppression does not differentiate unknown multicasts from known multicasts.

Examples

# Set the multicast threshold to 20 for Ethernet 1/1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] multicast-suppression 20

# Set the multicast threshold to 20 for all the interfaces in port group 1.

<Sysname> system-view

[Sysname] port-group manual group1

[Sysname-port-group manual group1] group-member ethernet 2/1/1

[Sysname-port-group manual group1] group-member ethernet 2/1/2

[Sysname-port-group manual group1] multicast-suppression 20

1.1.25  port-group

Syntax

port-group { manual port-group-name | aggregation agg-id }

undo port-group manual port-group-name

View

System view

Default Level

2: System level

Parameters

manual port-group-name: Specifies the name of a manual port group, a string of 1 to 32 characters.

aggregation agg-id: Specifies the ID of an existing aggregation port group.

Description

Use the port-group manual command to create a manual port group. If the manual port group identified by the port-group-name argument already exists, this command leads you to manual port group view.

Use the port-group aggregation command to enter aggregation port group view.

Use the undo port-group manual command to remove a manual port group.

By default, no manual port group exists in the system.

Examples

# Create a manual port group named “group1”.

<Sysname> system-view

[Sysname] port-group manual group1

[Sysname-port-group-manual-group1]

1.1.26  port-mode

Syntax

port-mode { lan | wan }

undo port-mode

View

Ten-GigabitEthernet interface view

Default Level

2: System level

Parameters

lan: Specifies LAN mode.

wan: Specifies WAN mode.

Description

Use the port-mode command to configure a 10GE interface to operate in LAN or WAN mode.

Use the undo port-mode command to restore the default.

By default, a 10GE interface operates in LAN mode.

 

&  Note:

WAN mode is not supported on LSB1XP4CA, LSB1XK1DB, and LSB1XP4B boards.

 

Examples

Configure the Ten-GigabitEthernet 1/1/1 to operate in WAN mode.

<Sysname> system-view

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

[Sysname-Ten-GigabitEthernet1/1/1] port-mode wan

1.1.27  reset counters interface

Syntax

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

View

User view

Default Level

2: System level

Parameters

interface-type: Interface type.

interface-number: Interface number.

Description

Use the reset counters interface command to clear the statistics on specific interfaces.

To obtain interface statistics within specific period of time, you need to clear the existing interface statistics first.

l           If neither interface type nor interface number is specified, this command clears the statistics on all the interfaces.

l           If only interface type is specified, this command clears the statistics on the interfaces that are of specific type.

l           If both interface type and interface number are specified, this command clears the statistics on the specified interface.

Examples

# Clear the statistics on Ethernet1/1/1.

<Sysname> reset counters interface ethernet 1/1/1

1.1.28  shutdown

Syntax

shutdown

undo shutdown

View

Ethernet interface view

Default Level

2: System level

Parameters

None

Description

Use the shutdown command to shut down an Ethernet interface.

Use the undo shutdown command to bring up an Ethernet interface.

By default, an Ethernet interface is up.

Examples

# Shut down interface Ethernet1/1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] shutdown

# Bring up interface Ethernet1/1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] undo shutdown

1.1.29  source-mac-tail

Syntax

source-mac-tail last-byte

undo source-mac-tail

View

Ethernet interface view

Default Level

2: System level

Parameters

last-byte: Two-digit hexadecimal number to be used as the least octet of the source MAC address.

Description

Use the source-mac-tail command to set the least octet of the source MAC address for an interface.

Use the undo source-mac-tail command to remove the source MAC address setting.

After you execute the source-mac-tail command, packets forwarded on Layer 3 through the interface uses the number set by this command as the least octet of their source MAC addresses.

By default, the source MAC address for an interface is that of the corresponding VLAN interface.

 

&  Note:

Currently, this command is not supported by the following boards: LSB1GV48DA, LSB1GV48DB, LSB2GV48DA, LSB1GP48DB, LSB1XP4B, LSB1XP4CA, and LSB1XP4DB.

 

Examples

# Set the least octet of the source MAC address to 0x12 for interface Ethernet 3/1/1.

<Sysname> system-view

System View: return to User View with Ctrl+Z.

[Sysname] interface ethernet 3/1/1

[Sysname-Ethernet3/1/1] source-mac-tail 12

# Remove the source MAC address setting for the interface Ethernet 3/1/1.

<Sysname> system-view

System View: return to User View with Ctrl+Z.

[Sysname] interface ethernet 3/1/1

[Sysname-Ethernet3/1/1] undo source-mac-tail

1.1.30  speed

Syntax

speed { 10 | 100 | 1000 | auto }

undo speed

View

Ethernet interface view

Default Level

2: System level

Parameters

10: Specifies the interface rate as 10 Mbps.

100: Specifies the interface rate as 100 Mbps.

1000: Specifies the interface rate as 1,000 Mbps.

auto: Specifies the interface rate is determined through auto-negotiation.

Description

Use the speed command to set the operating rate for an Ethernet interface.

Use the undo speed command to restore the default operating rate.

By default, an Ethernet interface determines its operating rate through auto-negotiation.

Note that the speed 1000 command is only applicable to GigabitEthernet interface.

Related commands: duplex.

 

&  Note:

You cannot set the transmission rate of a ten-GigabitEthernet or 100 Mbps Ethernet optical interface. For a 1000 Mbps Ethernet optical interface, you can only set the transmission rate to 1000 Mbps or auto negotiation.

 

Examples

# Configure the operating rate of interface Ethernet1/1/1 as 100 Mbps.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] speed 100

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