02-Layer 2 Command Reference

HomeSupportWirelessH3C WX3000E Series Wireless SwitchesReference GuidesCommand ReferencesH3C WX3000E Series Wireless Switches Switching Engine Command References(R3507P26)-6W10202-Layer 2 Command Reference
04-Ethernet Link Aggregation Commands
Title Size Download
04-Ethernet Link Aggregation Commands 129.69 KB

 

 

NOTE:

·       The term "switch" or "device" in this document refers to the switching engine on a WX3000E wireless switch.

·       The WX3000E series comprises WX3024E and WX3010E wireless switches.

·       The port numbers in this document are for illustration only.

 

description

Syntax

description text

undo description

View

Layer 2 aggregate interface view

Default level

2: System level

Parameters

text: Specifies the interface description, a string of 1 to 80 characters.

Description

Use the description command to configure a description for an interface. Fore example, you can include information such as the purpose of the interface for the ease of management.

Use the undo description command to restore the default setting.

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

Examples

# Set the description of Layer 2 aggregate interface Bridge-Aggregation 1 to connect to the lab.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

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

display interface bridge-aggregation

Syntax

display interface bridge-aggregation [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]

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

View

Any view

Default level

1: Monitor level

Parameters

interface-number: Specifies an existing aggregate interface number. The value range for the interface-number argument is the set of all existing aggregate interface numbers.

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

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

|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.

Description

Use the display interface command to display aggregate interface information.

If interface-number is not specified, this command displays information about all interfaces.

If interface-number is specified, this command displays information about the specified aggregate interface.

Examples

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

<Sysname> display interface bridge-aggregation 1

Bridge-Aggregation1 current state: UP

 IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: ffff-ffff-fffc

 Description: Bridge-Aggregation1 Interface

 2Gbps-speed mode, full-duplex mode

 Link speed type is autonegotiation, link duplex type is autonegotiation

 PVID: 1

 Port link-type: access

  Tagged   VLAN ID : none

  Untagged VLAN ID : 1

Last clearing of counters:  Never

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

<Sysname> display interface bridge-aggregation 1 brief

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

Link: ADM - administratively down; Stby - standby

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

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

Interface            Link Speed   Duplex Type PVID Description

BAGG1                UP   2G(a)   F(a)   A    1

# Display information about all Layer 2 aggregate interfaces in DOWN state.

<Sysname> display interface bridge-aggregation brief down

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

Link: ADM - administratively down; Stby - standby

Interface            Link Cause

BAGG1                ADM  Administratively

Table 1 Output description

Field

Description

Bridge-Aggregation1 current state

The Layer 2 interface status, which can be:

·       DOWN ( Administratively )—The interface is administratively shut down with the shutdown command.

·       DOWN—The interface is administratively up but physically down (possibly because no physical link is present or the link is faulty).

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

1Gbps-speed mode, full-duplex mode

The interface speed is 1Gbps, and duplex mode is full-duplex

PVID

The default VLAN ID.

Last clearing of counters

Time when the reset counters interface command was last used to clear the interface statistics.

Never indicates the reset counters interface command has never been used on the interface since the device’s startup.

The brief information of interface(s) under bridge mode

Brief information about Layer 2 interfaces.

Link: ADM - administratively down; Stby - standby

Link status:

·       ADM—The interface has been administratively shut down. To recover its physical layer state, perform the undo shutdown command.

·       Stby—The interface is operating as a backup interface. To see the primary interface, use the display standby state command.

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

If the speed of an interface is automatically negotiated, its speed attribute includes the auto negotiation flag, letter a in parentheses.

If the duplex mode of an interface is automatically negotiated, its duplex mode attribute includes the auto negotiation flag, letter a in parentheses or a capital A. Letter H indicates the half duplex mode, and letter F indicates the full duplex mode.

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

Link type options for Ethernet interfaces.

Interface

The abbreviated interface name.

Link

The physical link state of the interface.

Speed

The interface speed, in bps.

Cause

The cause of a DOWN physical link.

 

display lacp system-id

Syntax

display lacp system-id [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.

Description

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

The system ID comprises the system LACP priority and the system MAC address.

You can use the lacp system-priority command to change the LACP priority of the local system. Although you specify the LACP priority value in decimal format in the lacp system-priority command, it is displayed as a hexadecimal value with the display lacp system-id command.

Related commands: lacp system-priority.

Examples

# Display the local system ID.

<Sysname> display lacp system-id

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

Table 2 Output description

Field

Description

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

The local system ID, which comprises the system LACP priority (0x8000 in this sample output) and the system MAC address (0000-fc00-6504 in this sample output).

 

display link-aggregation load-sharing mode

Syntax

display link-aggregation load-sharing mode [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.

Description

Use the display link-aggregation load-sharing mode command to display global link-aggregation load sharing criterion or criteria.

To display the global link-aggregation load sharing criterion or criteria, run the command without the interface keyword.

To display all the group-specific load sharing criteria, run the command with the interface keyword, but do not specify a particular interface.

To display the load sharing criterion or criteria of a particular aggregation group, perform the command with the aggregate interface specified.

The bridge-aggregation or route-aggregation keyword becomes available only after you create aggregate interfaces on the device.

Examples

# Display the default global link-aggregation load sharing criteria.

<Sysname> display link-aggregation load-sharing mode

 

Link-Aggregation Load-Sharing Mode:

Layer 2 traffic: destination-mac address, source-mac address

Layer 3 traffic: destination-mac address, source-mac address,

                 destination-ip address,  source-ip address

# Display the configured global link-aggregation load sharing criteria.

<Sysname> display link-aggregation load-sharing mode

 

Link-Aggregation Load-Sharing Mode:

  destination-mac address, source-mac address

Table 3 Output description

Field

Description

Link-Aggregation Load-Sharing Mode

The global link-aggregation load sharing criteria.

·       By default, the link-aggregation load sharing criteria for Layer 2 traffic, and Layer 3 traffic are displayed.

·       If you have configured the global link-aggregation load sharing criteria, the configured ones are displayed.

Layer 2 traffic: destination-mac address, source-mac address

The default link-aggregation load sharing criteria for Layer 2 traffic: the source and destination MAC addresses of packets.

Layer 3 traffic: destination-ip address,  source-ip address

                 destination-ip address,  source-ip address

The default link-aggregation load sharing criteria for Layer 3 traffic: the source and destination MAC addresses of packets, the source and destination IP addresses of packets.

destination-mac address, source-mac address

The user-configured link-aggregation load sharing criteria. In this sample output, the criteria are the source and destination MAC addresses of packets.

 

display link-aggregation member-port

Syntax

display link-aggregation member-port [ interface-list ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface-list: Specifies a list of link aggregation member ports, in the format interface-type interface-number [ to interface-type interface-number ], where interface-type interface-number indicates the port type and port number.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.

Description

Use the display link-aggregation member-port command to display detailed link aggregation information for the specified member ports. If no port is specified, this command displays detailed link aggregation information for all member ports.

For a member port in a static aggregation group, which is unaware of information about the peer groups, this command displays only the port number and operational key.

Examples

# Display detailed link aggregation information for GigabitEthernet 1/0/1, 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:

Aggregation Interface: Bridge-Aggregation1

Port Number: 1

Port Priority: 32768

Oper-Key: 1

# Display detailed link aggregation information for GigabitEthernet 1/0/2, 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:

Aggregation Interface: Bridge-Aggregation10

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 Output description

Field

Description

Flags

LACP state flags:

·       A—LACP is enabled.

·       B—Indicates the LACP short timeout.

·       C—The sending system detects that the link is aggregatable.

·       D—The sending system detects that the link is synchronized.

·       E—The sending system detects that the incoming frames are collected.

·       F—The sending system detects that the outgoing frames are distributed.

·       G—The sending system receives frames in the default state.

·       H—The sending system receives frames in the expired state.

Aggregation Interface

Aggregate interface to which the member port belongs.

Local

Information about the local end.

Port Priority

Aggregation priority of the port.

Oper-key

Operational key.

Flag

LACP protocol state flag.

Remote

Information about the remote end.

System ID

The remote end system ID, comprising 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

Syntax

display link-aggregation summary [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.

Description

Use the display link-aggregation summary command to display the summary information for all aggregation groups.

Information about the remote system for a static link aggregation group may be either displayed as none or not displayed, because static link aggregation groups are unaware of information about the peer groups.

Examples

# Display the summary information for all aggregation groups.

<Sysname> display link-aggregation summary

 

Aggregation Interface Type:

BAGG -- Bridge-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               Select Unselect   Share

Interface   Mode                               Ports  Ports      Type

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

BAGG1       S         none                     1      0          Shar

BAGG10      D         0x8000, 000f-e267-57ad   2      0          Shar

Table 5 Output description

Field

Description

Aggregation Interface Type

Aggregate interface type:

·       BAGG—Layer 2 aggregate interface.

·       RAGG—Layer 3 aggregate interface.

Aggregation Mode

Aggregation group type:

·       S—Static link aggregation.

·       D—Dynamic aggregation.

Loadsharing Type

Load sharing type:

·       Shar—Load sharing.

·       NonS—Non-load sharing.

Actor System ID

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

AGG Interface

Type and number of the aggregate interface.

AGG Mode

Aggregation group type.

Partner ID

System ID of the partner, which comprises the system LACP priority and the system MAC address.

Select Ports

Total number of Selected ports.

Unselect Ports

Total number of Unselected ports.

Share Type

Load sharing type.

 

display link-aggregation verbose

Syntax

display link-aggregation verbose [ bridge-aggregation [ interface-number ] ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

bridge-aggregation: Displays detailed information about the Layer 2 aggregation groups corresponding to Layer 2 aggregate interfaces.

interface-number: Specifies an existing aggregate interface number.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.

Description

Use the display link-aggregation verbose command to display detailed information about the aggregation groups corresponding to the aggregate interfaces.

To display the information about a specific aggregation group, use the display link-aggregation verbose bridge-aggregation interface-number command.

To display the information about all aggregation groups, use the display link-aggregation verbose bridge-aggregation or display link-aggregation verbose command.

The bridge-aggregation keyword is available only after you create the aggregate interfaces on the device.

Examples

# Display detailed information about the aggregation group corresponding to Layer 2 aggregate interface Bridge-Aggregation 10, which is a dynamic aggregation group.

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

 

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

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

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

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

        G -- Defaulted, H -- Expired

 

Aggregation Interface: Bridge-Aggregation10

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}

Remote:

  Actor            Partner Priority Oper-Key  SystemID               Flag

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

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

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

# Display detailed information about the aggregation group corresponding to the aggregate interface Bridge-Aggregation 10, which is a static aggregation group.

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

 

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

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

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

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

        G -- Defaulted, H -- Expired

 

Aggregation Interface: Bridge-Aggregation10

Aggregation Mode: Static

Loadsharing Type: NonS

  Port             Status  Priority  Oper-Key

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

  GE1/0/1           U       32768     1

  GE1/0/2           U       32768     1

  GE1/0/3           U       63        1

Table 6 Output description

Field

Description

Loadsharing Type

Load sharing type:

·       Shar—Load sharing.

·       NonS—Non-load sharing.

Port Status

Port state: Selected or unselected.

Flags

LACP state flags:

·       A—LACP is enabled.

·       B—Indicates the LACP short timeout.

·       C—The sending system detects that the link is aggregatable.

·       D—The sending system detects that the link is synchronized.

·       E—The sending system detects that the incoming frames are collected.

·       F—The sending system detects that the outgoing frames are distributed.

·       G—The sending system receives frames in the default state.

·       H—The sending system receives frames in the expired state.

Aggregation Interface

Name of the aggregate interface.

Aggregation Mode

Mode of the aggregation group:

·       Static for static aggregation.

·       Dynamic for dynamic aggregation.

System ID

Local system ID, comprising the system LACP priority and the system MAC address.

Local

Information about the local end.

Port

Port type and number.

Status

Port state: selected or unselected.

Priority

Port aggregation priority.

Oper-Key

Operational key.

Flag

LACP protocol state flag.

Remote

Information about the remote end.

Actor

Local port type and number.

Partner

Remote port index.

 

enable snmp trap updown

Syntax

enable snmp trap updown

undo enable snmp trap updown

View

Layer 2 aggregate interface view

Default level

2: System level

Parameters

None

Description

Use the enable snmp trap updown command to enable link state trapping for the aggregate interface.

Use the undo enable snmp trap updown command to disable link state trapping for the aggregate interface.

By default, link state trapping is enabled for an aggregate interface.

With the link state trapping function enabled, an aggregate interface generates linkUp trap messages when its link goes up, and linkDown trap messages when its link goes down.

For an aggregate interface to generate linkUp/linkDown traps when its link state changes, you must enable link state trapping globally with the snmp-agent trap enable [ standard [ linkdown | linkup ] * ] command.

For more information about the snmp-agent trap enable command, see the Network Management and Monitoring Command Reference.

Examples

# Enable linkUp/linkDown trap generation on Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> system-view

[Sysname] snmp-agent trap enable

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] enable snmp trap updown

interface bridge-aggregation

Syntax

interface bridge-aggregation interface-number

undo interface bridge-aggregation interface-number

View

System view

Default level

2: System level

Parameters

interface-number: Specifies a Layer 2 aggregate interface number, which ranges from 1 to 16.

Description

Use the interface bridge-aggregation command to create a Layer 2 aggregate interface and enter the Layer 2 aggregate interface view.

Use the undo interface bridge-aggregation command to remove a Layer 2 aggregate interface.

When a Layer 2 aggregate interface is created, a Layer 2 aggregation group with the same number is automatically created. If you remove the Layer 2 aggregate interface, you also remove the Layer 2 aggregation group, and any member ports will 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]

lacp period short

Syntax

lacp period short

undo lacp period

View

Ethernet interface view

Default level

2: System level

Parameters

None

Description

Use the lacp period short command to set the LACP timeout interval on a port to the short timeout interval (1 second).

Use the undo lacp period command to restore the default setting.

The default LACP timeout interval is the long timeout interval (30 seconds).

Examples

# Set the LACP timeout interval on GigabitEthernet 1/0/1 to the short timeout interval (1 second).

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

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

lacp system-priority

Syntax

lacp system-priority system-priority

undo lacp system-priority

View

System view

Default level

2: System level

Parameters

system-priority: Specifies the LACP priority of the local system, ranging from 0 to 65535. The smaller the value, the higher the system LACP priority.

Description

Use the lacp system-priority command to set the LACP priority of the local system.

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

By default, the system LACP priority is 32768.

Examples

# Set the system LACP priority to 64.

<Sysname> system-view

[Sysname] lacp system-priority 64

link-aggregation load-sharing mode

Syntax

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

undo link-aggregation load-sharing mode

View

System view

Default level

2: System level

Parameters

destination-ip: Performs load sharing in link aggregation groups based on destination IP address.

destination-mac: Performs load sharing in link aggregation groups based on destination MAC address.

destination-port: Performs load sharing in link aggregation groups based on destination port.

source-ip: Performs load sharing in link aggregation groups based on source IP address.

source-mac: Performs load sharing in link aggregation groups based on source MAC address.

source-port: Performs load sharing in link aggregation groups based on source port.

Description

Use the link-aggregation load-sharing mode command to configure the global or group-specific link-aggregation load sharing criteria.

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

By default, the default link-aggregation load sharing criteria are source/destination MAC address for Layer 2 packets, and source/destination MAC address and source/destination IP address for Layer 3 packets.

The load sharing criteria that you configure will overwrite the previous criteria.

Examples

# Configure the destination MAC address as the global link-aggregation load sharing criterion.

<Sysname> system-view

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

link-aggregation mode

Syntax

link-aggregation mode dynamic

undo link-aggregation mode

View

Layer 2 aggregate interface view

Default level

2: System level

Parameters

None

Description

Use the link-aggregation mode dynamic command to configure an aggregation group to work in dynamic aggregation mode.

Use the undo link-aggregation mode command to restore the default setting.

By default, an aggregation group works in static aggregation mode.

To change the aggregation mode of an aggregation group that contains member ports, remove all the member ports from the aggregation group first.

Examples

# Configure the aggregation group corresponding to Bridge-Aggregation 1 to work in dynamic aggregation mode.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

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

link-aggregation port-priority

Syntax

link-aggregation port-priority port-priority

undo link-aggregation port-priority

View

Ethernet interface view

Default level

2: System level

Parameters

port-priority: Specifies a port aggregation priority, ranging from 0 to 65535. The smaller the value, the higher the port aggregation priority.

Description

Use the link-aggregation port-priority command to set the aggregation priority of a port.

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

The default aggregation priority of a port is 32768.

Examples

# Set the aggregation priority of port GigabitEthernet 1/0/1 to 64.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

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

port link-aggregation group

Syntax

port link-aggregation group number

undo port link-aggregation group

View

Ethernet interface view

Default level

2: System level

Parameters

number: Specifies the number of the aggregate interface corresponding to an aggregation group, ranges from 1 to 26.

Description

Use the port link-aggregation group command to assign the Ethernet interface to the specified aggregation group.

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

An Ethernet interface can belong to only one aggregation group.

Examples

# Assign interface GigabitEthernet 1/0/1 to aggregation group 1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

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

reset counters interface bridge-aggregation

Syntax

reset counters interface bridge-aggregation [ interface-number ]

View

User view

Default level

2: System level

Parameters

interface-number: Specifies an aggregate interface number. If the interface-number argument is not specified, this command clears statistics of all aggregate interfaces.

Description

Use the reset counters interface command to clear the statistics of the specified aggregate interface or interfaces.

Before collecting statistics for an aggregate interface within a specific period, clear the existing statistics of the interface.

Examples

# Clear the statistics of interface Bridge-Aggregation 1.

<Sysname> reset counters interface bridge-aggregation 1

reset lacp statistics

Syntax

reset lacp statistics [ interface interface-list ]

View

User view

Default level

1: Monitor level

Parameters

interface-list: Specifies a list of link aggregation member ports, in the format interface-type interface-number [ to interface-type interface-number ], where interface-type interface-number indicates the port type and port number.

Description

Use the reset lacp statistics command to clear the LACP statistics on the specified member ports or all member ports, if no member ports are specified.

Related commands: display link-aggregation member-port.

Examples

# Clear the LACP statistics on all link aggregation member ports.

<Sysname> reset lacp statistics

shutdown

Syntax

shutdown

undo shutdown

View

Layer 2 aggregate interface view

Default level

2: System level

Parameters

None

Description

Use the shutdown command to shut down the aggregate interface.

Use the undo shutdown command to bring up the aggregate interface.

By default, aggregate interfaces are up.

Examples

# Shut down interface Bridge-Aggregation 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] 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
新华三官网