The display nat user-information command displays information about online NAT service users.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
verbose |
Displays detailed information about logged-in users. |
- |
slot slot-id |
Specifies the slot ID of a service board. |
The value is a string of 1 to 15 case-sensitive characters. It cannot contain spaces. |
cpe |
Displays user information with a specified CPE. |
- |
ipv4 ipv4-address |
Displays user information with a specified private CPE IPv4 address. |
The value is in dotted decimal notation. |
session-discard |
Displays user information after packets are dropped because the rate at which the user flows are created exceeds the specified value. |
The value is an integer ranging from 0 to 100. |
ipv6 ipv6-address |
Displays user information with a specified private CPE IPv6 address. |
The value is a 32-bit hexadecimal number in the format of X:X:X:X:X:X:X:X. |
prefix-length prefix-length |
Displays private network user information with a specified IPv6 prefix length of the CPE. This parameter can be configured only in NAT64. |
The value is an integer ranging from 1 to 128. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display nat user-information slot 1 verbose This operation will take a few minutes. Press 'Ctrl+C' to break ... Slot: 1 --------------------------------------------------------------------------- User Type : NAT64 IPv6Address : 4444::2/128 User ID : - VPN Instance : - Address Group : yqk_01 NoPAT Address Group : - NAT64 Instance : yqk_01 Public IP : 10.10.10.137 NoPAT Public IP : - MTU : 1500 Total/TCP/UDP/ICMP Session Limit : 8192/10240/10240/512 Total/TCP/UDP/ICMP Session Current : 1/1/0/0 Total/TCP/UDP/ICMP Rev Session Limit : 8192/10240/10240/512 Total/TCP/UDP/ICMP Rev Session Current: 0/0/0/0 Nat ALG Enable : NULL Port Forwarding Flag : Non Port Forwarding Port Forwarding Ports : 0 0 0 0 0 Create Time : 2019-8-12 15:44:28 Aging Time(s) : - Left Time(s) : - Session Limit Discard Count : 0 -->Transmit Packets : 1200908 -->Transmit Bytes : 175332568 -->Drop Packets : 0 <--Transmit Packets : 0 <--Transmit Bytes : 0 <--Drop Packets : 0 ---------------------------------------------------------------------------
<HUAWEI> display nat user-information slot 1 This operation will take a few minutes. Press 'Ctrl+C' to break ... Slot: 1 Total number: 1. --------------------------------------------------------------------------- IPv6Address : 2001:db8:0:202:203/128 VPN Instance : - Public IP : 5.5.5.5 NoPAT Public IP : - Total/TCP/UDP/ICMP Session Limit : 8192/10240/10240/512 Total/TCP/UDP/ICMP Session Current : 1/0/1/0 Nat ALG Enable : NULL ---------------------------------------------------------------------------
<HUAWEI> display nat user-information cpe ipv4 192.168.2.4 This operation will take a few minutes. Press 'Ctrl+C' to break ... Slot: 1 Total number: 0. --------------------------------------------------------------------------- CPE IP : 192.168.2.4 VPN Instance : - Public IP : 1.1.1.1 NoPAT Public IP : - Total/TCP/UDP/ICMP Session Limit : 8192/10240/10240/512 Total/TCP/UDP/ICMP Session Current : 1/0/1/0 Nat ALG Enable : FTP/DNS ---------------------------------------------------------------------------
<HUAWEI> display nat user-information slot 1 verbose This operation will take a few minutes. Press 'Ctrl+C' to break ... Slot: 1 Total number: 1 --------------------------------------------------------------------------- User Type : NAT444 CPE IP : 172.16.1.2 User ID : - VPN Instance : - Address Group : group1 NAT Instance : nat1 Public IP : 192.168.29.2 NoPAT Public IP : - Total/TCP/UDP/ICMP Session Limit : 8192/10240/10240/512 Total/TCP/UDP/ICMP Session Current : 0/0/0/0 Total/TCP/UDP/ICMP Rev Session Limit : 8192/10240/10240/512 Total/TCP/UDP/ICMP Rev Session Current: 1100/0/800/300 Nat ALG Enable : FTP/DNS Create Time : 2019-8-12 15:44:28 Aging Time(s) : - Left Time(s) : - Session Limit Discard Count : 6191 -->Transmit Packets : 0 -->Transmit Bytes : 0 -->Drop Packets : 0 <--Transmit Packets : 3990 <--Transmit Bytes : 343140 <--Drop Packets : 6191 ---------------------------------------------------------------------------
<HUAWEI> display nat user-information slot 1 This operation will take a few minutes. Press 'Ctrl+C' to break ... Slot: 1 Total number: 1. --------------------------------------------------------------------------- CPE IP : 192.168.2.3 VPN Instance : - Public IP : 192.168.0.34 NoPAT Public IP : - Start Port : 1024 Port Range : 1024 Extend Port Alloc Times : 0 Extend Port Alloc Number : 0 First/Second/Third Extend Port Start : 0/0/0 Total/TCP/UDP/ICMP Session Limit : 8192/10240/10240/512 Total/TCP/UDP/ICMP Session Current : 1/0/1/0 Total/TCP/UDP/ICMP Port Limit : 0/0/0/0 Total/TCP/UDP/ICMP Port Current : 0/0/0/0 Nat ALG Enable : ALL ---------------------------------------------------------------------------
Item | Description |
---|---|
slot | Slot ID. |
Total number | Total number of user information records. |
User Type | User type. |
User ID | User ID. |
CPE IP | CPE IP address. |
VPN Instance | Name of a VPN instance to which a user belongs. |
Address Group | Name of an address pool, an IP address from which is assigned to the user. |
NoPAT Address Group | Name of a no-PAT address pool, an IP address from which is assigned to the user. |
NoPAT Public IP | Public IP address to which no-PAT NAT translates a user's private IP address. |
NAT Instance | Name of a NAT instance to which a user belongs. |
Public IP | Public IP address to which NAT translates a user's private IP address. If the nat exchange user public-ip command is run in the NAT instance view to set an interval at which a public IP address is updated, this field displays the latest address and the address before an update. |
Start Port | Start port number to be pre-allocated to users. |
Port Range | Number of pre-allocated ports. |
Port Forwarding Flag | Port forwarding flag. |
Port Forwarding Ports | Port forwarding ports. |
Extend Port Alloc Times | Number of times more ports are assigned. |
Extend Port Alloc Number | Number of additional ports that are assigned. |
First/Second/Third Extend Port Start | Start port number of extended port ranges that were assigned last three times. |
Total/TCP/UDP/ICMP Session Limit | Maximum number of all user-to-network NAT sessions that can be established. |
Total/TCP/UDP/ICMP Session Current | Number of established user-to-network NAT sessions. |
Total/TCP/UDP/ICMP Port Limit | Maximum number of NAT ports. |
Total/TCP/UDP/ICMP Port Current | Number of assigned NAT ports. |
Total/TCP/UDP/ICMP Rev Session Limit | Maximum number of all network-to-user NAT sessions that can be established. |
Total/TCP/UDP/ICMP Rev Session Current | Number of established network-to-user NAT sessions. |
Session Limit Discard Count | Number of packets discarded after the number of established sessions exceeds an upper limit. |
Nat ALG Enable | Whether ALG is enabled. |
Create Time | Time when a user table was generated. |
Aging Time(s) | Time (in seconds) after which user information ages. |
Left Time(s) | Remaining time (in seconds) before user information ages. |
-->Transmit Packets | Number of private-to-public packets that are sent. |
-->Transmit Bytes | Number of private-to-public bytes that are sent. |
-->Drop Packets | Number of dropped packets. |
<--Transmit Packets | Number of public-to-private packets that are sent. |
<--Transmit Bytes | Number of public-to-private bytes that are sent. |
<--Drop Packet | Number of dropped packets. |
NAT64 Instance | Name of a NAT instance to which a user belongs. |
IPv6Address | IPv6 address of user. |
MTU | MTU. |