HP VPN Firewall Appliances Network Management Command Reference

134
Examples
# Set the description for interface VT 10 to virtual-interface.
<Sysname> system-view
[Sysname] interface Virtual-Template 10
[Sysname-Virtual-Template10] description virtual-interface
display interface virtual-template
Use display interface virtual-template to display information about a VT interface.
Syntax
display interface virtual-template number [ brief ] [ | { begin | exclude | include } regular-expression ]
display interface [ virtual-template ] [ brief [ down ] ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
number: Number of an existing VT interface.
brief: Displays brief interface information. If you do not specify this keyword, this command displays
detailed interface information.
down: Displays information about interfaces in 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.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify the virtual-template keyword, this command displays information about all
interfaces on the device.
If you specify the virtual-template keyword without the number argument, this command displays
information about all existing VT interfaces.
Examples
# Display detailed information about interface Virtual-Template 1.
<Sysname> display interface Virtual-Template 1
Virtual-Template1 current state: UP
Line protocol current state: UP (spoofing)
Description: Virtual-Template1 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)