HP VPN Firewall Appliances VPN Command Reference
11
Examples
# The interface GigabitEthernet 0/1 of Sysname 1 uses the IP address 193.101.1.1 and the interface
GigabitEthernet 0/1 of Sysname 2 uses the IP address 192.100.1.1. Configure the source address
193.101.1.1 and destination address 192.100.1.1 for the tunnel interface of Sysname 1.
<Sysname1> system-view
[Sysname1] interface tunnel 0
[Sysname1-Tunnel0] source 193.101.1.1
[Sysname1-Tunnel0] destination 192.100.1.1
# Configure the source address 192.100.1.1 and destination address 193.101.1.1 for the tunnel interface
of Sysname 2.
<Sysname2> system-view
[Sysname2] interface tunnel 1
[Sysname2-Tunnel1] source 192.100.1.1
[Sysname2-Tunnel1] destination 193.101.1.1
Related commands
• source
• interface tunnel
• display interface tunnel
• display ipv6 interface tunnel
display interface tunnel
Use display interface tunnel to display information about tunnel interfaces, including the source address,
destination address, and tunnel mode.
Syntax
display interface [ tunnel ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
display interface tunnel number [ brief ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
number: Specifies the number of a tunnel interface.
brief: Displays brief interface information. If you do not specify this keyword, the command displays
detailed interface information.
down: Displays information about interfaces in the DOWN state and the causes. If you do not specify
this keyword, this command displays information about interfaces in all states.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.