service-loopback-group
Syntax
service-loopback-group number
undo service-loopback-group
View
Tunnel interface view
Default level
2: System level
Parameters
number: Specifies the service loopback group ID.
Description
Use service-loopback-group to reference a service loopback group on the tunnel interface.
Use undo service-loopback-group to remove the referenced service loopback group from the tunnel interface.
By default, no service loopback group is referenced on a tunnel interface.
The service loopback group to be referenced must have been configured and have the service type set to tunnel in system view.
One tunnel interface can reference only one service loopback group.
Related commands: display interface tunnel; service-loopback group (Layer 2—LAN Switching Command Reference).
Examples
# Create service loopback group 1 of tunnel type.
<Sysname> system-view [Sysname] service-loopback group 1 type tunnel
# Add a Layer 2 Ethernet port to service loopback group 1.
[Sysname] interface Ethernet 1/0/1 [Sysname-Ethernet1/0/1] undo stp enable [Sysname-Ethernet1/0/1] undo ndp enable [Sysname-Ethernet1/0/1] undo lldp enable [Sysname-Ethernet1/0/1] port service-loopback group 1 [Sysname-Ethernet1/0/1] quit
# Reference service loopback group 1 on interface Tunnel 2.
[Sysname] interface tunnel 2 [Sysname-Tunnel2] service-loopback-group 1