HP VPN Firewall Appliances NAT and ALG Command Reference

9
display nat static
Use display nat static to display static NAT entries and interfaces with static NAT enabled.
Syntax
display nat static [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: 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.
Examples
# Display static NAT entries and interfaces with static NAT enabled.
<Sysname> display nat static
NAT static information:
There are currently 2 NAT static configuration(s)
net-to-net:
Local-IP : 1.1.1.0
Global-IP : 2.2.2.0
Netmask : 255.255.255.0
Local-VPN : vpn1
Global-VPN : vpn2
single static:
Local-IP : 4.4.4.4
Global-IP : 5.5.5.5
Local-VPN : ---
Global-VPN : ---
NAT static enabled information:
Interface Direction
GigabitEthernet0/2 out-static
Table 6 Command output
Field Descri
p
tion
NAT static information Configuration information for static NAT.