The e-trunk command adds a global VE interface to an E-Trunk.
The undo e-trunk command removes a global VE interface from an E-Trunk.
By default, no global VE interface is added to any E-Trunk.
Parameter | Description | Value |
---|---|---|
remote-global-ve global-ve-id |
Specifies the ID of a remote global VE interface. If you want to add global VE interfaces with different IDs on two devices to the same E-Trunk, you must specify remote global VE interface IDs for the E-Trunk to work properly. |
The value is an integer ranging from 0 to 4294967295. |
e-trunk e-trunk-id |
Specifies an E-Trunk ID and ID range is customized by product. |
The value is an integer ranging from 1 to 512. |
Usage Scenario
To add a global VE or Eth-Trunk interface to an E-Trunk to forward packets, run the e-trunk command in the global VE or Eth-Trunk view.
To add an Eth-Trunk interface to an E-Trunk, run the e-trunk (Eth-Trunk view) command. Adding a global VE interface to an E-Trunk applies to the scenario where an L2VPN accesses a L3VPN over primary and secondary PWs.Prerequisites
1.An E-Trunk has been created using the e-trunk e-trunk-id command in the system view.
2.A global VE interface has been created using the interface global-ve ve-number command in the system view. 3.An L2VE interface has been created using the ve-group ve-group-id l2-terminate command in the global VE interface view.Precautions
A global VE interface can be added only to one E-Trunk. A global VE interface must be removed from an E-Trunk before it is added to another one, and an E-Trunk can have only one member global VE interface.
After the undo e-trunk command is run, all Eth-Trunk interfaces are removed from an E-Trunk, and the function is disabled.