R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Services Command Reference

122
slot slot-number: Displays NAT entries for the interface card specified by the slot number.
The following matrix shows the option and router compatibility:
Option 6602 HSR6602 6604/6608/6616
slot slot-number No Yes Yes
source global global-address: Displays NAT entries for the specified external source IP address.
source inside inside-address: Displays NAT entries for the specified internal source IP address.
destination dst-address: Displays NAT entries for the specified destination IP address.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration 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 dynamic NAT entries.
<Sysname> display nat session
There are currently 1 NAT session:
Pro GlobalAddr:Port LocalAddr:Port DestAddr:Port
TCP 100.1.1.1:23 63.1.1.1:23 51.1.1.2:1781
GlobalVPN: vpn3 LocalVPN: vpn1
Status:11 TTL:00:00:10 Left:00:00:02
Table 29 Command output
Field Descri
p
tion
Pro Protocol type.
GlobalAddr:Port External IP address and port number after translation.
InsideAddr:Port Internal IP address and port number before translation.
DestAddr:Port Destination IP address and port number.
GlobalVPN MPLS L3VPN to which the external source IP address belongs.
LocalVPN MPLS L3VPN to which the internal source IP address belongs.
Status
NAT session status.
The 6600 and HSR6600 routers cannot display information about NAT session
status.
TTL
NAT session lifetime in the format of hh:mm:ss.
The 6600 and HSR6600 routers cannot display information about NAT session
lifetime.
Left NAT session remaining lifetime, in the format of hh:mm:ss.