R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
123
Default command level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Displays NAT entries for the specified MPLS L3VPN. The
vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. Without this option, this
command displays NAT entries of the public network.
slot slot-number: Displays NAT entries for the interface card specified by the slot number. (In standalone
mode.)
chassis chassis-number slot slot-number: Displays NAT entries for a card in an IRF member device. The
chassis-number argument represents the IRF member ID of the device, and the slot-number argument
represents the slot number of the card on the device. (In IRF mode.)
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 HSR6800 routers cannot display information about NAT session status.