05-Network Connectivity Command Reference

HomeSupportReference GuidesCommand ReferencesH3C WX2800X&WSG1800X Command References(R5605P11)-6W10005-Network Connectivity Command Reference
02-Ethernet link aggregation commands
Title Size Download
02-Ethernet link aggregation commands 273.89 KB

Ethernet link aggregation commands

bandwidth

Use bandwidth to set the expected bandwidth for an interface.

Use undo bandwidth to restore the default.

Syntax

bandwidth bandwidth-value

undo bandwidth

Default

The expected bandwidth (in kbps) is the interface baud rate divided by 1000.

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.

Usage guidelines

The expected bandwidth is an informational parameter used only by higher-layer protocols for calculation. You cannot adjust the actual bandwidth of an interface by using this command.

Examples

# Set the expected bandwidth to 10000 kbps for Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] bandwidth 10000

 

default

Use default to restore the default settings for an aggregate interface.

Syntax

default

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Usage guidelines

CAUTION

CAUTION:

The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you execute it on a live network.

 

This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions. Use the display this command in interface view to identify these commands, and then use their undo forms or follow the command reference to restore their default settings. If your restoration attempt still fails, follow the error message instructions to resolve the problem.

Examples

# Restore the default settings for Layer 2 aggregate interface 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] default

 

description

Use description to configure the description of an interface.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The description of an interface is interface-name Interface. For example, the default description of Bridge-Aggregation 1 is Bridge-Aggregation1 Interface.

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

text: Specifies a description, a case-sensitive string of 1 to 255 characters.

Examples

# Configure the description as connect to the lab for Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] description connect to the lab

display interface

Use display interface to display aggregate interface information.

Syntax

display interface [ bridge-aggregationbridge-aggregation [ interface-number ] ] [ brief [ description | down ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

bridge-aggregation: Specifies Layer 2 aggregate interfaces.

interface-number: Specifies an existing aggregate interface number.

brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of each interface description.

down: Displays information about interfaces in down state and the causes for the down state. If you do not specify this keyword, the command displays information about interfaces in all states.

Usage guidelines

If you do not specify an aggregate interface type, this command displays information about all interfaces except VA interfaces. For more information about VA interfaces, see PPP configuration in Network Connectivity Configuration Guide.

If you specify an aggregate interface type but do not specify an interface number, this command displays information about all aggregate interfaces of the specified type.

Examples

# Display detailed information about Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> display interface bridge-aggregation 1

Bridge-Aggregation1

Current state: UP

Line protocol state: UP

IP packet frame type: Ethernet II, hardware address: 000f-e207-f2e0

Description: Bridge-Aggregation1 Interface

Bandwidth: 1000 kbps

Unknown-speed mode, unknown-duplex mode

Link speed type is autonegotiation, link duplex type is autonegotiation

PVID: 1

Port link-type: Access

 Tagged VLANs:   None

 UnTagged VLANs: 1

Last clearing of counters: Never

  Last 300 seconds input:  6900 packets/sec 885160 bytes/sec    0%

  Last 300 seconds output:  3150 packets/sec 404430 bytes/sec    0%

  Input (total):  5364747 packets, 686688416 bytes

         2682273 unicasts, 1341137 broadcasts, 1341337 multicasts, 0 pauses

  Input (normal):  5364747 packets, 686688416 bytes

         2682273 unicasts, 1341137 broadcasts, 1341337 multicasts, 0 pauses

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

         0 CRC, 0 frame, 0 overruns, - aborts

         - ignored, - parity errors

  Output (total): 1042508 packets, 133441832 bytes

         1042306 unicasts, 0 broadcasts, 202 multicasts, - pauses

  Output (normal): 1042508 packets, 133441832 bytes

         1042306 unicasts, 0 broadcasts, 202 multicasts, 0 pauses

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

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

         - lost carrier, - no carrier

# Display brief information about Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> display interface bridge-aggregation 1 brief

Brief information on interfaces in bridge mode:

Link: ADM - administratively down; Stby - standby

Speed: (a) – auto

Duplex: (a)/A - auto; H - half; F - full

Type: A - access; T - trunk; H - hybrid

Interface            Link Speed   Duplex Type PVID Description

BAGG1                UP   auto    A      A    1

Table 1 Command output

Field

Description

Bridge-Aggregation1

Layer 2 aggregate interface name.

Current state

Physical link state of the interface:

·     Administratively DOWN—The interface has been shut down by using the shutdown command.

·     DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed).

·     UP—The interface is both administratively and physically up.

IP packet frame type

IPv4 packet framing format.

IPv6 packet frame type

IPv6 packet framing format.

Description

Description of the interface.

Bandwidth

Expected bandwidth of the interface. This field is not displayed when the bandwidth is 0 kbps.

Unknown-speed mode, unknown-duplex mode

The interface speed and duplex mode are unknown.

Port link-type

Port link type:

·     Access.

·     Trunk.

·     Hybrid.

Tagged VLANs

VLAN whose packets are sent out of this interface with a tag.

Untagged VLANs

VLAN whose packets are sent out of this interface without a tag.

Last clearing of counters

Time when the reset counters interface command was last used to clear the interface statistics. This field displays Never if the reset counters interface command has never been used on the interface since device startup.

Last 300 seconds input/output rate

Average input or output rate over the last 300 seconds.

Input/Output (total)

Statistics of all packets received or sent on the interface.

Input/Output (normal)

Statistics of all normal packets received or sent on the interface.

Line protocol state

Data link layer state of the interface:

·     UP.

·     DOWN.

Brief information on interfaces in bridge mode

Brief information about Layer 2 interfaces.

Interface

Abbreviated interface name.

Link

Physical link state of the interface:

·     UP—The interface is physically up.

·     DOWN—The interface is physically down.

·     ADM—The interface has been shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command.

·     Stby—The interface is a backup interface in standby state.

·     Stby—The interface is a backup interface in standby state. This state is not supported in the current software version.

Speed

Speed of the interface, in bps.

This field displays the (a) flag next to the speed if the speed is automatically negotiated.

This field displays auto if the interface is configured to autonegotiate its speed but the autonegotiation has not started.

Duplex

Duplex mode of the interface:

·     A—Autonegotiation. The interface is configured to autonegotiate its duplex mode but the autonegotiation has not started.

·     F—Full duplex.

·     F(a)—Autonegotiated full duplex.

·     H—Half duplex.

·     H(a)—Autonegotiated half duplex.

Type

Link type of the interface:

·     A—Access.

·     H—Hybrid.

·     T—Trunk.

 

display lacp system-id

Use display lacp system-id to display the local system ID.

Syntax

display lacp system-id

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

You can use the lacp system-priority command to change the LACP priority of the local system. The LACP priority value is specified in decimal format in the lacp system-priority command. However, it is displayed in hexadecimal format in the output from the display lacp system-id command.

Examples

# Display the local system ID.

<Sysname> display lacp system-id

Actor System ID: 0x8000, 0000-fc00-6504

Table 2 Command output

Field

Description

Actor System ID: 0x8000, 0000-fc00-6504

Local system ID, which contains the system LACP priority (0x8000 in this sample output) and the system MAC address (0000-FC00-6504 in this sample output).

 

Related commands

lacp system-priority

display link-aggregation load-sharing mode

Use display link-aggregation load-sharing mode to display global or group-specific link-aggregation load sharing modes.

Syntax

display link-aggregation load-sharing mode [ interface [ bridge-aggregation interface-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

bridge-aggregation: Specifies Layer 2 aggregate interfaces.

interface-number: Specifies an existing aggregate interface number.

Usage guidelines

If you do not specify the interface keyword, the command displays the global link-aggregation load sharing modes.

If you specify the interface keyword, but do not specify an interface, the command displays all group-specific load sharing modes.

The bridge-aggregation keyword is available only when Layer 2 aggregate interfaces exist on the device.

Examples

# Display the global link-aggregation load sharing mode. This example displays the default settings.

<Sysname> display link-aggregation load-sharing mode

Link-aggregation load-sharing mode:

Layer 2 traffic: packet type-based sharing

# Display the global link-aggregation load sharing mode. This example displays user-configured settings.

<Sysname> display link-aggregation load-sharing mode

Link-aggregation load-sharing mode:

destination-mac address  source-mac address

# Display the link-aggregation load sharing mode of Layer 2 aggregation group 1. This example displays the default settings.

<Sysname> display link-aggregation load-sharing mode interface bridge-aggregation 1

Bridge-Aggregation1 load-sharing mode:

Layer 2 traffic: packet type-based sharing

# Display the link-aggregation load sharing mode of Layer 2 aggregation group 1. This example displays user-configured settings.

<Sysname> display link-aggregation load-sharing mode interface bridge-aggregation 1

Bridge-Aggregation1 load-sharing mode:

destination-mac address  source-mac address

Table 3 Command output

Field

Description

Link-aggregation load-sharing mode

Global link-aggregation load sharing mode.

By default, this field displays the link-aggregation load sharing mode for Layer 2 traffic.

If you have configured the global link-aggregation load sharing mode, this field displays the configured mode.

Bridge-Aggregation1 load-sharing mode

Link-aggregation load sharing mode of Layer 2 aggregation group 1.

By default, this field displays the global link-aggregation load sharing modes.

If you have configured a link-aggregation load sharing mode for this aggregation group, this field displays the configured mode.

Layer 2 traffic: packet type-based sharing

Default link-aggregation load sharing mode for Layer 2 traffic. In this sample output, Layer 2 traffic is load shared automatically based on the packet type.

destination-mac address, source-mac address

User-configured link-aggregation load sharing mode. In this sample output, traffic is load shared based on source and destination MAC addresses.

 

display link-aggregation member-port

Use display link-aggregation member-port to display detailed link aggregation information about the specified member ports.

Syntax

display link-aggregation member-port [ interface-list | auto ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-list: Specifies a list of link aggregation member ports, in the format interface-type interface-number1 [ to interface-type interface-number2 ]. The value for the interface-number2 argument must be equal to or greater than the value for the interface-number1 argument.

auto: Specifies all link aggregation member ports that are enabled with automatic assignment.

Usage guidelines

A member port in a static aggregation group cannot obtain information about the peer group. For such member ports, the command displays the port number, port priority, and operational key of only the local end.

Examples

# Display detailed information about GigabitEthernet 1/0/1, which is a member port of a static aggregation group.

<Sysname> display link-aggregation member-port gigabitethernet 1/0/1

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

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

       G -- Defaulted, H -- Expired

 

GigabitEthernet1/0/1:

Aggregate Interface: Bridge-Aggregation1

Port Number: 1

Port Priority: 32768

Oper-Key: 1

# Display detailed information about GigabitEthernet 1/0/2, which is a member port of a dynamic aggregation group.

<Sysname> display link-aggregation member-port gigabitethernet 1/0/2

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

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

       G -- Defaulted, H -- Expired

 

GigabitEthernet1/0/2:

Aggregate Interface: Bridge-Aggregation1

Local:

    Port Number: 2

    Port Priority: 32768

    Oper-Key: 2

    Flag: {ACDEF}

Remote:

    System ID: 0x8000, 000f-e267-6c6a

    Port Number: 26

    Port Priority: 32768

    Oper-Key: 2

    Flag: {ACDEF}

Received LACP Packets: 5 packet(s)

Illegal: 0 packet(s)

Sent LACP Packets: 7 packet(s)

Table 4 Command output

Field

Description

Flags

LACP state flags. This field is one byte long, represented by ABCDEFGH from the least significant bit to the most significant bit. A letter appears when its bit is 1 and does not appear when its bit is 0.

·     A—Indicates whether LACP is active on the port. 1 indicates active. 0 indicates passive.

·     B—Indicates the LACP timeout interval. 1 indicates the short timeout interval. 0 indicates the long timeout interval.

·     C—Indicates whether the sending system considers that the link is aggregatable. 1 indicates yes. 0 indicates no.

·     D—Indicates whether the sending system considers that the link has been aggregated. 1 indicates yes. 0 indicates no.

·     E—Indicates whether the sending system considers that the link can collect frames. 1 indicates yes. 0 indicates no.

·     F—Indicates whether the sending system considers that the link can distribute frames. 1 indicates yes. 0 indicates no.

·     G—Indicates whether the RX state machine of the sending system is in default state. 1 indicates yes. 0 indicates no.

·     H—Indicates whether the RX state machine of the sending system is in expired state. 1 indicates yes. 0 indicates no.

Aggregate Interface

Aggregate interface to which the member port belongs.

Local

Information about the local end.

Oper-key

Operational key.

Flag

LACP protocol state flag.

Remote

Information about the peer end.

System ID

Peer system ID, containing the system LACP priority and the system MAC address.

Received LACP Packets

Total number of LACP packets received.

Illegal

Total number of illegal packets.

Sent LACP Packets

Total number of LACP packets sent.

 

display link-aggregation summary

Use display link-aggregation summary to display brief information about all aggregation groups.

Syntax

display link-aggregation summary

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

Static link aggregation groups cannot obtain information about the peer groups. As a result, the Partner ID field displays None or nothing for a static link aggregation group.

Examples

# Display brief information about all aggregation groups.

<Sysname> display link-aggregation summary

Aggregate Interface Type:

BAGG -- Bridge-Aggregation, BLAGG –- Blade-Aggregation, RAGG -- Route-Aggregation

Aggregation Mode: S -- Static, D -- Dynamic

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

Actor System ID: 0x8000, 000f-e267-6c6a

 

AGG        AGG   Partner ID              Selected  Unselected  Individual  Share

Interface  Mode                          Ports     Ports       Ports       Type

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

BAGG1      D     0x8000,00e0-fcff-ff01   2         0           0           Shar

Table 5 Command output

Field

Description

Aggregate Interface Type

Aggregate interface type:

·     BAGG—Layer 2.

Aggregation Mode

Aggregation group type:

·     S—Static.

·     D—Dynamic.

Loadsharing Type

Load sharing type:

·     Shar—Load-sharing.

·     NonS—Non-load-sharing.

Actor System ID

Local system ID, which contains the local system LACP priority and the local system MAC address.

AGG Interface

Type and number of the aggregate interface.

AGG Mode

Aggregation group type.

Partner ID

System ID of the peer system, which contains the peer system LACP priority and the peer system MAC address.

Selected Ports

Total number of Selected ports.

Unselected Ports

Total number of Unselected ports.

Individual Ports

Total number of Individual ports.

Share Type

Load sharing type.

 

display link-aggregation troubleshooting

Use display link-aggregation troubleshooting to display the aggregation states of aggregation member ports and the reason why a port was placed in Unselected state.

Syntax

display link-aggregation troubleshooting [ bridge-aggregation [ interface-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

bridge-aggregation: Specifies Layer 2 aggregate interfaces.

interface-number: Specifies an existing aggregate interface by its number.

Usage guidelines

If you do not specify an aggregate interface type, the command displays information about all aggregation groups.

If you specify an aggregate interface type but do not specify an interface number, the command displays information about all aggregation groups of the specified type.

You can specify the bridge-aggregation keyword only when Layer 2 aggregate interfaces exsit on the device.

Examples

# Display the aggregation states of aggregation member ports for all aggregation groups and the reason why a port was placed in Unselected state.

<Sysname> display link-aggregation troubleshooting

Aggregate Interface: Bridge-Aggregation2

 Member ports:

  GE1/0/2

   Status: Selected

  GE1/0/3

   Status: Unselected

   Reason: The physical or line protocol state of the port is down

   Advice: Check the connection

Table 6 Command output

Field

Description

Reason

Reason why the port was placed in Unselected state.

Advice

Recommended action.

 

display link-aggregation verbose

Use display link-aggregation verbose to display detailed information about the aggregation groups that correspond to the specified aggregate interfaces.

Syntax

display link-aggregation verbose [ bridge-aggregation [ interface-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

bridge-aggregation: Specifies Layer 2 aggregate interfaces.

interface-number: Specifies an existing aggregate interface by its number.

Usage guidelines

If you do not specify an aggregate interface type, the command displays detailed information about all aggregation groups.

If you specify an aggregate interface type but do not specify an interface number, the command displays detailed information about all aggregation groups of the specified type.

The bridge-aggregation keyword is available only when Layer 2 aggregate interfaces exist on the device.

Examples

# Display detailed information about Layer 2 aggregation group 1, which is a dynamic aggregation group.

<Sysname> display link-aggregation verbose bridge-aggregation 1

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

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

Port: A -- Auto port

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

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

        G -- Defaulted, H -- Expired

 

Aggregate Interface: Bridge-Aggregation1

Creation Mode: Manual

Aggregation Mode: Dynamic

Loadsharing Type: Shar

System ID: 0x8000, 000f-e267-6c6a

Local:

  Port             Status  Priority Oper-Key  Flag

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

  GE1/0/2          S       32768    2         {ACDEF}

  GE1/0/3          S       32768    2         {ACDEF}

  GE1/0/4          S       32768    2         {AG}

Remote:

  Actor            Partner Priority Oper-Key  SystemID               Flag

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

  GE1/0/2          1       32768    2         0x8000, 000f-e267-57ad {ACDEF}

  GE1/0/3          1       32768    2         0x8000, 000f-e267-57ad {ACDEF}

  GE1/0/4          1       32768    2         0x8000, 0000-0000-0000 {DEF}

# Display detailed information about Layer 2 aggregation group 1, which is a static aggregation group.

<Sysname> display link-aggregation verbose bridge-aggregation 1

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

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

Port: A -- Auto port

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

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

        G -- Defaulted, H -- Expired

 

Aggregate Interface: Bridge-Aggregation1

Aggregation Mode: Static

Loadsharing Type: Shar

  Port             Status  Priority Oper-Key

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

  GE1/0/2          S       32768    1

  GE1/0/3          S       32768    1

  GE1/0/4          S       32768    1

Table 7 Command output

Field

Description

Loadsharing Type

Load sharing type:

·     Shar—Load-sharing.

·     NonS—Non-load-sharing.

Port Status

Port state:

·     Selected.

·     Unselected.

·     Individual.

Port

Port type. Auto port indicates that the port is enabled with automatic assignment.

Flags

LACP state flags. This field is one byte long, represented by ABCDEFGH from the least significant bit to the most significant bit. A letter appears when its bit is 1 and does not appear when its bit is 0.

·     A—Indicates whether LACP is active on the port. 1 indicates active. 0 indicates passive.

·     B—Indicates the LACP timeout interval. 1 indicates the short timeout interval. 0 indicates the long timeout interval.

·     C—Indicates whether the sending system considers that the link is aggregatable. 1 indicates yes. 0 indicates no.

·     D—Indicates whether the sending system considers that the link has been aggregated. 1 indicates yes. 0 indicates no.

·     E—Indicates whether the sending system considers that the link can collect frames. 1 indicates yes. 0 indicates no.

·     F—Indicates whether the sending system considers that the link can distribute frames. 1 indicates yes. 0 indicates no.

·     G—Indicates whether the RX state machine of the sending system is in default state. 1 indicates yes. 0 indicates no.

·     H—Indicates whether the RX state machine of the sending system is in expired state. 1 indicates yes. 0 indicates no.

Aggregate Interface

Name of the aggregate interface.

Creation Mode

Creation mode of the dynamic aggregate interface:

·     Auto.

·     Manual.

Aggregation Mode

Aggregation group type:

·     S—Static.

·     D—Dynamic.

System ID

Local system ID, containing the local system LACP priority and the local system MAC address.

Local

Information about the local end:

·     Port—Port type and number.

·     Status—Port state, which can be Selected, Unselected, or Individual.

·     Priority—Port priority.

·     Oper-Key—Operational key.

·     Flag—LACP state flag.

NOTE:

For static aggregation groups, the Flag field is not displayed.

Remote

Information about the peer end:

·     Actor—Type and number of the local port. This field displays the (R) flag next to the port if its peer port is the reference port.

·     Partner—Index of the peer port.

·     Priority—Priority of the peer port.

·     Oper-Key—Operational key of the peer port.

·     System ID—System ID of the peer end.

·     Flag—LACP state flag of the peer end.

 

interface bridge-aggregation

Use interface bridge-aggregation to create a Layer 2 aggregate interface and enter its view, or enter the view of an existing Layer 2 aggregate interface.

Use undo interface bridge-aggregation to delete a Layer 2 aggregate interface.

Syntax

interface bridge-aggregation interface-number

undo interface bridge-aggregation interface-number

Default

No Layer 2 aggregate interfaces exist.

Views

System view

Layer 2 aggregate interface view (in configuration profile)

Predefined user roles

network-admin

Parameters

interface-number: Specifies a Layer 2 aggregate interface number.

The following compatibility matrixes show the value ranges for this argument:

 

Hardware series

Model

Product code

Value range

WX2500X series

WX2560X

WX2580X

EWP-WX2560X

EWP-WX2580X

1 to 4

WX2500X-E series

WX2508X-E

EWP-WX2508X-E

1 to 4

 

Hardware series

Model

Product code

Value range

WX2500X-LI series

·     WX2510X-LI

·     WX2510X-PWR-LI

·     WX2520X-LI

·     WX2540X-LI

·     WX2550X-LI

·     WX2560X-LI

·     WX2580X-LI

·     EWP-WX2510X-LI

·     EWP-WX2510X-PWR-LI

·     EWP-WX2520X-LI

·     EWP-WX2540X-LI

·     EWP-WX2550X-LI

·     EWP-WX2560X-LI

·     EWP-WX2580X-LI

EWP-WX2510X-LI:1

EWP-WX2510X-PWR-LI: 1

EWP-WX2520X-LI: 1 to 4

EWP-WX2540X-LI: 1 to 4

EWP-WX2550X-LI: 1 to 4

EWP-WX2560X-LI: 1 to 4

EWP-WX2580X-LI: 1 to 4

 

Hardware series

Model

Product code

Value range

WX2500X-LI series

·     WX2510X-LI

·     WX2510X-PWR-LI

·     WX2520X-LI

·     WX2540X-LI

·     WX2550X-LI

·     WX2560X-LI

·     WX2580X-LI

·     EWP-WX2510X-LI

·     EWP-WX2510X-PWR-LI

·     EWP-WX2520X-LI

·     EWP-WX2540X-LI

·     EWP-WX2550X-LI

·     EWP-WX2560X-LI

·     EWP-WX2580X-LI

EWP-WX2510X-LI:1

EWP-WX2510X-PWR-LI: 1

EWP-WX2520X-LI: 1 to 4

EWP-WX2540X-LI: 1 to 4

EWP-WX2550X-LI: 1 to 4

EWP-WX2560X-LI: 1 to 4

EWP-WX2580X-LI: 1 to 4

 

Hardware series

Model

Product code

Value range

WX2800X series

WX2812X-PWR

WX2860X

WX2880X

EWP-WX2812X-PWR

1

EWP-WX2860X

1 to 4

EWP-WX2880X

1 to 4

WSG1800X series

WSG1808X-PWR

WSG1808X-PWR

WSG1812X-PWR

WSG1840X

EWP-WSG1808X-PWR

EWP-WSG1808X-PWR-JP

EWP-WSG1812X-PWR

EWP-WSG1840X

1

Usage guidelines

When you create a Layer 2 aggregate interface, the system automatically creates a Layer 2 aggregation group with the same number. The aggregation group operates in static aggregation mode by default.

Deleting a Layer 2 aggregate interface also deletes the Layer 2 aggregation group. At the same time, the member ports of the aggregation group, if any, leave the aggregation group.

Examples

# Create Layer 2 aggregate interface Bridge-Aggregation 1, and enter its view.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1]

# Create a configuration profile p1 and enter the Layer 2 aggregate interface Bridge-Aggregation 1 view.

<Sysname> system-view

[Sysname] configuration profile p1 model WA6320

[Sysname-config-profile-p1] interface bridge-aggregation 1

[Sysname-config-profile-p1-Bridge-Aggregation1]

jumboframe enable

Use jumboframe enable to allow the jumbo frames on an interface to pass through.

Use undo jumboframe enable to deny jumbo frames on an interface.

Use undo jumboframe enable size to restore the default.

Syntax

jumboframe enable [ size ]

undo jumboframe enable [ size ]

Default

An aggregate interface allows jumbo frames with a maximum length of 9216 bytes to pass through.

An aggregate interface allows jumbo frames with a maximum length of 2048 bytes to pass through.

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

size: Specifies the maximum length of jumbo frames, in bytes. The value of this argument is fixed at 2048.

Usage guidelines

If you execute this command multiple times, the most recent configuration takes effect.

Examples

# Allow jumbo frames to pass through on Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> System-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] jumboframe enable

 

lacp default-selected-port disable

Use lacp default-selected-port disable to disable the default port selection action for dynamic aggregation groups.

Use undo lacp default-selected-port disable to enable the default port selection action for dynamic aggregation groups.

Syntax

lacp default-selected-port disable

undo lacp default-selected-port disable

Default

The default port selection action is enabled for dynamic aggregation groups.

Views

System view

Predefined user roles

network-admin

Usage guidelines

The default port selection action applies to dynamic aggregation groups.

This action automatically chooses the port with the lowest ID from among all up member ports as a Selected port if none of them has received LACPDUs before the LACP timeout interval expires.

After this action is disabled, a dynamic aggregation group will not have any Selected ports to forward traffic if it has not received LACPDUs before the LACP timeout interval expires.

Examples

# Disable the default port selection action.

<Sysname> system-view

[Sysname] lacp default-selected-port disable

lacp edge-port

Use lacp edge-port to configure an aggregate interface as an edge aggregate interface.

Use undo lacp edge-port to restore the default.

Syntax

lacp edge-port

undo lacp edge-port

Default

An aggregate interface does not operate as an edge aggregate interface.

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Usage guidelines

Use this command on the aggregate interface that connects the device to a server if dynamic link aggregation is configured only on the device. This feature improves link reliability by enabling all member ports of the aggregation group to forward packets.

This command takes effect only on an aggregate interface corresponding to a dynamic aggregation group.

Link-aggregation traffic redirection cannot operate correctly on an edge aggregate interface.

Examples

# Configure Layer 2 aggregate interface Bridge-Aggregation 1 as an edge aggregate interface.

<Sysname> System-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] lacp edge-port

lacp mode

Use lacp mode passive to configure LACP to operate in passive mode on a port.

Use undo lacp mode to restore the default.

Syntax

lacp mode passive

undo lacp mode

Default

LACP operates in active mode on a port.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

This command takes effect only on member ports of dynamic aggregation groups.

When LACP is operating in passive mode on a local member port and its peer port, both ports cannot send LACPDUs. When LACP is operating in active mode on either end of a link, both ports can send LACPDUs.

Examples

# Configure LACP to operate in passive mode on GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] lacp mode passive

lacp period short

Use lacp period short to enable the short LACP timeout interval (3 seconds) on an interface.

Use undo lacp period to restore the default.

Syntax

lacp period short

undo lacp period

Default

The LACP timeout interval is the long timeout interval (90 seconds) on an interface.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Examples

# Enable the short LACP timeout interval (3 seconds) on GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] lacp period short

lacp system-priority

Use lacp system-priority to set the system LACP priority.

Use undo lacp system-priority to restore the default.

Syntax

lacp system-priority priority

undo lacp system-priority

Default

The system LACP priority is 32768.

Views

System view

Predefined user roles

network-admin

Parameters

priority: Specifies the system LACP priority in the range of 0 to 65535. The smaller the value, the higher the system LACP priority.

Examples

# Set the system LACP priority to 64.

<Sysname> system-view

[Sysname] lacp system-priority 64

Related commands

link-aggregation port-priority

link-aggregation auto-aggregation enable

Use link-aggregation auto-aggregation enable to enable automatic link aggregation.

Use undo link-aggregation auto-aggregation enable to disable automatic link aggregation.

Syntax

link-aggregation auto-aggregation enable

undo link-aggregation auto-aggregation enable

Default

Automatic link aggregation is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

After you enable automatic link aggregation and LLDP on two connected devices, they automatically establish a dynamic link aggregation based on the information in incoming LLDP frames. The devices each automatically create a dynamic aggregate interface and assign the redundant ports connected to the peer to the aggregation group of that interface. If you disable LLDP or automatic link aggregation on one device, that device removes the aggregation member ports from the aggregation group, but it will retain the aggregate interface. This event will not trigger member port removal actions on the peer device.

To ensure correct operation of an automatically created aggregate interface, do not modify the configuration on the member ports of its aggregation group. Doing so might cause the member ports to be removed from the aggregation group.

On an interface, the port link-aggregation group setting takes precedence over automatic link aggregation. The interface will not be added to the aggregation group of an automatically created aggregate interface if it has been the member port of a manually created aggregate interface.

Examples

# Enable automatic link aggregation.

<Sysname> system

[Sysname] link-aggregation auto-aggregation enable

Related commands

lldp enable

lldp global enable

port link-aggregation group

link-aggregation global load-sharing mode

Use link-aggregation global load-sharing mode to set the global link-aggregation load sharing mode.

Use undo link-aggregation global load-sharing mode to restore the default.

Syntax

link-aggregation global load-sharing mode { destination-ip | destination-mac | destination-port | ingress-port | source-ip | source-mac | source-port | vlan-id }

undo link-aggregation global load-sharing mode

Default

The system automatically chooses a load sharing mode depending on the packet type.

Views

System view

Predefined user roles

network-admin

Parameters

destination-ip: Distributes traffic based on destination IP addresses.

destination-mac: Distributes traffic based on destination MAC addresses.

destination-port: Distributes traffic based on destination ports.

ingress-port: Distributes traffic based on ingress ports.

source-ip: Distributes traffic based on source IP addresses.

source-mac: Distributes traffic based on source MAC addresses.

source-port: Distributes traffic based on source ports.

vlan-id: Distributes traffic based on VLAN IDs.

Usage guidelines

If you execute this command multiple times, the most recent configuration takes effect.

Any combination of the global load sharing modes is supported on the device.

Examples

# Set the global load sharing mode to load share packets based on destination MAC addresses.

<Sysname> system-view

[Sysname] link-aggregation global load-sharing mode destination-mac

Related commands

link-aggregation load-sharing mode

 

link-aggregation ignore vlan

Use link-aggregation ignore vlan to configure a Layer 2 aggregate interface to ignore the specified VLANs.

Use undo link-aggregation ignore vlan to remove the specified ignored VLANs for a Layer 2 aggregate interface.

Syntax

link-aggregation ignore vlan vlan-id-list

undo link-aggregation ignore vlan vlan-id-list

Default

A Layer 2 aggregate interface does not ignore any VLANs.

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN ID or a range of VLAN IDs in the form of vlan-id1 to vlan-id2. The value range for VLAN IDs is 1 to 4094. The value for the vlan-id2 argument must be equal to or greater than the value for the vlan-id1 argument.

Usage guidelines

This command takes effect only when the link type of the Layer 2 aggregate interface is hybrid or trunk.

With this command configured, a Layer 2 aggregate interface ignores the permitted VLAN and VLAN tagging mode configuration of the specified VLANs when choosing Selected ports.

Examples

# Configure Layer 2 aggregate interface bridge-aggregation 1 to ignore VLAN 50.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] link-aggregation ignore vlan 50

link-aggregation lacp isolate

Use link-aggregation lacp isolate to isolate aggregate interfaces on the device.

Use undo link-aggregation lacp isolate to remove aggregate interface isolation.

Syntax

link-aggregation lacp isolate

undo link-aggregation lacp isolate

Default

Aggregate interfaces are not isolated.

Views

System view

Predefined user roles

network-admin

Usage guidelines

Aggregate interface isolation gracefully changes member ports of all dynamic aggregate interfaces to Unselected state. The member ports of the counterpart aggregation groups will also be placed in Unselected state.

This feature takes effect only on dynamic aggregate interfaces. It cannot isolate static aggregate interfaces.

Examples

# Isolate aggregate interfaces.

<Sysname> system-view

[Sysname] link-aggregation lacp isolate

link-aggregation lacp traffic-redirect-notification enable

Use link-aggregation lacp traffic-redirect-notification enable to enable link-aggregation traffic redirection.

Use undo link-aggregation lacp traffic-redirect-notification enable to disable link-aggregation traffic redirection.

Syntax

link-aggregation lacp traffic-redirect-notification enable

undo link-aggregation lacp traffic-redirect-notification enable

Default

Link-aggregation traffic redirection is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This feature redirects traffic on a Selected port to the remaining available Selected ports of an aggregation group if the port is shut down by using the shutdown command.

 

 

NOTE:

The device does not redirect traffic to member ports that become Selected during the traffic redirection process.

 

This feature ensures zero packet loss for known unicast traffic, but does not protect unknown unicast traffic.

This feature applies only to dynamic link aggregation groups.

To prevent traffic interruption, enable link-aggregation traffic redirection on devices at both ends of the aggregate link.

Link-aggregation traffic redirection cannot operate correctly on an edge aggregate interface.

Examples

# Enable link-aggregation traffic redirection.

<Sysname> system-view

[Sysname] link-aggregation lacp traffic-redirect-notification enable

link-aggregation load-sharing mode

Use link-aggregation load-sharing mode to set the link-aggregation load sharing mode for an aggregation group.

Use undo link-aggregation load-sharing mode to restore the default.

Syntax

link-aggregation load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *

undo link-aggregation load-sharing mode

Default

An aggregation group uses the global link-aggregation load sharing mode.

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

destination-ip: Distributes traffic based on destination IP addresses.

destination-mac: Distributes traffic based on destination MAC addresses.

source-ip: Distributes traffic based on source IP addresses.

source-mac: Distributes traffic based on source MAC addresses.

Usage guidelines

If you execute this command multiple times, the most recent configuration takes effect.

If an unsupported load sharing mode is set, the device displays an error message.

Any combination of the load sharing modes configured on aggregate interfaces is supported on the device.

Examples

# Configure Layer 2 aggregation group 1 to load share packets based on destination MAC addresses.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] link-aggregation load-sharing mode destination-mac

Related commands

link-aggregation global load-sharing mode

 

link-aggregation mode

Use link-aggregation mode dynamic to configure an aggregation group to operate in dynamic aggregation mode and enable LACP.

Use undo link-aggregation mode to restore the default.

Syntax

link-aggregation mode dynamic

undo link-aggregation mode

Default

An aggregation group operates in static aggregation mode.

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Usage guidelines

Aggregation mode change might cause Selected member ports to become Unselected.

When you change the aggregation mode, make sure you understand the impact of the change on services.

Examples

# Configure Layer 2 aggregation group 1 to operate in dynamic aggregation mode.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] link-aggregation mode dynamic

link-aggregation port-priority

Use link-aggregation port-priority to set the port priority of an interface.

Use undo link-aggregation port-priority to restore the default.

Syntax

link-aggregation port-priority priority

undo link-aggregation port-priority

Default

The port priority of an interface is 32768.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

priority: Specifies the port priority in the range of 0 to 65535. The smaller the value, the higher the port priority.

Examples

# Set the port priority to 64 for Layer 2 Ethernet interface GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] link-aggregation port-priority 64

Related commands

lacp system-priority

link-aggregation selected-port maximum

Use link-aggregation selected-port maximum to set the maximum number of Selected ports allowed in an aggregation group.

Use undo link-aggregation selected-port maximum to restore the default.

Syntax

link-aggregation selected-port maximum max-number

undo link-aggregation selected-port maximum

Default

The following compatibility matrixes show the value ranges for this argument:

 

Hardware series

Model

Product code

Value range

WX2500X series

WX2560X

WX2580X

EWP-WX2560X

EWP-WX2580X

8

WX2500X-E series

WX2508X-E

EWP-WX2508X-E

8

 

Hardware series

Model

Product code

Value range

WX2800X series

WX2812X-PWR

WX2860X

WX2880X

EWP-WX2812X-PWR

4

EWP-WX2860X

8

EWP-WX2880X

8

WX1800SG series

·     WSG1808X-PWR

·     WSG1808X-PWR

·     WSG1812X-PWR

·     WSG1840X

·     EWP-WSG1808X-PWR

·     EWP-WSG1808X-PWR-JP

·     EWP-WSG1812X-PWR

·     EWP-WSG1840X

4

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

max-number: Specifies the maximum number of Selected ports allowed in an aggregation group.

The following compatibility matrixes show the value ranges for this argument:

 

Hardware series

Model

Product code

Value range

WX2500X series

WX2560X

WX2580X

EWP-WX2560X

EWP-WX2580X

1 to 8

WX2500X-E series

WX2508X-E

EWP-WX2508X-E

1 to 8

 

Hardware series

Model

Product code

Value range

WX2500X-LI series

·     WX2510X-LI

·     WX2510X-PWR-LI

·     WX2520X-LI

·     WX2540X-LI

·     WX2550X-LI

·     WX2560X-LI

·     WX2580X-LI

·     EWP-WX2510X-LI

·     EWP-WX2510X-PWR-LI

·     EWP-WX2520X-LI

·     EWP-WX2540X-LI

·     EWP-WX2550X-LI

·     EWP-WX2560X-LI

·     EWP-WX2580X-LI

EWP-WX2510X-LI: 1 to 4

EWP-WX2510X-PWR-LI: 1 to 4

EWP-WX2520X-LI: 1 to 8

EWP-WX2540X-LI: 1 to 8

EWP-WX2550X-LI: 1 to 8

EWP-WX2560X-LI: 1 to 8

EWP-WX2580X-LI: 1 to 8

 

Hardware series

Model

Product code

Value range

WX2800X series

WX2812X-PWR

WX2860X

WX2880X

EWP-WX2812X-PWR

1 to 4

EWP-WX2860X

1 to 8

EWP-WX2880X

1 to 8

WSG1800X series

·     WSG1808X-PWR

·     WSG1808X-PWR

·     WSG1812X-PWR

·     WSG1840X

·     EWP-WSG1808X-PWR

·     EWP-WSG1808X-PWR-JP

·     EWP-WSG1812X-PWR

·     EWP-WSG1840X

1 to 4

Usage guidelines

Executing this command might cause some of the Selected ports in an aggregation group to become Unselected ports.

The maximum number of Selected ports allowed in the aggregation groups must be the same for the local and peer ends.

For an aggregation group, the maximum number of Selected ports must be equal to or higher than the minimum number of Selected ports.

The maximum number of Selected ports allowed in an aggregation group is limited by one of the following values, whichever value is smaller:

·     Maximum number set by using the link-aggregation selected-port maximum command.

·     Maximum number of Selected ports allowed by the link aggregation capability.

You can implement backup between two ports by performing the following tasks:

·     Assigning two ports to an aggregation group.

·     Setting the maximum number of Selected ports to 1 for the aggregation group.

Then, only one Selected port is allowed in the aggregation group at any point in time, while the Unselected port acts as a backup port.

Examples

# Set the maximum number of Selected ports to 4 for Layer 2 aggregation group 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] link-aggregation selected-port maximum 4

 

Related commands

link-aggregation selected-port minimum

link-aggregation selected-port minimum

Use link-aggregation selected-port minimum to set the minimum number of Selected ports in an aggregation group.

Use undo link-aggregation selected-port minimum to restore the default.

Syntax

link-aggregation selected-port minimum min-number

undo link-aggregation selected-port minimum

Default

The minimum number of Selected ports in an aggregation group is not specified.

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

min-number: Specifies the minimum number of Selected ports in an aggregation group required to bring up the aggregate interface.

The following compatibility matrixes show the value ranges for this argument:

 

Hardware series

Model

Product code

Value range

WX2500X series

WX2560X

WX2580X

EWP-WX2560X

EWP-WX2580X

1 to 8

WX2500X-E series

WX2508X-E

EWP-WX2508X-E

1 to 8

 

Hardware series

Model

Product code

Value range

WX2800X series

WX2812X-PWR

WX2860X

WX2880X

EWP-WX2812X-PWR

1 to 4

EWP-WX2860X

1 to 8

EWP-WX2880X

1 to 8

WSG1800X series

·     WSG1808X-PWR

·     WSG1808X-PWR

·     WSG1812X-PWR

·     WSG1840X

·     EWP-WSG1808X-PWR

·     EWP-WSG1808X-PWR-JP

·     EWP-WSG1812X-PWR

·     EWP-WSG1840X

1 to 4

Usage guidelines

Executing this command might cause all member ports in the aggregation group to become Unselected ports.

The minimum number of Selected ports allowed in the aggregation groups must be the same for the local and peer ends.

For an aggregation group, the minimum number of Selected ports must be equal to or lower than the maximum number of Selected ports.

Examples

# Set the minimum number of Selected ports to 3 for Layer 2 aggregation group 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] link-aggregation selected-port minimum 3

Related commands

link-aggregation selected-port maximum

link-delay

Use link-delay to set the physical state change suppression interval on an aggregate interface.

Use undo link-delay to restore the default.

Syntax

link-delay [ msec ] delay-time [ mode { up | updown } ]

undo link-delay [ msec ] delay-time [ mode { up | updown } ]

Default

Each time the physical link of an aggregate interface goes up or comes down, the system immediately reports the change to the CPU.

Views

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

msec: Sets the physical state change suppression interval in milliseconds. If you do not specify this keyword, the suppression interval is in seconds.

delay-time: Sets the physical state change suppression interval. To report a physical state change immediately to the CPU, set the interval to 0.

·     If you do not specify the msec keyword, the value range is 0 to 30 seconds.

·     If you specify the msec keyword, the value range is 0 to 10000 milliseconds, and the value must be a multiple of 100.

mode up: Suppresses link-up events.

mode updown: Suppresses both link-up and link-down events.

Usage guidelines

You can configure this feature to suppress only link-down events, only link-up events, or both. If an event of the specified type persists when the suppression interval expires, the system reports the event.

When you configure this feature, follow these guidelines:

·     To suppress only link-down events, use the link-delay [ msec ] delay-time command.

·     To suppress only link-up events, use the link-delay [ msec ] delay-time mode up command.

·     To suppress both link-down and link-up events, use the link-delay [ msec ] delay-time mode updown command.

On an interface, you can configure different suppression intervals for link-up and link-down events. If you execute the link-delay command multiple times for link-up or link-down events, the most recent configuration takes effect.

Examples

# Set the link-down event suppression interval to 8 seconds on Bridge-Aggregation 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] link-delay down 8

 

port link-aggregation group

Use port link-aggregation group to assign an interface to an aggregation group.

Use undo port link-aggregation group to remove an interface from the aggregation group to which it belongs.

Syntax

port link-aggregation group group-id

undo port link-aggregation group

Default

An interface does not belong to any aggregation group.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

group-id: Specifies an aggregation group by its aggregate interface number. The value range for the group-id argument varies by device model.

The following compatibility matrixes show the value ranges for this argument:

 

Hardware series

Model

Product code

Value range

WX2500X series

·     WX2560X

·     WX2580X

·     EWP-WX2560X

·     EWP-WX2580X

1 to 4

WX2500X-E series

WX2508X-E

EWP-WX2508X-E

1 to 4

 

Hardware series

Model

Product code

Value range

WX2500X-LI series

·     WX2510X-LI

·     WX2510X-PWR-LI

·     WX2520X-LI

·     WX2540X-LI

·     WX2550X-LI

·     WX2560X-LI

·     WX2580X-LI

·     EWP-WX2510X-LI

·     EWP-WX2510X-PWR-LI

·     EWP-WX2520X-LI

·     EWP-WX2540X-LI

·     EWP-WX2550X-LI

·     EWP-WX2560X-LI

·     EWP-WX2580X-LI

EWP-WX2510X-LI: 1

EWP-WX2510X-PWR-LI: 1

EWP-WX2520X-LI: 1 to 4

EWP-WX2540X-LI: 1 to 4

EWP-WX2550X-LI: 1 to 4

EWP-WX2560X-LI: 1 to 4

EWP-WX2580X-LI: 1 to 4

 

Hardware series

Model

Product code

Value range

WX2800X series

·     WX2812X-PWR

·     WX2860X

·     WX2880X

·     EWP-WX2812X-PWR

·     EWP-WX2860X

·     EWP-WX2880X

EWP-WX2812X-PWR: 1

EWP-WX2860X: 1 to 4

EWP-WX2880X: 1 to 4

WSG1800X series

·     WSG1808X-PWR

·     WSG1808X-PWR

·     WSG1812X-PWR

·     WSG1840X

·     EWP-WSG1808X-PWR

·     EWP-WSG1808X-PWR-JP

·     EWP-WSG1812X-PWR

·     EWP-WSG1840X

1

 

Usage guidelines

You can assign a Layer 2 Ethernet interface only to a Layer 2 aggregation group.

An interface can belong to only one aggregation group.

Examples

# Assign Layer 2 Ethernet interface GigabitEthernet 1/0/1 to Layer 2 aggregation group 1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

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

 

reset counters interface

Use reset counters interface to clear statistics about the specified aggregate interfaces.

Syntax

reset counters interface [ bridge-aggregation [ interface-number ] ]

Views

User view

Predefined user roles

network-admin

Parameters

bridge-aggregation: Specifies Layer 2 aggregate interfaces.

interface-number: Specifies an existing aggregate interface number.

Usage guidelines

Use this command to clear history statistics before you collect traffic statistics for a time period.

If you do not specify an aggregate interface type, the command clears statistics about all interfaces in the system except VA interfaces.

If you specify only an aggregate interface type, the command clears statistics about all aggregate interfaces of the specified type.

The bridge-aggregation keyword is available only when Layer 2 aggregate interfaces exist on the device.

Examples

# Clear the statistics about interface Bridge-Aggregation 1.

<Sysname> reset counters interface bridge-aggregation 1

 

reset lacp statistics

Use reset lacp statistics to clear LACP statistics about the specified link aggregation member ports.

Syntax

reset lacp statistics [ interface interface-list ]

Views

User view

Predefined user roles

network-admin

Parameters

interface interface-list: Specifies a list of link aggregation member ports, in the format interface-type interface-number1 [ to interface-type interface-number2 ]. The value for the interface-number1 argument must be equal to or greater than the value for the interface-number2 argument. If you do not specify any member ports, the command clears LACP statistics about all member ports.

Examples

# Clear LACP statistics about all link aggregation member ports.

<Sysname> reset lacp statistics

Related commands

display link-aggregation member-port

shutdown

Use shutdown to shut down an interface.

Use undo shutdown to bring up an interface.

Syntax

shutdown

undo shutdown

Views

Layer 2 aggregate interface view

Layer 2 aggregate interface view (in configuration profile)

Predefined user roles

network-admin

Examples

# Bring up Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] undo shutdown

# Create a configuration profile p1 and bring up the Layer 2 aggregate interface Route-Aggregation 1.

<Sysname> system-view

[Sysname] configuration profile p1 model WA6320

[Sysname-config-profile-p1] interface bridge-aggregation 1

[Sysname-config-profile-p1-Bridge-Aggregation1] undo shutdown

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
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
新华三官网