R3721-F3210-F3171-HP High-End Firewalls VPN Command Reference-6PW101
30
Description
Use shutdown to shut down a tunnel interface.
Use undo shutdown to bring up a tunnel interface.
By default, a tunnel interface is in the up state.
Examples
# Shut down interface Tunnel 1.
<Sysname> system-view
[Sysname] interface tunnel 1
[Sysname-Tunnel1] shutdown
source
Syntax
source { ip-address | ipv6-address | interface-type interface-number }
undo source
View
Tunnel interface view
Default level
2: System level
Parameters
ip-address: Tunnel source IPv4 address.
ipv6-address: Tunnel source IPv6 address.
interface-type interface-number: Specifies an interface. The interface types include GigabitEthernet,
tunnel, and loopback.
Description
Use source to specify the source address or interface of the tunnel interface.
Use undo source to remove the configured source address or interface of the tunnel interface.
By default, no source address or interface is specified for the tunnel interface.
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.
Related commands: destination, interface tunnel, display interface tunnel, and display ipv6 interface
tunnel.
Examples
# Set the tunnel source address to 192.100.1.1 (or the interface GigabitEthernet 0/1) on the interface
Tunnel 5.
<Sysname> system-view
[Sysname] interface tunnel 5
[Sysname-Tunnel5] source 192.100.1.1