< Home

peer-address source-address

Function

The peer-address source-address command configures the local and remote IP addresses of an E-Trunk.

The undo peer-address command cancels the configuration.

Only the S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720-LI, S6720S-EI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

peer-address peer-ip-address source-address source-ip-address

undo peer-address

Parameters

Parameter Description Value
peer-address peer-ip-address Specifies the remote IP address of an E-Trunk. The value is in dotted decimal notation.
source-address source-ip-address Specifies the local IP address of an E-Trunk. The value is in dotted decimal notation.

Views

E-Trunk view

Default Level

2: Configuration level

Usage Guidelines

The remote IP address of the local device is the local IP address of the remote device. For example, an E-Trunk is created between device A and device B. On device A, the remote IP address is 10.2.2.2 and the local IP address is 10.1.1.1. On device B, the remote IP address is 10.1.1.1 and the local IP address is 10.2.2.2.

When changing the local or remote IP address on a device, you must change the corresponding address on the remote device. Otherwise, LACPDUs are discarded.

Example

# Set the remote IP address of E-Trunk 1 to 10.2.2.2 and the local IP address to 10.1.1.1.

<HUAWEI> system-view
[HUAWEI] e-trunk 1
[HUAWEI-e-trunk-1] peer-address 10.2.2.2 source-address 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >