886
C
68: T
HAPTER
UNNELING
source
Syntax
View
Parameter
Description
Related command:
Example
C
C
ONFIGURATION
OMMANDS
<Sysname> system-view
[Sysname] interface tunnel 3
[Sysname-Tunnel3] mtu 10000
source { ip-address | ipv6-address | interface-type interface-num }
undo source
Tunnel interface view
ip-address: Source IPv4 address of a tunnel interface.
ip-address: Source IPv6 address of a tunnel interface.
interface-type interface-number: Specifies an interface. The interface types include
Ethernet, serial, ATM, tunnel, and loopback.
Use the
command to specify a source address for a tunnel interface.
source
Use the
undo source
By default, no source address is configured for a tunnel interface.
Note that:
The source address of a tunnel interface is the address of the interface sending
■
packets and is usually the destination address of the peer tunnel interface.
Two or more tunnel interfaces using the same encapsulation protocol must
■
have different source addresses and destination addresses.
interface tunnel and destination.
# Configure the interface tunnel 5. The actual outgoing interface encapsulating
packets is Serial2/0 (192.100.1.1).
<Sysname> system-view
[Sysname] interface tunnel 5
[Sysname-Tunnel5] source 192.100.1.1
Or
<Sysname> system-view
[Sysname] interface tunnel 5
[Sysname-Tunnel5] source serial 2/0
command to remove the configured source IP address.