Step 5
Run:
interface eth-trunk
trunk-id.subnumber
An Eth-Trunk sub-interface is created.
subnumber
specifies the number of a sub-interface. The value ranges from 1 to 4096.
Step 6
Run:
ip address
ip-address
{
mask
|
mask-length
} [
sub
]
An IP address is configured for the sub-interface.
When configuring multiple IP addresses for an Eth-Trunk sub-interface, use the
sub
keyword
to indicate the IP addresses configured after the first one.
----End
2.7 Maintaining Link Aggregation
This section describes how to maintain link aggregation, including monitoring the link
aggregation running status and clearing LACPDU statistics.
2.7.1 Clearing LACP Packet Statistics
Context
NOTICE
The cleared LACPDU statistics cannot be restored. Exercise caution when you run the reset
command.
Procedure
l
Run the
reset lacp statistics eth-trunk
[
trunk-id
[
interface
interface-type interface-
number
] ] command in the user view to clear statistics about LACPDUs received and sent.
l
Run the
reset lacp error packet statistics
command in the user view to clear statistics on
error LACPDUs.
----End
2.7.2 Monitoring the LAG Operating
Context
During routine maintenance, run the following commands in any view to check the LAG
operating status.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
2 Link Aggregation Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
57