Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 182

Advertising
background image

171

# Configure an IP address for the tunnel interface.

[SwitchB-Tunnel0] ip address 10.1.2.2 255.255.255.0

# Configure the source address of tunnel interface as the IPv6 address of VLAN-interface 101 on
Switch B.

[SwitchB-Tunnel0] source 2001::2:1

# Configure the destination address of the tunnel interface as the IPv6 address of VLAN-interface

101 on Switch A.

[SwitchB-Tunnel0] destination 2002::1:1

[SwitchB-Tunnel0] quit

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

[SwitchB] ip route-static 10.1.1.0 255.255.255.0 tunnel 0

Verifying the configuration

# Display tunnel interface information on Switch A.

[SwitchA] display interface tunnel 0

Tunnel0

Current state: UP

Line protocol state: UP

Description: Tunnel0 Interface

Bandwidth: 64kbps

Maximum Transmit Unit: 1456

Internet Address is 10.1.2.1/24 Primary

Tunnel source 2002::1:1, destination 2001::2:1

Tunnel TTL 255

Tunnel protocol/transport GRE/IPv6

GRE key disabled

Checksumming of GRE packets disabled

Last clearing of counters: Never

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

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

Input: 0 packets, 0 bytes, 0 drops

Output: 0 packets, 0 bytes, 0 drops

# Display tunnel interface information on Switch B.

[SwitchB] display interface tunnel 0

Tunnel0

Current state: UP

Line protocol state: UP

Description: Tunnel0 Interface

Bandwidth: 64kbps

Maximum Transmit Unit: 1456

Internet Address is 10.1.2.2/24 Primary

Tunnel source 2001::2:1, destination 2002::1:1

Tunnel TTL 255

Tunnel protocol/transport GRE/IPv6

GRE key disabled

Checksumming of GRE packets disabled

Last clearing of counters: Never

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

Advertising
This manual is related to the following products: