R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

143
display nat port-block
Use display nat port-block to display NAT444 mappings.
Syntax
MSR2000/MSR3000:
display nat port-block { dynamic | static }
MSR4000:
display nat port-block { dynamic | static } [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
dynamic: Displays dynamic NAT444 mappings.
static: Displays static NAT444 mappings.
slot slot-number: Specifies a card by its slot number. If you do not specify any card, this command
displays NAT444 mappings for all cards. (MSR4000.)
Examples
# Display static NAT444 mappings.
<Sysname> display nat port-block static
Local VPN Local IP Global IP Port block Connections
--- 100.100.100.111 202.202.100.101 10001-10256 0
--- 100.100.100.112 202.202.100.101 10257-10512 0
--- 100.100.100.113 202.202.100.101 10513-10768 0
vpn012345678 100.100.100.113 202.202.100.101 10769-11024 0
901234567890
1234567
Total mappings found: 4
# Display dynamic NAT444 mappings.
<Sysname> display nat port-block dynamic
Local VPN Local IP Global IP Port block Connections
--- 101.1.1.12 192.168.135.201 10001-11024 1
Total mappings found: 1
Table 36 Command output
Field Descri
p
tion
Local VPN
VPN to which the private IP address belongs. If the private IP address
does not belong to any VPN, this field displays hyphens (---).
Local IP Private IP address.
Global IP Public IP address.