beautypg.com

Service loopback group configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S12500-X Series Switches User Manual

Page 195

background image

184

Task

Command

Display information about the service loopback group. display service-loopback group [ number ]

Service loopback group configuration example

Network requirements

All Ethernet ports on Device A support the tunnel service.
Assign Ten-GigabitEthernet 1/0/1 through Ten-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.

system-view

[DeviceA] service-loopback group 1 type tunnel

# Assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 to service loopback group 1.

[DeviceA] interface ten-gigabitethernet 1/0/1

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

[DeviceA-Ten-GigabitEthernet1/0/1] quit

[DeviceA] interface ten-gigabitethernet 1/0/2

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

[DeviceA-Ten-GigabitEthernet1/0/2] quit

[DeviceA] interface ten-gigabitethernet 1/0/3

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

[DeviceA-Ten-GigabitEthernet1/0/3] quit

# Create tunnel interface 1 operating in GRE mode, which will automatically reference service loopback
group 1.

[DeviceA] interface tunnel 1 mode gre

[DeviceA-Tunnel1]

This manual is related to the following products: