Displaying and maintaining tunneling configuration, Troubleshooting tunneling configuration – H3C Technologies H3C S7500E Series Switches User Manual

Page 202

Advertising
background image

15-45

[SwitchB] service-loopback group 1 type tunnel

# Add interface GigabitEthernet 2/0/3 to service loopback group 1.

[SwitchB] interface GigabitEthernet 2/0/3

[SwitchB-GigabitEthernet2/0/3] undo stp enable

[SwitchB-GigabitEthernet2/0/3] port service-loopback group 1

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

[SwitchB-GigabitEthernett1/0/3] quit

[SwitchB] interface tunnel 0

[SwitchB-Tunnel0] service-loopback-group 1

[SwitchB-Tunnel0] quit

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

[SwitchB] ip route-static 10.1.1.0 255.255.255.0 tunnel 0

Displaying and Maintaining Tunneling Configuration

To do…

Use the command…

Remarks

Display information about tunnel

interfaces

display interface tunnel [ number ]

Available in any view

Display IPv6 information on tunnel

interfaces

display ipv6 interface tunnel

[ number ] [ verbose ]

Available in any view

Clear statistics on tunnel interfaces

reset counters interface [ tunnel

[ number ] ]

Available in user view

Troubleshooting Tunneling Configuration

Symptom: After the configuration of related parameters such as tunnel source address, tunnel

destination address, and tunnel mode, the tunnel interface is still not up.

Solution: Follow the steps below:

1) The common cause is that the physical interface of the tunnel source is not up. Use the display

interface tunnel or display ipv6 interface tunnel commands to view whether the physical

interface of the tunnel source is up. If the physical interface is down, use the debugging tunnel

event command in user view to view the cause.

2) Another possible cause is that the tunnel destination is unreachable. Use the display ipv6

routing-table or display ip routing-table command to view whether the tunnel destination is

reachable. If no routing entry is available for tunnel communication in the routing table, configure

related routes.

Advertising