< Home

service type tunnel

Function

The service type tunnel command enables service loopback on an Eth-Trunk interface to loop service packets back to tunnel interfaces.

The undo service type tunnel command disables service loopback on an Eth-Trunk interface.

By default, service loopback is disabled on an Eth-Trunk interface.

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, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

service type tunnel

undo service type tunnel

Parameters

None

Views

Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To forward packets using tunnel interfaces, you need to bind the tunnel interfaces to an Eth-Trunk interface. Before binding the tunnel interfaces to the Eth-Trunk interface, run the service type tunnel command to enable service loopback on the Eth-Trunk interface to loop service packets back to tunnel interfaces.

Precautions

After being configured as a service loopback interface, an Eth-Trunk interface can only be used to loop service packets back to tunnel interfaces.

A device can be configured with only one service loopback interface.

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.

  • The configurations allowed on an Eth-Trunk to be configured as a loopback interface include description, enable snmp trap updown, jumboframe enable, mixed-rate link enable, qos phb marking enable, set flow-stat interval, shutdown, local-preference enable, traffic-policy (interface view), and trust. If other configurations exist on the Eth-Trunk, the Eth-Trunk cannot be configured as a loopback interface.

  • After an Eth-Trunk is configured as a loopback interface, the Eth-Trunk supports only the following configurations: authentication open ucl-policy enable, description, enable snmp trap updown, jumboframe enable, mixed-rate link enable, qos phb marking enable, set flow-stat interval, shutdown, local-preference enable, statistic enable (interface view), traffic-policy (interface view), vcmp disable, and trust.

  • Before running the undo service type tunnel command, delete all the member interfaces of the Eth-Trunk interface on the device.

After the Eth-Trunk interface is configured as the service loopback interface, other service configurations cannot be performed on the Eth-Trunk interface by invoking the MIB through the NMS. Otherwise, the service loopback interface function or the service configurations delivered through the MIB may be invalid.

Example

# Enable service loopback on the interface Eth-Trunk 0.

<HUAWEI> system-view
[HUAWEI] interface eth-trunk 0
[HUAWEI-Eth-Trunk0] service type tunnel
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >