R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Services Command Reference

281
Default
A tunnel interface is in the up state.
Views
Tunnel interface view
Default command level
2: System level
Examples
# Shut down interface Tunnel 1.
<Sysname> system-view
[Sysname] interface tunnel 1
[Sysname-Tunnel1] shutdown
source
Use source to specify the source address or source interface for the tunnel interface.
Use undo source to restore the default.
Syntax
source { ip-address | ipv6-address | interface-type interface-number }
undo source
Default
No source address or source interface is specified for the tunnel interface.
Views
Tunnel interface view
Default command level
2: System level
Parameters
ip-address: Tunnel source IPv4 address.
ipv6-address: Tunnel source IPv6 address.
interface-type interface-number: Specifies the source interface, which can be Ethernet, serial, ATM,
tunnel, or loopback interface.
Usage guidelines
The tunnel source address is the address of the interface sending packets and should be configured as
the destination address of the peer tunnel interface.
Automatic tunnel interfaces using the same encapsulation protocol must have different source addresses.
Manual tunnel interfaces using the same encapsulation protocol must have different source and
destination addresses.
Examples
# Set the tunnel source address to 192.100.1.1 on the interface Tunnel 5.
<Sysname> system-view
[Sysname] interface tunnel 5