![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg376.png)
886 CHAPTER 68: TUNNELING CONFIGURATION COMMANDS
<Sysname> system-view
[Sysname] interface tunnel 3
[Sysname-Tunnel3] mtu 10000
source
Syntax source { ip-address | ipv6-address | interface-type interface-num }
undo source
View Tunnel interface view
Parameter 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.
Description Use the
source command to specify a source address for a tunnel interface.
Use the
undo source command to remove the configured source IP address.
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.
Related command: interface tunnel and destination.
Example # 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