HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

139
Parameters
source-ip source-ip: Displays NAT sessions for the source IP address specified by the source-ip argument.
The IP address must be the real source IP address of the packet that triggers the session establishment.
destination-ip destination-ip: Displays NAT sessions for the destination IP address specified by the
destination-ip argument. The IP address must be the destination IP address of the packet that triggers the
session establishment.
vpn-instance vpn-instance-name: Displays NAT sessions for the destination VPN specified by the
vpn-instance-name argument. The instance name is a case-sensitive string of 1 to 31 characters. The VPN
must be the one inside the packet. To display NAT sessions of the public network, do not specify this
option.
slot slot-number: Specifies the slot number of a card. If no slot is specified, this command displays NAT
sessions for all cards. (MSR4000)
verbose: Display detailed information about NAT sessions. If you do not specify this keyword, this
command displays brief information about NAT sessions.
Usage guidelines
If you do not specify any keyword or option, this command displays all NAT sessions.
Examples
# On the MSR2000/MSR3000 router, display detailed information about NAT sessions.
<Sysname> display nat session verbose
Initiator:
Source IP/port: 192.168.1.18/1877
Destination IP/port: 192.168.1.55/22
VPN instance/VLAN ID/VLL ID: -/-/-
Protocol: TCP(6)
Responder:
Source IP/port: 192.168.1.55/22
Destination IP/port: 192.168.1.10/1877
VPN instance/VLAN ID/VLL ID: -/-/-
Protocol: TCP(6)
State: TCP_SYN_SENT
Application: SSH
Start time: 2011-07-29 19:12:36 TTL: 28s
Interface(in) : Ethernet0/1
Interface(out): Ethernet0/2
Initiator->Responder: 1 packets 48 bytes
Responder->Initiator: 0 packets 0 bytes
Total sessions found: 1
# On the MSR4000 router, display detailed information about NAT sessions for card in slot 0.
<Sysname> display nat session verbose slot 0
Slot 0:
Initiator:
Source IP/port: 192.168.1.18/1877
Destination IP/port: 192.168.1.55/22
VPN instance/VLAN ID/VLL ID: -/-/-