R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
294
[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: Specifies the tunnel source IPv4 address.
ipv6-address: Specifies the 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
[Sysname-Tunnel5] source 192.100.1.1
Or set the tunnel source interface to GigabitEthernet 3/1/1 on the interface Tunnel 5.
<Sysname> system-view
[Sysname] interface tunnel 5
[Sysname-Tunnel5] source GigabitEthernet 3/1/1
Related commands
destination
interface tunnel
display interface tunnel
display ipv6 interface tunnel