252
Configuring a service loopback group
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a service loopback
group and specify its service
type.
service-loopback group
group-id
type
{ {
multicast-tunnel
|
tunnel
} * |
multiport
|
vsi-gateway
}
By default, no service loopback
groups exist.
In the current software version,
the device does not support the
multiport
and
vsi-gateway
keywords.
3.
Enter Layer 2 Ethernet
interface view.
interface interface-type
interface-number
N/A
4.
Assign the port to the service
loopback group.
port service-loopback group
group-id
By default, a port does not belong
to any service loopback group.
Displaying and maintaining service loopback
groups
Execute
display
commands in any view.
Task Command
Display information about service loopback
groups.
display service-loopback group
[
group-id
]
Service loopback group configuration example
Network requirements
All Ethernet ports on Device A support the tunnel service. Assign GigabitEthernet 1/0/1 through
GigabitEthernet 1/0/3 to a service loopback group to loop GRE packets sent out by the device back
to the device.
Configuration procedure
# Create service loopback group 1, and specify its service type as
tunnel
.
<DeviceA> system-view
[DeviceA] service-loopback group 1 type tunnel
# Assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to service loopback group 1.
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
Содержание H3C S7500E-X
Страница 70: ...57 ...