(Optional) Enabling the Service Loopback Function on an Eth-Trunk
Context
- The service loopback function must be configured on an Eth-Trunk for cards that do not support internal loopback interfaces. The maximum rate of an Eth-Trunk enabled with the service loopback function is equal to the sum of the Eth-Trunk member interfaces' rates.
- For cards that support internal loopback interfaces:
- The configuration of an Eth-Trunk enabled with the service loopback function is optional, but the internal loopback interface rate is only 1000 Mbit/s.
- If the service loopback function is configured on an Eth-Trunk, the Eth-Trunk takes effect with priority. The maximum rate of an Eth-Trunk enabled with the service loopback function is equal to the sum of the Eth-Trunk member interfaces' rates.
The SA, EA, EC, and ED series cards support internal loopback interfaces.
Before enabling the service loopback function on an Eth-Trunk, note that only one interface enabled with the service loopback function is needed on a device. The interface must be idle and not transmitting services.
Procedure
- Run system-view
The system view is displayed.
- Run interface eth-trunk trunk-id
The Eth-Trunk interface view is displayed.
- Run service type tunnel
The Eth-Trunk is enabled with the service loopback function.
You cannot configure both the service type tunnel command and the URPF function on the same Eth-Trunk.
On an Eth-Trunk enabled with the service loopback function, the STP function is automatically disabled. After the service loopback function is disabled on the Eth-Trunk, the STP function is automatically enabled.
- Run quit
Return to the system view.
- Run interface interface-type interface-number
The interface view is displayed.
- Run eth-trunk trunk-id
The interface is added to the Eth-Trunk.