Eth-Trunk interfaces can be added only to a created E-Trunk. E-Trunk provides device-level reliability.
The system view is displayed.
An E-Trunk is created.
A password for encrypting packets is configured for the E-Trunk.
If simple is specified, the password is displayed in clear text in the configuration file.
If cipher is specified, the password is displayed as garbled characters in the configuration file.
If simple is specified, the password is displayed in clear text in the configuration file. In this case, other users can obtain the password by querying the configuration file, which poses a security risk. Therefore, cipher is recommended.
Two devices in the same E-Trunk must have the same password for encrypting E-Trunk packets. After creating an E-Trunk, you need to manually configure a password. Otherwise, E-Trunk negotiation fails.
For an IPv4 network, run the peer-address peer-ip-address source-address source-ip-address [ vpn-instance vpn-instance-name ] command.
The two IP addresses are peers for each other. For example, if an E-Trunk is created between Device A with IP address IP1 and Device B with IP address IP2, the peer IP address of Device A is IP2, and the peer IP address of Device B is IP1.
Change the local and peer IP addresses, neither or both. Otherwise, E-Trunk packets are discarded.
It is recommended that you configure the IP addresses for the local and peer devices in an E-Trunk as loopback interface addresses.
The configuration is committed.