Displaying and maintaining service loopback groups, Service loopback group configuration example, Network requirements – H3C Technologies H3C S5560 Series Switches User Manual

Page 292: Configuration procedure

Advertising
background image

258

Displaying and maintaining service loopback

groups

Execute display commands in any view.

Task

Command

Display information about service loopback groups.

display service-loopback group [ number ]

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

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] port service-loopback group 1

[DeviceA-GigabitEthernet1/0/2] quit

[DeviceA] interface gigabitethernet 1/0/3

[DeviceA-GigabitEthernet1/0/3] port service-loopback group 1

[DeviceA-GigabitEthernet1/0/3] quit

# Create the interface Tunnel 1 and set it to GRE mode. The interface will automatically use service
loopback group 1.

[DeviceA] interface tunnel 1 mode gre

[DeviceA-Tunnel1]

Advertising