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

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release2132[V2.03]-01 IP Access Volume
04-Link Aggregation Commands
Title Size Download
04-Link Aggregation Commands 82.87 KB

Chapter 1  Link Aggregation Configuration Commands

1.1  Link Aggregation Configuration Commands

1.1.1  debugging lacp packet

Syntax

debugging lacp packet [ interface interface-type interface-number [ to interface-type interface-number ] ]

undo debugging lacp packet [ interface interface-type interface-number [ to interface-type interface-number ] ]

View

User view

Default Level

1: Monitor level

Parameters

interface-type interface-number: Port type and port number.

to: Specifies a port index range, with the two interface-type interface-number argument pairs around it as the two ends.

Description

Use the debugging lacp packet command to enable debugging for LACP packets on specific ports.

Use the undo debugging lacp packet command to disable LACP packet debugging on specific ports.

By default, the debugging for LACP packets is disabled.

If no port is specified, these two commands apply to all the ports with the LACP enabled.

Table 1-1 Description on the fields of the debugging lacp packet command

Field

Description

size

Size of an LACP protocol packet, which is 128 bytes.

subtype

Protocol subtype of an LACP packet, which is 1 for LACP packets.

version

Protocol version. A value of 1 indicates LACP.

Actor

Local port information contained in a protocol packet, in which:

l      tlv being 1 indicates that the information displayed is about the local port.

l      len indicates the length of the information.

l      sys-pri indicates the local system LACP priority.

l      sys-mac indicates the local system MAC address.

l      key indicates the operation key value assigned to the local port.

l      pri indicates the LACP priority of the local port.

l      p indicates the local port number.

l      state indicates the current LACP state of the local port.

Partner

Remote port information contained in a protocol packet and saved in the local system, in which:

l      tlv being 2 indicates that the information displayed is the remote port information saved in the local system.

l      len indicates the length of the information.

l      sys-pri indicates the remote system LACP priority.

l      sys-mac indicates the remote system MAC address.

l      key indicates the operational key value assigned to the remote port.

l      pri indicates the LACP priority of the remote port.

l      p indicates the remote port number.

l      state indicates the current LACP state of the remote port.

Collector

Collector field information contained in a protocol packet, in which:

l      tlv being 3 indicates the Collector field.

l      len indicates the length of the field.

l      col-max-delay indicates the maximum delay.

Terminator

Terminator field information contained in a protocol packet, in which:

l      tlv being 0 indicates the Terminator field, the end of a protocol packet.

l      len indicates the length of the field.

 

Examples

# Enable debugging for LACP packets on port Ethernet 1/1/1.

<Sysname> terminal debugging

<Sysname> debugging lacp packet interface ethernet 1/1/1

*Mar 26 14:18:10:635 2007 Sysname LAGG/7/Pkt:

 Send LACP Packet via port Ethernet1/1/1

// An LACP packet was sent through Ethernet 1/1/1.

*Mar 26 14:18:11:635 2007 Sysname LAGG/7/Pkt:

 size=128, subtype =1, version=1

// The size of the packet is 128 bytes. The protocol subtype and the protocol version are all 1.

 Actor: tlv=1, len=20, sys-pri=0x8000, sys-mac=00e0-fc02-0300, key=0x1, pri=0x8000, p=0x2, state=0x45

// The information about the local port carried in the packet is as follows.

l           Length of the information:20

l           Local system LACP priority: 0x8000

l           Local system MAC address: 00e0-fc02-0300

l           Operation key value assigned to the local port: 0x1

l           LACP priority of the local port: 0x8000

l           Local port number: 0x2

l           Current LACP state of the local port: 0x45

 Partner: tlv=2, len=20, sys-pri=0x0, sys-mac=0000-0000-0000, key=0x0, pri=0x0, p=0x0, state=0x0

// The information about the remote port carried in the packet is as follows.

l           Length of the information:20

l           Remote system LACP priority: 0x0

l           Remote system MAC address: 0000-0000-0000

l           Operation key value assigned to the remote port: 0x0

l           LACP priority of the remote port: 0x0

l           Remote port number: 0x0

l           Current LACP state of the remote port: 0x0

 Collector: tlv=3, len=16, col-max-delay=0

// Information contained in the Collector field of the packet is as follows.

l           Length of the field: 16

l           Maximum delay: 0

 Terminator: tlv=0, len=0

// The length of the Terminator field of the packet is 0.

*Mar 26 14:18:15:635 2007 Sysname Sysname LAGG/7/Pkt:

 Receive LACP Packet via port Ethernet1/1/1

// A LACP packet was received through Ethernet 1/1/1.

*Mar 26 14:18:18:635 2007 Sysname LAGG/7/Pkt:

 size=128, subtype =1, version=1

// The size of the packet is 128 bytes. The protocol subtype and the protocol version are all 1.

 Actor: tlv=1, len=20, sys-pri=0x8000, sys-mac=00e0-fc00-0000, key=0x1, pri=0x8000, p=0x6, state=0x3d

// The information about the local port carried in the packet is as follows.

l           Length of the information:20

l           Local system LACP priority: 0x8000

l           Local system MAC address: 00e0-fc00-0000

l           Operation key value assigned to the local port: 0x1

l           LACP priority of the local port: 0x8000

l           Local port number: 0x6

l           Current LACP state of the local port: 0x3d

 Partner: tlv=2, len=20, sys-pri=0x8000, sys-mac=00e0-fc02-0300, key=0x1, pri=0x8000, p=0x1, state=0xd

// The information about the remote port carried in the packet is as follows.

l           Length of the information:20

l           Remote system LACP priority: 0x8000

l           Remote system MAC address: 00e0-fc02-0300

l           Operation key value assigned to the remote port: 0x1

l           LACP priority of the remote port: 0x8000

l           Remote port number: 0x1

l           Current LACP state of the remote port: 0xd

 Collector: tlv=3, len=16, col-max-delay=0

// Information contained in the Collector field of the packet is as follows.

l           Length of the field: 16

l           Maximum delay: 0

 Terminator: tlv=0, len=0

// The length of the Terminator field of the packet is 0.

 

&  Note:

Other similar information about LACP packets is omitted here.

 

1.1.2  debugging lacp state

Syntax

debugging lacp state [ interface interface-type interface-number [ to interface-type interface-number ] ] { { actor-churn | mux | partner-churn | ptx | rx } * | all }

undo debugging lacp state [ interface interface-type interface-number [ to interface-type interface-number ] ] { { actor-churn | mux | partner-churn | ptx | rx } * | all }

View

User view

Default Level

1: Monitor level

Parameters

interface-type interface-number: Port type and port number.

to: Specifies a port index range, with the two interface-type interface-number argument pairs around it as the two ends.

actor-churn: Enables/disables debugging for Actor-churn state machine.

mux: Enables/disables debugging for MUX state machine.

partner-churn: Enables/disables debugging for Partner-churn state machine.

ptx: Enables/disables debugging for PTX state machine.

rx: Enables/disables debugging for RX state machine.

all: Enables/disables debugging for all the state machines.

Description

Use the debugging lacp state command to enable debugging for an LACP protocol state machine on specific ports.

Use the undo debugging lacp state command to disable debugging for an LACP protocol state machine on specific ports.

By default, debugging for any of the LACP protocol state machine is disabled.

If no port is specified, these two commands apply to all the ports with the LACP enabled.

Table 1-2 Description on the fields of the debugging lacp state command

Field

Description

from state XXX

The state before a state transition

to state XXX

The state after a state transition

stimulation

The condition that triggers a state transition.

 

Examples

# Enable debugging for RX state machine on port Ethernet 1/1/2.

<Sysname> terminal debugging

<Sysname> debugging lacp state interface ethernet 1/1/2 rx

*Mar 26 14:18:10:635 2007 Sysname LAGG/7/FSM:

 Port Ethernet1/1/2: FSM Rx  transfers from state RESERVE to state INITIALIZE

 by the stimulation Begin_True

// The RX state machine has been initialized to the INITIALIZE state. The condition to the state is Begin_True (indicating the state machine starts).

*Mar 26 14:18:11:635 2007 Sysname LAGG/7/FSM:

Port Ethernet1/1/2: FSM Rx  transfers from state INITIALIZE to state PORT_DISABLED

 by the stimulation UCT

// The RX state machine transited from the INITIALIZE state to the PORT-DISABLED state. The condition to the state is UCT (indicating no condition).

*Mar 26 14:18:11:635 2007 Sysname LAGG/7/FSM:

Port Ethernet1/1/2: FSM Rx transfers from state PORT_DISABLED to state EXPIRED by the stimulation Lacp_Enabled

// The RX state machine transited from the PORT-DISABLED state to the EXPIRED state. The condition to the state is LACP_ENABLED (indicating LACP is enabled).

*Mar 26 14:18:11:635 2007 Sysname LAGG/7/FSM:

 Port Ethernet1/1/2: FSM Rx  transfers from state EXPIRED to state CURRENT

 by the stimulation Pdu_Indicate

// The RX state machine transited from the EXPIRED state to the CURRENT state. The condition to the state is Pdu_Indicate (indicating a protocol packet is received from the peer).

1.1.3  debugging link-aggregation error

Syntax

debugging link-aggregation error

undo debugging link-aggregation error

View

User view

Default Level

1: Monitor level

Parameters

None

Description

Use the debugging link-aggregation error command to enable debugging for link aggregation errors.

Use the undo debugging link-aggregation error command to disable debugging output.

By default, debugging for link aggregation errors is disabled.

Table 1-3 Description on the fields of the debugging link-aggregation error command

Field

Description

File

File where an error is detected

Line

Line in the file where an error is detected.

ERROR

Error description

 

Examples

# Enable debugging for link aggregation errors.

<Sysname> terminal debugging

<Sysname> debugging link-aggregation error

*Mar 26 14:18:10:635 2007 Sysname LAGG/7/lacpErrorEvent:

 File e:\v500d05sp1\software\lacp\lacp_agm.c, Line: 1200

 ERROR------  Portindex: 1   LACP_SendLACPPacket ,g_ucLacpSysMAC NULL !

// An error occurred in the line numbered 1200 of the file e:\v500d05sp1\software\lacp\lacp_agm.c. As indicated by the ERROR field, the system MAC address acquired was null.

1.1.4  debugging link-aggregation event

Syntax

debugging link-aggregation event

undo debugging link-aggregation event

View

User view

Default Level

1: Monitor level

Parameters

None

Description

Use the debugging link-aggregation event command to enable debugging for link aggregation events.

Use the undo debugging link-aggregation event command to disable debugging output.

By default, debugging for link aggregation events is disabled.

Table 1-4 Description on the fields of the debugging link-aggregation event command

Field

Description

Port Index

Index of a port

Agg Index

ID of an aggregation group

Cfg MD5

MD5 summary

Restriction Value

Hardware restriction parameter

Admin Key

Administration key

Port Pri

Port LACP priority

Sys Mac

System MAC address

Sys Pri

System LACP priority

Oper Key

Operational key assigned to a port

Unit Id

ID of a device

 

Examples

# Enable debugging for link aggregation events.

<Sysname> debugging link-aggregation event

<Sysname> terminal debugging

<Sysname> display link-aggregation summary

 

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

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

Actor ID: 0x8000, 00e0-fc57-367f

 

  AL  AL   Partner ID            Select Unselect Share Master

  ID  Type                       Ports  Ports    Type  Port

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

  10  M    none                  1      0        NonS  Ethernet2/1/1

// Link aggregation group 10 exists.

<Sysname> system-view

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

# Remove link aggregation group 10.

[Sysname] undo link-aggregation group 10

*Mar 26 14:18:20:635 2007 Sysname LAGG/7/AggDel:Link Aggregation 10 is deleted.

// Link aggregation group 10 was removed.

*Mar 26 14:18:20:635 2007 Sysname LAGG/7/OperKeyDel:Oper key 1 is deleted.

// The operation key 1, which Ethernet 2/1/1 corresponds to, was removed.

*Mar 26 14:18:21:635 2007 Sysname LAGG/7/AggDel:Slot=2;Link Aggregation 10 is deleted.

// Link aggregation group 10 was removed on the board seated in slot 2.

1.1.5  display lacp system-id

Syntax

display lacp system-id

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display lacp system-id command to display the local system ID (also known as actor system ID), which comprises the system LACP priority and the system MAC address.

Examples

# Display the local system ID.

<Sysname> display lacp system-id

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

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

Field

Description

Actor System ID

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

 

1.1.6  display link-aggregation interface

Syntax

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

View

Any view

Default Level

1: Monitor level

Parameters

interface-type interface-number: Port type and port number.

to: Specifies a port index range, with the two interface-type interface-number arguments pairs around it as the two ends.

Description

Use the display link-aggregation interface command to display the link aggregation-related information about specific ports.

Note that as ports in a manual link aggregation groups do not acquire the information about their peers automatically, so the entries in the information about the peer ports displayed are all 0 instead of the actual values. Moreover, this command does not display the statistics on the LACP packets processed by ports in manual aggregation groups.

Examples

# Display the link aggregation-related information about port GigabitEthernet 4/2/1 (assuming that the port belongs to a manual aggregation group).

<Sysname> display link-aggregation interface gigabitEthernet4/2/1

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

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

        G -- Defaulted, H -- Expired

 

 GigabitEthernet4/2/1:

   Selected AggID: 0

   Local:

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

   Remote:

     System ID: 0x0, 0000-0000-0000

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

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

   Sent LACP Packets: 0 packet(s)

# Display the link aggregation-related information about port Ethernet 1/1/2 (assuming that the port belongs to a static aggregation group).

<Sysname> display link-aggregation interface ethernet1/1/2

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

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

        G -- Defaulted, H -- Expired

 

 Ethernet1/1/2:

   Selected AggID: 2

   Local:

     Port-Priority: 32768, Oper key: 1, Flag: {ACDEF}

   Remote:

     System ID: 0x8000, 00e0-fc46-2a9a

     Port Number: 209, Port-Priority: 32768 , Oper-key: 1, Flag: {ACDEF}

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

   Sent LACP Packets: 16 packet(s)

 

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

Field

Description

Flags

LACP state flag, one byte in length. Each bit in this field is a flag and is represented by a character among A through H. When a bit is set, the corresponding character is displayed. Following describes the flags.

l      “A” indicates LACP is enabled; absence of this character indicates LACP is not enabled.

l      “B” indicates short LACP timeout; absence of this character indicates long LACP timeout.

l      “C” indicates the link can be aggregated.

l      “D” indicates the link is synchronized.

l      “E” indicates the link is in collecting state.

l      “F” indicates the link is in distributing state.

l      “G” indicates the receiving state machine of the sending system is in the default state.

l      “H” indicates the receiving state machine of the sending system is in the expired state.

Selected AggID

ID of the link aggregation group the port belongs to

Local:

Port-Priority

Oper key

Flag

Local system information.

l      Port-Priority: Local port LACP priority

l      Oper key: Operation key

l      Flag: LACP state flag

Remote:

System ID

Port Number

Port-Priority

Oper-key

Flag

Remote system information.

System ID: Remote system ID

Port Number: Port number

Port-Priority: Port LACP priority

Oper-key: Operation key

Flag: LACP state flag

Received LACP Packets:

Illegal

Sent LACP Packets

Statistics on LACP packets.

Packets: Number of the LACP packets received

Illegal: Number of the invalid LACP packets

Sent LACP Packets: Number of the LACP packets sent

 

1.1.7  display link-aggregation service-type

Syntax

display link-aggregation service-type [ agg-id ]

View

Any view

Default Level

1: Monitor level

Parameters

agg-id: ID of an existing service loop group.

Description

Use the display link-aggregation service-type command to display the information about a service loop group.

If no aggregation group is specified, this command displays the information about all the service loop groups.

Examples

# Display the information about service loop group 1.

<Sysname> display link-aggregation service-type 1

 Service-Loop         Service                    Quote

   Group ID            Type                      Number

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

     1                ipv6                          0

Table 1-7 Description on the fields of the display link-aggregation service-type command

Field

Description

Service-Loop Group ID

Service loop group ID

Service Type

Service type supported by the service loop group

Quote Number

Number of the ports to which the service loop group is applied. You can remove a service loop group only when it is applied to no port.

 

1.1.8  display link-aggregation summary

Syntax

display link-aggregation summary

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

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

Note that as ports in a manual link aggregation groups do not acquire the information about their peers automatically, so the entries in the information about the peer ports displayed are all 0 instead of the actual values.

Examples

# Display the summary of all the link aggregation groups.

<Sysname> display link-aggregation summary

 

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

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

Actor ID: 0x8000, 000f-e222-e5cd

 

  AL  AL   Partner ID            Select Unselect Share Master

  ID  Type                       Ports  Ports    Type  Port

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

  222 M    none                  0      2        NonS  GigabitEthernet4/2/1

Table 1-8 Description on the fields of the display link-aggregation summary command

Field

Description

Aggregation Group Type

Aggregation group type, which can be

l      S, for static LACP aggregation;

l      M, for manual aggregation.

Loadsharing Type

Load sharing type, which can be

l      Shar, for load sharing;

l      Nons, for non-load sharing.

Actor ID

Local system ID

AL ID

Link aggregation group ID

AL Type

Link aggregation group type

Partner ID

Remote system ID

Select Ports

Number of selected ports

Unselect Ports

Number of unselected ports

Share Type

Load sharing type

Master Port

Master port

 

1.1.9  display link-aggregation verbose

Syntax

display link-aggregation verbose [ agg-id ]

View

Any view

Default Level

1: Monitor level

Parameters

agg-id: ID of an existing link aggregation group.

Description

Use the display link-aggregation verbose command to display the detailed information about a link aggregation group.

If you do not provide the agg-id argument, this command displays the detailed information about all the link aggregation groups.

 Note that as ports in a manual link aggregation groups do not acquire the information about their peers automatically, so the entries in the information about the peer ports displayed are all 0 instead of the actual values.

Examples

# Display the detailed information about link aggregation group 222.

<Sysname> display link-aggregation verbose 222

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: 222,  AggregationType: Manual,   Loadsharing Type: NonS

Aggregation Description:

System ID: 0x8000, 000f-e222-e5cd

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

Local:

  Port             Status  Priority  Oper-Key  Flag

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

  GE4/2/1          U       32768     1         {}

  GE4/2/2          U       32768     2         {}

 

Remote:

  Actor            Partner Priority  Oper-Key  SystemID               Flag

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

  GE4/2/1          0       0         0         0x0000,0000-0000-0000  {}

  GE4/2/2          0       0         0         0x0000,0000-0000-0000  {}

Table 1-9 Description on the fields of the display link-aggregation verbose command

Field

Description

Loadsharing Type

Load sharing type, which can be

l      Shar, for load sharing;

l      Nons, for non-load sharing.

Flags

LACP state flag, one byte in length. Each bit in this field is a flag and is represented by a character among A through H. When a bit is set, the corresponding character is displayed. Following describes the flags.

l      “A” indicates LACP is enabled; absence of this character indicates LACP is not enabled.

l      “B” indicates short LACP timeout; absence of this character indicates long LACP timeout.

l      “C” indicates the link can be aggregated.

l      “D” indicates the link is synchronized.

l      “E” indicates the link is in collecting state.

l      “F” indicates the link is in distributing state.

l      “G” indicates the receiving state machine of the sending system is in the default state.

l      “H” indicates the receiving state machine of the sending system is in the expired state.

Aggregation ID

Link aggregation group ID

AggregationType

Link aggregation type, which can be manual or static LACP.

Aggregation Description

Link aggregation group name

System ID

Local system ID

Port Status

Port state in a link aggregation group, which can be selected and unselected

Local:

Port, Status, Priority, Oper-key, Flag

Other information about the local end, including member ports, port state, port LACP priority, operation 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, operation key, system ID, and flags

 

1.1.10  lacp port-priority

Syntax

lacp port-priority port-priority

undo lacp port-priority

View

Ethernet interface view

Default Level

2: System level

Parameters

port-priority: Port LACP priority.

Description

Use the lacp port-priority command to assign an LACP priority to the port.

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

By default, port LACP priority is 32768.

Related commands: display link-aggregation interface, display link-aggregation verbose.

Examples

# Assign LACP priority 64 to a port.

<Sysname> system-view

[Sysname] interface ethernet1/1/1

[Sysname-Ethernet1/1/1] lacp port-priority 64

1.1.11  lacp system-priority

Syntax

lacp system-priority system-priority

undo lacp system-priority

View

System view

Default Level

2: System level

Parameters

system-priority: System LACP priority.

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.

Examples

# Assign LACP priority 64 to the local system.

<Sysname> system-view

[Sysname] lacp system-priority 64

1.1.12  link-aggregation group description

Syntax

link-aggregation group agg-id description agg-name

undo link-aggregation group agg-id description

View

System view

Default Level

2: System level

Parameters

agg-id: Link aggregation group ID. The link aggregation group identified by this ID must already exist.

agg-name: Link aggregation group name.

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.

Related commands: display link-aggregation verbose.

Examples

# Name link aggregation group 22 as abc.

<Sysname> system-view

[Sysname] link-aggregation group 22 description abc

1.1.13  link-aggregation group mode

Syntax

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

undo link-aggregation group agg-id

View

System view

Default Level

2: System level

Parameters

agg-id: Link aggregation group ID.

manual: Creates a manual link aggregation group.

static: Creates a static LACP link aggregation group.

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. If the group is functioning as a service loop group, this can result in the removal of the service loop group.

Note that you cannot remove an aggregation group being referenced by other modules.

Related commands: display link-aggregation summary.

Examples

# Create manual link aggregation group 22.

<Sysname> system-view

[Sysname] link-aggregation group 22 mode manual

1.1.14  link-aggregation group service-type

Syntax

link-aggregation group agg-id service-type { ipv6 | ipv6mc | mpls | tunnel }

undo link-aggregation group agg-id service-type

View

System view

Default Level

2: System level

Parameters

agg-id: ID of an existing manual aggregation group.

ipv6: Sets the service type to IPv6 (for supporting IPv6 unicast services).

ipv6mc: Sets the service type to IPv6mc (for supporting IPv6 multicast services).

mpls: Sets the service type to MPLS (for supporting MPLS services).

tunnel: Sets the service type to tunnel (for supporting tunnel services).

Description

Use the link-aggregation group service-type command to configure an existing manual aggregation group as a service loop group that is of specific type.

Use the undo link-aggregation group service-type command to restore a service loop group to a manual aggregation group.

 

&  Note:

l      Currently, for S9500 series routing switches, the boards with their models suffixed with “DA”, “DB”, and “DC” support IPv6 unicast/multicast and tunnel service loop groups; those with their models suffixed with “C” and “CA” support MPLS service loop groups.

l      You can define only one service loop group for each service loop group type.

l      Only one service type can be specified for a service loop group.

l      You can change the type of an existing service loop group. The operation fails if it is currently referenced by a module or the service loop group contains ports whose attributes conflict with the intended service type.

l      You can use the undo link-aggregation group command to remove an existing service loop group that is currently referenced by no module.

 

Examples

# Configure link aggregation group 5 as a tunnel service loop group.

<Sysname> system-view

[Sysname] link-aggregation group 5 service-type tunnel

1.1.15  port link-aggregation group

Syntax

port link-aggregation group agg-id

undo port link-aggregation group

View

Ethernet interface view

Default Level

2: System level

Parameters

agg-id: Link aggregation group ID.

Description

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

Use the undo port link-aggregation group command to remove the Ethernet port from the specified aggregation group or service loop group.

Note that Ethernet ports can only be added to existing link aggregation groups.

Related commands: display link-aggregation verbose.

Examples

# Add port Ethernet 1/1/1 to link aggregation group 22.

<Sysname> system-view

[Sysname] interface ethernet1/1/1

[Sysname-Ethernet1/1/1] port link-aggregation group 22

1.1.16  port-group aggregation

Syntax

port-group aggregation agg-id

View

System view

Default Level

2: System level

Parameters

agg-id: ID of an existing aggregation port group, same as the ID of its corresponding link aggregation group.

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 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 MAC address learning, but cannot add or remove member ports.

Examples

# Enter aggregation port group view.

<Sysname> system-view

[Sysname] port-group aggregation 10

[Sysname-port-group-aggregation-10]

1.1.17  reset lacp statistics

Syntax

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

View

User view

Default Level

1: Monitor level

Parameters

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 the LACP statistics on a port or all the ports.

Related commands: display link-aggregation interface.

Examples

# Clear LACP statistics on all ports.

<Sysname> reset lacp statistics

 

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