beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 201

background image

190

[SwitchB-Tunnel1] source vlan-interface 101

# Configure the destination address for interface Tunnel 1 (IP address of the VLAN interface to which

GigabitEthernet 1/0/2 of Switch A belongs).

[SwitchB-Tunnel1] destination 1.1.1.1

# Apply service loopback group 1 to the tunnel in tunnel interface view.

[SwitchB-Tunnel1] service-loopback-group 1

[SwitchB-Tunnel1] quit

# Configure a static route from Switch B through interface Tunnel 1 to Group 1.

[SwitchB] ip route-static 10.1.1.0 255.255.255.0 Tunnel 1

3.

Verify the configuration

# After the configuration, view the tunnel interface status on Switch A and Switch B respectively.

[SwitchA] display interface tunnel 1

Tunnel1 current state: UP

Line protocol current state: UP

Description: Tunnel1 Interface

The Maximum Transmit Unit is 1476

Internet Address is 10.1.2.1/24 Primary

Encapsulation is TUNNEL, service-loopback-group ID is 1.

Tunnel source 1.1.1.1, destination 2.2.2.2

Tunnel bandwidth 64 (kbps)

Tunnel protocol/transport GRE/IP

GRE key disabled

Checksumming of GRE packets disabled

Last clearing of counters: Never

Last 300 seconds input: 0 bytes/sec, 0 packets/sec

Last 300 seconds output: 0 bytes/sec, 0 packets/sec

10 packets input, 840 bytes

0 input error

10 packets output, 840 bytes

0 output error

[SwitchB] display interface tunnel 1

Tunnel1 current state: UP

Line protocol current state: UP

Description: Tunnel1 Interface

The Maximum Transmit Unit is 1476

Internet Address is 10.1.2.2/24 Primary

Encapsulation is TUNNEL, service-loopback-group ID is 1.

Tunnel source 2.2.2.2, destination 1.1.1.1

Tunnel bandwidth 64 (kbps)

Tunnel protocol/transport GRE/IP

GRE key disabled

Checksumming of GRE packets disabled

Last clearing of counters: Never

Last 300 seconds input: 2 bytes/sec, 0 packets/sec

Last 300 seconds output: 2 bytes/sec, 0 packets/sec

10 packets input, 840 bytes

0 input error