H3C S5500-SI Series Ethernet Switches Command Manual-Release 1205-(V1.03)

HomeSupportSwitchesH3C S5500 Switch SeriesReference GuidesCommand ReferencesH3C S5500-SI Series Ethernet Switches Command Manual-Release 1205-(V1.03)
06-Port Correlation Configuration Command
Title Size Download
06-Port Correlation Configuration Command 236 KB

Table of Contents

Chapter 1 Ethernet Interface Configuration Commands. 1-1

1.1 General Ethernet Interface Configuration Commands. 1-1

1.1.1 broadcast-suppression. 1-1

1.1.2 copy configuration. 1-2

1.1.3 description. 1-3

1.1.4 display brief interface. 1-3

1.1.5 display interface. 1-6

1.1.6 display loopback-detection. 1-10

1.1.7 display port 1-10

1.1.8 display port-group manual 1-11

1.1.9 duplex. 1-12

1.1.10 flow-control 1-13

1.1.11 flow-interval 1-14

1.1.12 group-member 1-15

1.1.13 interface. 1-15

1.1.14 jumboframe enable. 1-16

1.1.15 loopback. 1-17

1.1.16 loopback-detection control enable. 1-18

1.1.17 loopback-detection enable. 1-19

1.1.18 loopback-detection interval-time. 1-20

1.1.19 loopback-detection per-vlan enable. 1-20

1.1.20 mdi 1-21

1.1.21 multicast-suppression. 1-22

1.1.22 port-group. 1-23

1.1.23 port link-type. 1-24

1.1.24 reset counters interface. 1-25

1.1.25 shutdown. 1-25

1.1.26 speed. 1-26

1.1.27 unicast-suppression. 1-27

1.1.28 virtual-cable-test 1-28

Chapter 2 Link Aggregation Configuration Commands. 2-1

2.1 Link Aggregation Configuration Commands. 2-1

2.1.1 display lacp system-id. 2-1

2.1.2 display link-aggregation interface. 2-1

2.1.3 display link-aggregation summary. 2-4

2.1.4 display link-aggregation verbose. 2-5

2.1.5 lacp port-priority. 2-7

2.1.6 lacp system-priority. 2-8

2.1.7 link-aggregation group description. 2-9

2.1.8 link-aggregation group mode. 2-9

2.1.9 port link-aggregation group. 2-10

2.1.10 port-group aggregation. 2-11

2.1.11 reset lacp statistics. 2-11

Chapter 3 Port Isolation Configuration Commands. 3-1

3.1 Port Isolation Configuration Commands. 3-1

3.1.1 display port-isolate group. 3-1

3.1.2 port-isolate enable. 3-2

 


Chapter 1  Ethernet Interface Configuration Commands

1.1  General 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

Parameter

ratio: Specifies the maximal ratio of broadcast traffic for an Ethernet interface. It ranges between 1 to 100 and defaults to 100. The smaller the ratio, the less broadcast traffic allowed through the interface.

pps max-pps: Specifies the maximal broadcast packet number per second for an Ethernet interface. It ranges between 1 to 1,488,000 for GigabitEthernet port(s) and 1 to 1,488,0000 for 10GE port(s) in pps, representing packets per second.

Description

Use the broadcast-suppression command to configure broadcast storm suppression ratio.

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

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

The above commands apply to the current port only while executed under Ethernet interface view, or to all ports in a port group while executed under port group view.

Note that when broadcast traffic exceeds the maximum value configured, system will discard the extra packets so that the traffic ratio falls below the limit again to ensure network functions proper.

Example

# Allow 20% of broadcast traffic to pass through the interface GigabitEthernet 1/0/28, that is, configure the broadcast suppression ratio to 80%.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/28

[Sysname-GigabitEthernet1/0/28] broadcast-suppression 20

# Allow 20% of multicast traffic to pass through the interface GigabitEthernet1/0/1, that is, configure the multicast suppression ratio to 80%.

<Sysname> system-view

[Sysname] port-group manual group1

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

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

1.1.2  copy configuration

Syntax

copy configuration source interface-type interface-number destination  interface-list

View

System view

Parameter

interface-type: Type of a specified interface.

interface-number: Number of a specified interface.

interface-list: Destination Ethernet interface list, in the format of
interface-type interface-number [ to interface-type interface-number ] &<1-10>, where &<1-10> indicates that you can specify up to 10 port ranges.

Description

Use the copy configuration command to copy configurations on a specific interface to other interface(s). The configuration can be copied include port configuration, GVRP, STP, Port-isolate, VLAN, LACP, QoS and QINQ.

Example

# Copy configurations from the interface GigabitEthernet 1/0/1 to the interface GigabitEthernet 1/0/2.

<SYSNAME> system-view

[SYSNAME] copy configuration source GigabitEthernet 1/0/1 destination GigabitEthernet 1/0/2

Copying speed/duplex configuration...

 Copying GVRP configuration...

 Copying STP configuration...

 Copying Port-isolate configuration...

 Copying VLAN configuration...

 Copying LACP configuration...

 Copying QoS configuration...

 Copying QINQ and BPDU tunnel configuration...

1.1.3  description

Syntax

description text

undo description

View

Ethernet interface view

Parameter

text: The description of an Ethernet interface, a string of 1 to 80 characters.

Description

Use the description command to configure the description of an Ethernet interface.

Use the undo description command to remove the description.

Default to interface name followed by the “interface” string. For example ”GigabitEthernet1/0/1 Interface”.

Example

# Configure the description for interface GigabitEthernet 1/0/2 to “lanswitch-interface”.

<SYSNAME> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] description lanswitch-interface

1.1.4  display brief interface

Syntax

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

View

Any view

Parameter

interface-type: Type of a specified interface.

interface-number: Number of a specified interface.

|: Uses regular expression to filter output configuration.

begin: Displays information that begins with the specified string.

include: Displays information that contains the specified string.

exclude: Displays information that do not contain the specified string.

regular-expression: Regular expression, in the range of 1 to 256 characters, excluding spaces.

Table 1-1 Special characters in regular expressions

Special Characters

Special Meaning

Notes on Use

_

Underscore, similar to a wildcard character, can represent one of the following: (^|$|[,(){}])

a space, the beginning of the string, the end of the string

If the regular expression does not begin with an underscore (-), then, other than the limit imposed by the command line length, there is no other limit on the number of underscore (-).

If the regular expression begins with an underscore (-), then the number of consecutive underscores (-) should be less than five.

If the underscores (-) are not consecutive, then the first group of underscores (-) can be used to filter the routing table. The following underscores will be ignored.

(

Left paraphrase, represents a pull in stack.

Users are recommended not to use this character in a regular expression.

.

Full stop, wildcard character, matches any single character, including white space.

None

*

Star character, matches expressions with 0 or more single-character or multiple-character

 zo* matches z and zoo.

+

plus, matches expressions with 1 or more single-character or multiple-character

zo+ matches zo and zoo, but not z.

 

Description

Use the display brief interface command to display brief interface information,

l           Brief information of interface(s) under route mode, including simple interface name, link state, protocol link state, protocol type, and main IP address.

l           Brief information of interface(s) under bridge mode, including port name, link state, port speed, duplex, link type, Default VLAN ID.

Note that:

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.

Example

# Display brief information of interface(s).

<Sysname> display brief interface

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

Interface            Link      Protocol-link  Protocol type    Main IP

NULL0                UP        UP(spoofing)   NULL             --

Vlan1                UP        UP             ETHERNET         192.168.0.52

Vlan2                DOWN      DOWN           ETHERNET         --

Vlan100              DOWN      DOWN           ETHERNET         -- 

 

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

Interface            Link      Speed     Duplex   Link-type  PVID

GE1/0/1              DOWN      auto      auto     trunk      100

GE1/0/2              DOWN      auto      auto     access     1

GE1/0/3              DOWN      auto      auto     access     1

GE1/0/4              DOWN      auto      auto     access     1

GE1/0/5              DOWN      auto      auto     access     1

GE1/0/6              UP        100M(a)   full(a)  access     1

GE1/0/7              DOWN      auto      auto     access     1

GE1/0/8              DOWN      auto      auto     access     1

GE1/0/9              DOWN      auto      auto     access     1

GE1/0/10             DOWN      auto      auto     access     1

GE1/0/11             DOWN      auto      auto     access     1

GE1/0/12             DOWN      auto      auto     access     1

GE1/0/13             DOWN      auto      auto     access     1

GE1/0/14             DOWN      auto      auto     access     1

# Display brief interface information that contains the string “DOWN”.

<Sysname> display brief interface | include DOWN

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

Interface            Link      Protocol-link  Protocol type  Main IP

Vlan2                DOWN      DOWN           ETHERNET         --

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

Interface            Link      Speed     Duplex   Link-type  PVID

GE1/0/1              DOWN      auto      auto     trunk      100

GE1/0/2              DOWN      auto      auto     access     1

GE1/0/3              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) under route mode

Interface

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) under bridge mode

Speed

 Interface rate, in bps

Duplex

Duplex mode, which can be half, full, or auto.

Link-type

Link-type

PVID

Default VLAN ID

 

1.1.5  display interface

Syntax

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

View

Any view

Parameter

interface-type: Type of a specified interface.

interface-number: Number of a specified interface.

Description

Use the display interface command to display the current state of a specified 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.

Example

# Display the current state of interface GigabitEthernet 1/0/1 and related information.

<Sysname> display interface GigabitEthernet 1/0/1

GigabitEthernet1/0/1 current state: DOWN

 IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0000-5600-0001

 Description: GigabitEthernet1/0/1 Interface

 Loopback is not set

Media type is twisted pair

 Port hardware type is 1000_BASE_T

1000Mbps-speed mode, full-duplex mode

Link speed type is autonegotiation, link duplex type is autonegotiation

 Flow-control is not enabled

 The Maximum Frame Length is 9216

 Broadcast MAX-ratio: 100%

 Unicast MAX-ratio: 100%

 Multicast MAX-ratio: 100%

 Allow jumbo frame to pass

 PVID: 1

 Mdi type: auto

 Port link-type: access

  Tagged   VLAN ID : 1

  Untagged VLAN ID : none

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

          0 broadcasts, 0 multicasts

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

          0 CRC, - frame, 0 overruns, 0 aborts

          0 ignored, 0 parity errors

 Output (total): 0 packets, 0 bytes

          0 broadcasts, 0 multicasts, 0 pauses

 Output (normal): - packets, - bytes

          - broadcasts, - multicasts, - pauses

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

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

          0 lost carrier, - no carrier                 

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

Field

Description

GigabitEthernet1/0/1 current state

Current physical link state of the Ethernet interface, which can be up or down (Interface physical link state is down) or administratively down (Use the shutdown command can shut down the port manually).

IP Packet Frame Type

Frame type of the Ethernet interface

Hardware address

Hardware address

Description

Description of the port

Loopback is not set

Loopback is not configured

Media type

Media type

Port hardware type

Port hardware type

1000Mbps-speed mode, full-duplex mode

Current speed mode and duplex mode

Link speed type is autonegotiation, link duplex type is autonegotiation

Link speed and duplex status ( force or auto-negotiation )

Flow-control is not enabled

Flow-control is not enabled

The Maximum Frame Length

The maximum frame length allowed on an interface

Broadcast-suppression ratio(%)

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

Unicast MAX-ratio

Unicast storm suppression ratio (the maximum ratio of allowed number of unicast packets to overall traffic through an interface)

Multicast MAX-ratio

Multicast storm suppression ratio (the maximum ratio of allowed number of multicast packets to overall traffic through an interface)

Allow jumbo frame to pass

Allow jumbo frame to pass through

PVID

Default VLAN ID

Mdi type

Cable type

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:  0 packets/sec 0 bytes/sec

Average input rate over the last 300 seconds

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

Average output rate over the last 300 seconds

Input (total):  0 packets, 0 bytes

          0 broadcasts, 0 multicasts

Statistics on the total incoming packets (including normal packets, error packets) on the port

The “-” indicates that the corresponding entry is invalid

Input (normal):  0 packets, 0 bytes

          0 broadcasts, 0 multicasts

Statistics on the normal incoming packets on the port

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

          0 CRC, - frame, 0 overruns, 0 aborts

          0 ignored, 0 parity errors

Statistics on the abnormal incoming packets on the port

Output (total): 0 packets, 0 bytes

          0 broadcasts, 0 multicasts, 0 pauses

Statistics on the total outgoing packets (including normal packets, error packets) on the port

Output (normal): - packets, - bytes

          - broadcasts, - multicasts, -pauses

Statistics on the normal outgoing packets on the port

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

0 aborts, 0 deferred, 0 collisions, 0 late collisions          0 lost carrier, - no carrier

Statistics on the abnormal outgoing packets on the port

 

1.1.6  display loopback-detection

Syntax

display loopback-detection

View

Any view

Parameter

None

Description

Use the display loopback-detection command to display loopback detection information on a port

If loopback detection is already enabled, this command will also display the detection interval and information on the ports currently detected with a loopback.

Example

# Display loopback detection information on a port.

<Sysname> display loopback-detection

Loopback-detection is running

Detection interval time is 30 seconds

There is no port existing loopback link

Table 1-4 Description on the fields of the display loopback-detection command.

Field

Description

Loopback-detection is running

Loopback-detection is running

Detection interval time is 30 seconds

Detection interval is 30 seconds

There is no port existing loopback link

No port is currently being detected with a loopback

 

1.1.7  display port

Syntax

display port { hybrid | trunk I combo }

View

Any view

Parameter

hybrid: Displays the current Hybrid port(s).

trunk: Displays the current Trunk port(s).

combo: Displays the current Combo port(s) and the corresponding optical and electrical ports.

Description

Use the display port command to display information on the current ports of a specified type.

Example

# Display the current Trunk port(s).

<Sysname> display port trunk

Interface           PVID  VLAN passing

GE1/0/8             2     1-4, 6-100, 145, 177, 189-200, 244, 289, 400

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

Field

Description

Interface

Interface name

PVID

Default VLAN ID of the interface

VLAN passing

VLAN ID of VLANs that the ports can pass through

 

1.1.8  display port-group manual

Syntax

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

View

Any view

Parameter

all: All manual port groups.

name port-group-name: Name of a specified manual port group, a string of 1 to 32 characters.

Description

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

l           name port-group-name: Displays the details for a specified manual port group, including its name and the Ethernet interface ports included.

l           all: Displays the details for all manual port groups, including their names and the Ethernet interface ports included.

l           Absence of parameters indicates that the names of all port groups will be displayed.

Example

# Display details for the port group 1.

<Sysname> display port-group manual name group1

 Member of group1:   

    GigabitEthernet1/0/1     GigabitEthernet1/0/2     GigabitEthernet1/0/3 

# Display the names of all port groups.

<Sysname> display port-group manual

The following manual port group exist(s):        

group1                                    group2

# Display details for all manual port groups.

<Sysname> display port-group manual all

Member of group1:

GigabitEthernet1/0/1     GigabitEthernet 1/0/2  GigabitEthernet1/0/3           GigabitEthernet1/0/4         GigabitEthernet 1/0/5    

            

Member of group2:   

GigabitEthernet1/0/7       GigabitEthernet1/0/8          GigabitEthernet 1/0/9

    GigabitEthernet1/0/10

    GigabitEthernet1/0/4     GigabitEthernet1/0/5

Table 1-6 Description on the fields of the display port-group manual command

Field

Description

Member of group1

Member of the manual port group

GigabitEthernet1/0/1     GigabitEthernet1/0/2     GigabitEthernet1/0/3  

Interface name in the port group(s)

The following manual port group exist(s)

The existing manual port group(s)

 

1.1.9  duplex

Syntax

duplex { auto | full | half }

undo duplex

View

Ethernet interface view

Parameter

auto: Indicates that the interface is in an auto-negotiation state.

full: Indicates that the interface is in a full-duplex state.

half: Indicates that the interface is in a half-duplex state.

Description

Use the duplex command to configure the duplex mode for an Ethernet interface.

Use the undo duplex command to restore the duplex mode for an Ethernet interface to the default.

By default, the duplex mode for an Ethernet interface is auto.

Related command: speed.

Example

# Configure the interface GigabitEthernet 1/0/2 to work in full-duplex mode.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] duplex full

1.1.10  flow-control

Syntax

flow-control

undo flow-control

View

Ethernet interface view

Parameter

None

Description

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

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

By default, flow control on an Ethernet interface is turned off.

 

&  Note:

This command is only applicable when the peer Ethernet interface also supports flow control. Therefore, it is recommended that you align the configurations with the peer.

 

Example

# Turn on flow control on interface GigabitEthernet1/0/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] flow-control

1.1.11  flow-interval

Syntax

flow-interval interval

undo flow-interval

View

Ethernet interface view

Parameter

interval: Time interval at which interface statistics is collected, in the range of 5 to 300 seconds, a multiple of 5.

Description

Use the flow-interval command to configure the time interval for collecting interface statistics.

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

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

When you use the display interface interface-type interface-number command to display the information of a port, the system performs statistical analysis on the traffic flow passing through the port during the specified interval and displays the average rates in the interval. For example, if you set this interval to 100 seconds, the displayed information is as follows:

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

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

Related command: display interface.

Example

# Set the time interval for collecting interface statistics to 100 seconds on interface GigabitEthernet1/0/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] flow-interval 100

1.1.12  group-member

Syntax

group-member interface-list

undo group-member interface-list

View

Manual port group view

Parameter

interface-list: Ethernet interface list, in the format of
interface-type interface-number [ to interface-type interface-number ] &<1-10>, where &<1-10> indicates that you can specify up to 10 port ranges.

Description

Use the group-member command to add an Ethernet interface to a specified manual port group.

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

By default, a manual port group is empty, that is, there is no Ethernet interface in it.

Example

# Add the interface GigabitEthernet 1/0/1 and GigabitEthernet1/0/5 to the manual port group1.

<Sysname> system-view

[Sysname] port-group manual group1

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

1.1.13  interface

Syntax

interface interface-type interface-number

View

System view

Parameter

interface-type: Port type, which can be GigabitEthernet, TenGigabitEthernet, LoopBack, NULL or Vlan-interface.

interface-number: Port number, in the format of slot number/subslot number/port number, where:

l           slot number only can be 1;

l           On the front panel, the subslot number is 0, on the rear panel, the two expansion slot number is 1 and 2;

l           The port number is relevant to the device.

For example, GigabitEthernet1/0/1 indicates the Gigabit Ethernet port with number of 1/0/1, this port is on the front panel and port number is 1.

Description

Use the interface command to enter the related interface view.

Example

# Enter interface view of the interface GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1]

1.1.14  jumboframe enable

Syntax

jumboframe enable

undo jumboframe enable

View

Ethernet interface view/port group view

Parameter

None

Description

Use the jumboframe enable command to allow jumbo frames that are not larger than 9216 bytes to pass through the current Ethernet port.

Use the undo jumboframe enable command to allow frames that are not larger than 1536 bytes to pass through the current Ethernet port.

By default, frames that are not larger than 9216 bytes are allowed to pass through the Ethernet port.

l           Execution of this command under Ethernet interface view will only apply the configurations to the current Ethernet interface.

l           Execution of this command under port group view will apply the configurations to the Ethernet interface(s) in the port group.

Example

# Enable jumbo frames that are not larger than 1536 bytes to pass through the interface GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] jumboframe enable

1.1.15  loopback

Syntax

loopback { external | internal }

undo loopback

View

Ethernet interface view

Parameter

external: Enable external loopback testing on an Ethernet interface.

internal: Enable internal loopback testing on an Ethernet interface.

Description

Use the loopback command to enable Ethernet interface loopback testing.

By default, Ethernet interface loopback testing is disabled.

 

&  Note:

l      Ethernet interface loopback testing should be enabled while testing certain functionalities, such as during the initial identification of any network failure.

l      While enabled, Ethernet interface loopback testing will work in a full-duplex mode. The interface will return to its original state upon completion of the loopback testing.

 

Example

# Configure to enable loopback testing for the interface GigabitEthernet 1/0/2.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] loopback internal

1.1.16  loopback-detection control enable

Syntax

loopback-detection control enable

undo loopback-detection control enable

View

Ethernet interface view

Parameter

None

Description

Use the loopback-detection control enable command to enable loopback detection for a Trunk port or Hybrid port.

Use the undo loopback-detection control enable command to disable loopback detection for a Trunk port or Hybrid port.

By default, loopback detection for a Trunk port or Hybrid port is disabled.

l           When the loopback detection is enabled, if a port has been detected with loopback, it will be shutdown. A Trap message will be sent to the terminal and the corresponding MAC address forwarding entries will be deleted.

l           When the loopback detection is disabled, if a port has been detected with loopback, a Trap message will be sent to the terminal. The port is still working properly.

Note that this command is inapplicable to an Access port as its loopback detection is enabled by default.

Example

# Enable loopback detection for the Trunk port GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] loopback-detection enable

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] port link-type trunk

[Sysname-GigabitEthernet1/0/1] loopback-detection enable

[Sysname-GigabitEthernet1/0/1] loopback-detection control enable

1.1.17  loopback-detection enable

Syntax

loopback-detection enable

undo loopback-detection enable

View

System view/Ethernet interface view

Parameter

None

Description

Use the loopback-detection enable command to enable loopback detection globally or on a specified port.

Use the undo loopback-detection enable command to disable loopback detection globally or on a specified port.

By default, loopback detection is disabled for an Access, Trunk, or Hybrid port.

l           If an Access port has been detected with loopback, it will be shutdown. A Trap message will be sent to the terminal and the corresponding MAC address forwarding entries will be deleted.

l           If a Trunk port or Hybrid port has been detected with loopback, a Trunk message will be sent to the terminal. They will be shutdown if the loopback testing function is enabled on them. In addition, a Trap message will be sent to the terminal and the corresponding MAC address forwarding entries will be deleted.

 

  Caution:

l      Loopback detection on a given port is enabled only after the loopback-detection enable command has been issued in both system view and the interface view of the port.

l      Loopback detection on all ports will be disabled after the issuing of the undo loopback-detection enable command under system view.

 

Related command: loopback-detection control enable.

Example

# Enable loopback detection on the interface GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] loopback-detection enable

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] loopback-detection enable

1.1.18  loopback-detection interval-time

Syntax

loopback-detection interval-time time

undo loopback-detection interval-time

View

System view

Parameter

time: Time interval for external loopback detection, in the range of 5 to 300 seconds.

Description

Use the loopback-detection interval-time command to configure time interval for external loopback detection.

Use the undo loopback-detection interval-time command to restore the default time interval for external loopback detection.

By default, the default interval for external loopback detection is 30 seconds.

Related command: display loopback-detection.

Example

# Configure time interval for external loopback detection to 10 seconds.

<Sysname> system-view

[Sysname] loopback-detection interval-time 10

1.1.19  loopback-detection per-vlan enable

Syntax

loopback-detection per-vlan enable

undo loopback-detection per-vlan enable

View

Ethernet interface view

Parameter

None

Description

Use the loopback-detection per-vlan enable command to enable loopback detection in all VLANs with Trunk ports or Hybrid ports.

Use the undo loopback-detection per-vlan enable command to enable loopback detection in the default VLAN with Trunk ports or Hybrid ports.

By default, loopback detection is only enabled in the default VLAN(s) with Trunk ports or Hybrid ports.

Note that the loopback-detection per-vlan enable command is not applicable to Access ports.

Example

# Enable loopback detection in all VLANs to which the Trunk port GigabitEthernet 1/0/1 belong.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] port link-type trunk

[Sysname-GigabitEthernet1/0/1] loopback-detection enable

[Sysname-GigabitEthernet1/0/1] loopback-detection per-vlan enable

1.1.20  mdi

Syntax

mdi { across | auto | normal }

undo mdi

View

Ethernet interface view

Parameter

across: Configures an Ethernet interface to use cross over cable.

auto: Configures an Ethernet interface to use auto-detection cable.

normal: Configures an Ethernet interface to use straight through cable.

Description

Use the mdi command to configure the cable type for an Ethernet interface.

Use the undo mdi command to restore the cable type for an Ethernet interface.

By default, an Ethernet interface uses auto-detection cable.

 

&  Note:

l      The Combo port and 10 GE port does not support this command.

l      S5500-SI Series Ethernet Switches only support mdi auto.

 

Example

# Configure the interface GigabitEthernet 1/0/1 to use auto-detection cable.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] mdi auto

1.1.21  multicast-suppression

Syntax

multicast-suppression { ratio | pps max-pps }

undo multicast-suppression

View

Ethernet interface view/port group view

Parameter

ratio: Specifies the maximal ratio of multicast traffic for an Ethernet interface. Ranges between 1 to 100. The smaller the ratio, the less multicast traffic allowed through the interface.

pps max-pps: Specifies the maximal multicast packet number per second for an Ethernet interface, It ranges between 1 to 1,488,000 for GE port(s) and ranges between 1 to 14,880,000 for 10GE port(s) in pps, representing packets per second.

Description

Use the multicast-suppression command to configure multicast storm suppression ratio.

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

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

The above commands apply to the current port only while executed under Ethernet interface view, or to all ports in a port group while executed under port group view.

Note that when multicast traffic exceeds the maximum value configured, system will discard the extra packets so that the traffic ratio falls below the limit again to ensure network functions proper.

Example

# Allow 20% of multicast traffic to pass through the interface GigabitEthernet1/0/1, that is, configure the multicast suppression ratio to 80%.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitGigabitEthernet1/0/1] multicast-suppression 20

On all ports of the manual port group “Group1”, allow multicast traffic equivalent to 20% of the total transmission capability of each port to pass and suppress excessive multicast packets.

<Sysname> system-view

[Sysname] port-group manual group1

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

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

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

1.1.22  port-group

Syntax

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

undo port-group manual port-group-name

View

System view

Parameter

manual port-group-name: Name of a specified manual port group, a string of 1 to 32 characters.

aggregation agg-id: Number of the specified port aggregation group. The specified port aggregation group must already exist. You can use the display link-aggregation summary command to display brief information of all existing port aggregation groups.

Description

l           Use the port-group manual command to enter a specified manual port group view. If the manual port group does not exist, you need to create it first before entering its view.

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

l           Use the undo port-group manual command to delete a specified manual port group.

By default, no manual port group is configured.

Example

# Create a manual port group 1.

<Sysname> system-view

[Sysname] port-group manual group1

[Sysname-port-group-manual-group1]

1.1.23  port link-type

Syntax

port link-type { access | hybrid | trunk }

undo port link-type

View

Ethernet interface view/port group view

Parameter

access: Specifies the link type of a port as Access.

hybrid: Specifies the link type of a port as Hybrid.

trunk: Specifies the link type of a port as Trunk.

Description

Use the port link-type command to configure Ethernet port link type.

Use the undo port link-type command to restore the system default Ethernet port link type, which is “Access”.

 By default, link type for all Ethernet interfaces is Access.

The above commands apply to the current port only while executed under Ethernet interface view, or to all ports in a port group while executed under port group view.

Example

# Configure the interface GigabitEthernet 1/0/1 to be Trunk port.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet 1/0/1] port link-type trunk

# Configure all the member ports of the manual port group “Group1”( from GigabitEthernet 1/0/1 to GigabitEthernet 1/0/5 ) as Hybrid ports.

<Sysname> system-view

[Sysname] port-group manual group1

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

[Sysname-port-group-manual-group1] port link-type hybrid

1.1.24  reset counters interface

Syntax

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

View

User view

Parameter

interface-type: Interface type.

interface-number: Interface number

Description

Use the reset counters interface command to reset statistics for a specified interface.

To sample network traffic within a period of time for an interface, you need to reset the original interface statistics.

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

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

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

Example

# Reset statistics for the interface GigabitEthernet 1/0/1.

<Sysname> reset counters interface GigabitEthernet 1/0/1

1.1.25  shutdown

Syntax

shutdown

undo shutdown

View

Ethernet interface view

Parameter

None

Description

Use the shutdown command to shut down an Ethernet interface.

Use the undo shutdown command to turn on Ethernet interface.

By default, Ethernet interface is enabled.

In certain circumstances, modification to the interface parameters does not immediately take effect, and therefore, you need to shut down the relative interface to make the modification work.

Example

# Shut down the interface GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] shutdown

# Turn on the interface GigabitEthernet 1/0/1.

[Sysname-GigabitEthernet1/0/1] undo shutdown

1.1.26  speed

Syntax

speed { 10 | 100 | 1000 | auto }

undo speed

View

Ethernet interface view

Parameter

10: Indicates that the interface rate is 10 Mbps.

100: Indicates that the interface rate is 100 Mbps.

1000: Indicates that the interface rate is 1000 Mbps.

auto: Indicates that the interface rate is automatically negotiated between peer Ethernet interfaces.

Description

Use the speed command to configure Ethernet interface data rate.

Use the undo speed command to restore Ethernet interface data rate.

By default, Ethernet interface data rate is automatically negotiated between peer Ethernet interfaces.

l           Combo port only supports speed auto and speed 1000.

l           10GE port cannot support speed command.

Note that he Combo port does not support the speed command.

Example

# Configure data rate for the interface GigabitEthernet 1/0/2 to 100 Mbps.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] speed 100

1.1.27  unicast-suppression

Syntax

unicast-suppression { ratio | pps max-pps }

undo unicast-suppression

View

Ethernet interface view/port group view

Parameter

ratio: Specifies the maximal ratio of unicast traffic for an Ethernet interface. Ranges between 1 to 100. The smaller the ratio, the less unicast traffic allowed through the interface.

pps max-pps: Specifies the maximal unicast packet number per second for an Ethernet interface. It ranges between 1 to 1,488,000 for GigabitEthernet port(s) and 1 to 1,488,0000 for 10GE port(s) in pps, representing packets per second.

Description

Use the unicast-suppression command to configure unicast storm suppression ratio.

Use the undo unicast-suppression command to restore unicast suppression ratio.

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

The above commands apply to the current port only while executed under Ethernet interface view, or to all ports in a port group while executed under port group view.

Note that when unicast traffic exceeds the maximum value configured, system will discard the extra packets so that the traffic ratio falls below the limit again to ensure network functions proper.

Example

# Allow 20% of unicast traffic to pass through the interface GigabitEthernet 1/0/28, that is, configure the unicast suppression ratio to 80%.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/28

[Sysname-GigabitEthernet1/0/28] unicast-suppression 20

# On all ports of the manual port group “Group1” ( from GigabitEthernet 1/0/1 to GigabitEthernet 1/0/5 ), allow unknown unicast traffic equivalent to 20% of the total transmission capability of each port to pass and suppress excessive unknown unicast packets.

<Sysname> system-view

[Sysname] port-group manual group1

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

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

1.1.28  virtual-cable-test

Syntax

virtual-cable-test

View

Ethernet interface view

Parameter

None

Description

Use the virtual-cable-test command to enable the virtual cable test for an Ethernet interface and to display the testing result. The tested items include:

l           Cable status: Could be normal, abnormal, abnormal-open, abnormal-short, and failure;

l           Cable length;

l           Pair Impedance mismatch;

l           Pair skew;

l           Pair swap;

l           Pair polarity;

l           Insertion loss;

l           Return loss;

l           Near-end crosstalk.

By default, virtual cable test is disabled.

Note that:

l           When the cable is functioning properly, the cable length in the test result represents no meaning;

l           When the cable is not functioning properly, the cable length in the test result represents the length from the current interface to the failed position.

l           Currently the S5500-SI Series Ethernet Switches support the tested items include: cable status and cable length.

Example

# Enable the virtual cable test for the interface GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] virtual-cable-test

Cable status: abnormal(open), 0 metres

Pair Impedance mismatch: -

Pair skew: - ns

Pair swap: -

Pair polarity: -

Insertion loss: - db

Return loss: - db

Near-end crosstalk: - db

 


Chapter 2  Link Aggregation Configuration Commands

2.1  Link Aggregation Configuration Commands

2.1.1  display lacp system-id

Syntax

display lacp system-id

View

Any view

Parameter

None

Description

Use the display lacp system-id command to display the local system ID, which comprises system LACP priority and system MAC address.

Example

# Display the local system ID.

<Sysname> display lacp system-id

 Actor System ID: 0x8000, 00e0-fc00-0100

Table 2-1 Description on the fields of the display lacp system-id command

Field

Description

Actor System ID

The local system ID which comprises system LACP priority and system MAC address.

 

2.1.2  display link-aggregation interface

Syntax

display link-aggregation interface interface-type interface-number [ to interface-type interface-number ]

View

Any view

Parameter

interface interface-type interface-number [ to interface-type interface-number ]: Specifies an interface range or an interface if the to keyword and the second interface are not specified.

Description

Use the display link-aggregation interface command to display detailed information about link aggregation on the specified port or ports.

l           ID of the link aggregation group of which this port is a member.

l           Local port LACP priority, operational key, LACP state flag.

l           Remote system ID, port number, port LACP priority, operational key, and LACP state flag.

l           Statistics about received, invalid, and sent LACP packets.

You may find that information about the remote system is replaced by 0 and no statistics about LACPDUs are provided for manual link aggregation groups. This is normal because this type of aggregation group has no knowledge of its partner and does not use LACPDUs for maintaining link aggregation.

Example

# Display detailed information about link aggregation for port GigabitEthernet 1/0/1 in a manual aggregation group.

<Sysname> display link-aggregation interface GigabitEthernet1/0/1

Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,

        D -- Synchronization, E -- Collecting, F -- Distributing,

        G -- Defaulted, H -- Expired

 

 GigabitEthernet1/0/1:

   Selected AggID: 3

   Local:

     Port-Priority: 32768, Oper key: 2, Flag: {}

   Remote:

     System ID: 0x0, 0000-0000-0000

     Port Number: 0, Port-Priority: 0 , Oper-key: 0, Flag: {}

# Display detailed information about link aggregation for port GigabitEthernet 1/0/2 in a static aggregation group.

<Sysname> display link-aggregation interface GigabitEthernet1/0/2

Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,

        D -- Synchronization, E -- Collecting, F -- Distributing,

        G -- Defaulted, H -- Expired

 

 GigabitEthernet1/0/2:

   Selected AggID: 0

   Local:

     Port-Priority:    0, Oper key: 3, Flag: {ACG}

   Remote:

     System ID: 0x8000, 0000-0000-0000

     Port Number: 0, Port-Priority: 32768 , Oper-key: 0, Flag: {EF}

   Received LACP Packets: 0 packet(s), Illegal: 0 packet(s)

   Sent LACP Packets: 0 packet(s)

Table 2-2 Description on the fields of the display link-aggregation interface command

Field

Description

Flags

One-octet LACP flags field indicates the actor state variables for the port. From the least to the most significant bit, they are represented by A through H as follows:

A –– Enabling/disabling of LACP, 1 for enabled and 0 for disabled

B –– Timeout control value, 1 for short timeout, and 0 for long timeout

C –– Whether the system considers this link to be aggregatable, 1 for true, and 0 for false

D –– Whether the system considers that this link is synchronized, 1 for true, and 0 for false

E –– Whether collection of incoming frames is enabled on the link, 1 for true and 0 for false

F –– Whether distribution of outgoing frames is enabled on the link, 1 for true and 0 for false

G –– Whether the receive state machine of the actor is using default operational partner information, 1 for true and 0 for false

H –– Whether the receive state machine of the actor is in the expired state, 1 for true and 0 for false

If a flag bit is set to 1, the corresponding English letter that otherwise is not output displays.

Selected AggID

ID of the link aggregation group of which this port is a member

Local:

Port-Priority, Oper key, Flag

Local port LACP priority, operational key, LACP state flag

Remote:

System ID, Port Number, Port-Priority, Oper-key, Flag

Remote system ID, port number, port LACP priority, operational key, and LACP state flag

Received LACP Packets, Illegal, Sent LACP Packets

Statistics about received, invalid, and sent LACP packets

 

2.1.3  display link-aggregation summary

Syntax

display link-aggregation summary

View

Any view

Parameter

None

Description

Use the display link-aggregation summary command to display a summary for all link aggregation groups, which comprises Local system ID, Link aggregation group ID, Link aggregation type, Remote system ID, Number of selected ports, Number of unselected ports, Load sharing type and Master port number.

You may find that information about the remote system for a manual link aggregation group is either replaced by none or not displayed at all. This is normal because this type of aggregation group has no knowledge of its partner.

Example

# Display the link aggregation group summary.

<Sysname> display link-aggregation summary

Aggregation Group Type: S -- Static, M -- Manual

Loadsharing Type: Shar – Loadsharing, NonS – Non-Loadsharing

Actor ID: 0x8000, 0016-e0be-e200

 

  AL AL Partner ID           Select    Unselected  Share   Master

  ID Type                     Ports Ports   Type        Port

-------------------------------------------------------------------

  1   M    none                  0      2        NonS  GigabitEthernet1/0/5

Table 2-3 Description on the fields of the display link-aggregation summary command

Field

Description

Actor ID

Local system ID

AL ID

Link aggregation group ID

AL Type

Link aggregation type: manual, static LACP

Partner ID

Remote system ID

Select Ports

Number of selected ports

Unselected Ports

Number of unselected ports

Share Type

Load sharing type

Master Port

Master port number

 

2.1.4  display link-aggregation verbose

Syntax

display link-aggregation verbose [ agg-id ]

View

Any view

Parameter

agg-id: ID of an existing link aggregation group. For S5500-28C-SI and S5500-28C-PWR-SI, it is in the range of 1 to 32. For S5500-52C-SI and S5500-52C-PWR-SI, it is in the range of 1 to 56.

Description

Use the display link-aggregation verbose command to display detailed information about the specified or all link aggregation groups.

l           Link aggregation group ID, Link aggregation type , Load sharing type

l           Link aggregation group name

l           Detailed information about the local end, including Local system ID, member ports, port state, port LACP priority, operational key

l           Detailed information about the remote end, including corresponding local port, port ID, port LACP priority, operational key, system ID

You may find that information about the remote system for a manual link aggregation group is either replaced by none or not displayed at all. This is normal because this type of aggregation group has no knowledge of its partner.

Example

# Display detailed information about link aggregation group 1. -

<Sysname> display link-aggregation verbose

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,

         D -- Synchronization, E -- Collecting, F -- Distributing,

         G -- Defaulted, H -- Expired

 

Aggregation ID: 1,  AggregationType: Static,   Loadsharing Type: Shar

Aggregation Description:

System ID: 0x8000, 00e0-fc00-0001

Port Status: S -- Selected,  U -- Unselected

Local:

  Port             Status  Priority  Oper-Key  Flag

--------------------------------------------------------------------------

  GE0/0/1          S       32768     1         {ACDEFG}

  GE0/0/2          U       32768     1         {ACG}

  GE0/0/3          U       32768     2         {ACG}

 

Remote:

  Actor            Partner Priority  Oper-Key  SystemID               Flag

--------------------------------------------------------------------------

  GE0/0/1          0       32768     0         0x8000,0000-0000-0000  {DEF}

  GE0/0/2          0       32768     0         0x8000,0000-0000-0000  {DEF}

  GE0/0/3          0       32768     0         0x8000,0000-0000-0000  {EF}

Table 2-4 Description on the fields of the display link-aggregation verbose command

Field

Description

Loadsharing Type

Load sharing type, either shar for loadsharing or NonS for non-load sharing

Flags

One-octet LACP flags field indicates the actor state variables for the port. From the least to the most significant bit, they are represented by A through H as follows:

A –– Enabling/disabling of LACP, 1 for enabled and 0 for disabled

B –– Timeout control value, 1 for short timeout, and 0 for long timeout

C –– Whether the system considers this link to be aggregatable, 1 for true, and 0 for false

C –– Whether the system considers that this link is synchronized, 1 for true, and 0 for false

E –– Whether collection of incoming frames is enabled on the link, 1 for true and 0 for false

F –– Whether distribution of outgoing frames is enabled on the link, 1 for true and 0 for false

G –– Whether the receive state machine of the actor is using default operational partner information, 1 for true and 0 for false

H –– Whether the receive state machine of the actor is in the expired state, 1 for true and 0 for false

If a flag bit is set to 1, the corresponding English letter that otherwise is not output displays.

Aggregation ID

Link aggregation group ID

AggregationType

Link aggregation type: manual, static LACP

Aggregation Description

Link aggregation group name

System ID

Local system ID

Port Status

Port state in a link aggregation group: selected or unselected

Local:

Port, Status, Priority, Oper-key, Flag

Other information about the local end, including member ports, port state, port LACP priority, operational key, and flags

Remote:

Actor, Partner, Priority, Oper-key, SystemID, Flag

Detailed information about the remote end, including corresponding local port, port ID, port LACP priority, operational key, system ID, and flags

 

2.1.5  lacp port-priority

Syntax

lacp port-priority port-priority

undo lacp port-priority

View

Ethernet interface view

Parameter

port-priority: Port LACP priority, in the range 0 to 65,535.

Description

Use the lacp port-priority command to assign an LACP priority to the port or ports in the port group.

Use the undo lacp port-priority command to restore the default.

By default, port LACP priority is 32,768.

Example

# Assign LACP priority 64 to a port.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] lacp port-priority 64

2.1.6  lacp system-priority

Syntax

lacp system-priority system-priority

undo lacp system-priority

View

System view

Parameter

system-priority: System LACP priority, in the range 0 to 65,535.

Description

Use the lacp system-priority command to assign an LACP priority to the local system.

Use the undo lacp system-priority command to restore the default.

By default, system LACP priority is 32768.

Example

# Assign LACP priority 64 to the local system.

<Sysname> system-view

[Sysname] lacp system-priority 64

2.1.7  link-aggregation group description

Syntax

link-aggregation group agg-id description agg-name

undo link-aggregation group agg-id description

View

System view

Parameter

agg-id: ID of an existing link aggregation group. For S5500-28C-SI and S5500-28C-PWR-SI, it is in the range of 1 to 32. For S5500-52C-SI and S5500-52C-PWR-SI, it is in the range of 1 to 56.

agg-name: Link aggregation group name, in the range 1 to 32 characters.

Description

Use the link-aggregation group description command to configure a name for the specified link aggregation group.

Use the undo link-aggregation group description command to remove the name of the specified link aggregation group.

By default, the name of the specified link aggregation group is not configured.

Related command: display link-aggregation verbose.

Example

# Name link aggregation group 22 as abc.

<Sysname> system-view

[Sysname] link-aggregation group 22 description abc

2.1.8  link-aggregation group mode

Syntax

link-aggregation group agg-id mode { manual | static }

undo link-aggregation group agg-id

View

System view

Parameter

agg-id: ID of an existing link aggregation group. For S5500-28C-SI and S5500-28C-PWR-SI, it is in the range of 1 to 32. For S5500-52C-SI and S5500-52C-PWR-SI, it is in the range of 1 to 56.

manual: Manual link aggregation mode.

static: Static LACP link aggregation mode.

Description

Use the link-aggregation group mode command to create a manual or static LACP link aggregation group.

Use the undo link-aggregation group command to remove a link aggregation group.

Related command: display link-aggregation summary.

Example

# Create manual link aggregation group 22.

<Sysname> system-view

[Sysname] link-aggregation group 22 mode manual

2.1.9  port link-aggregation group

Syntax

port link-aggregation group agg-id

undo port link-aggregation group

View

Ethernet interface view

Parameter

agg-id: ID of an existing link aggregation group. For S5500-28C-SI and S5500-28C-PWR-SI, it is in the range of 1 to 32. For S5500-52C-SI and S5500-52C-PWR-SI, it is in the range of 1 to 56.

Description

Use the port link-aggregation group command to assign the Ethernet port to the specified link aggregation group (manual or static LACP).

Use the undo port link-aggregation group command to remove the Ethernet port from the specified aggregation group

Related command: display link-aggregation verbose.

Example

# Assign port GigabitEthernet 1/0/1 to link aggregation group 22.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] port link-aggregation group 22

2.1.10  port-group aggregation

Syntax

port-group aggregation agg-id

View

System view

Parameter

agg-id: ID of an existing link aggregation group. For S5500-28C-SI and S5500-28C-PWR-SI, it is in the range of 1 to 32. For S5500-52C-SI and S5500-52C-PWR-SI, it is in the range of 1 to 56.

Description

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

Instead of being created administratively, an aggregation port group is created automatically upon the creation of a link aggregation group and assigned the ID of the link aggregation group. In aggregation port group view, you can configure aggregation related settings such as STP, VLAN, QoS, GVRP, QinQ, BPDU tunnel, and multicast, but cannot add or remove member ports.

Example

# Enter aggregation port group view.

<Sysname> system-view

[Sysname] port-group aggregation 10

[Sysname-port-group-aggregation-10]

2.1.11  reset lacp statistics

Syntax

reset lacp statistics [ interface interface-type interface-number [ to interface-type interface-number ] ]

View

User view

Parameter

interface interface-type interface-number [ to interface-type interface-number ]: Specifies an interface range or an interface if the to keyword and the second interface are not specified.

Description

Use the reset lacp statistics command to clear statistics about LACP on specified or all ports.

Related command: display link-aggregation interface.

Example

# Clear statistics about LACP on all ports.

<Sysname> reset lacp statistics

 


Chapter 3  Port Isolation Configuration Commands

3.1  Port Isolation Configuration Commands

3.1.1  display port-isolate group

Syntax

display port-isolate group

View

Any view

Parameter

None

Description

Use the display port-isolate group command to display the information of the default  Isolation Group 1.

Example

# Display the information about the Ethernet ports added to the isolation group.

<Sysname> display port-isolate group

 Port-isolate group information:

 Uplink port support: NO

 Group ID: 1

   GigabitEthernet1/0/2               GigabitEthernet1/0/3

Table 3-1 Description on the output information of the display port-isolate group command

Field

Description

Port-isolate group information

Display information of a port-isolation group

Uplink port support

Whether support uplink port

Group ID

Isolation group number

GigabitEthernet1/0/2               GigabitEthernet1/0/3

All ports name of a isolation group

 

3.1.2  port-isolate enable

Syntax

port-isolate enable

undo port-isolate enable

View

Ethernet interface view/port group view

Parameter

None

Description

Use the port isolate command to add an Ethernet port to the isolation group.

Use the undo port isolate command to remove an Ethernet port from the isolation group.

By default, an isolation group contains no port.

Note that this command adds a port to the default Isolation Group 1 on the device.

The above commands apply to the current port only while executed under Ethernet interface view, or to all ports in a port group while executed under port group view.

Example

# Add GigabitEthernet1/0/1 port to the isolation group.

<Sysname> system-view

[Sysname] interface GigabitEthernet1/0/1

[Sysname-GigabitEthernet1/0/1] port-isolate enable

 

  • 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 Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网