< Home

display nat server

Function

The display nat server command displays NAT Server information.

Format

display nat server [ all-systems | vsys vsysname ]

display nat server { id nat-server-id | name nat-server-name | global-ip global-ip | inside-ip inside-ip } [ vsys vsysname ]

display nat server mib [ mib-index | global-ip global-ip | inside-ip inside-ip ]

Parameters

Parameter Description Value

all-systems

Displays NAT Server information on the public system and virtual systems.

-

vsys vsysname

Displays NAT Server information on the specified virtual system.

The value is a string of 1 to 31 characters.

id nat-server-id

Specifies the ID of a NAT Server.

The value range of the parameter is subject to the specific device model. Please refer to the actual data in practice.

name nat-server-name

Specifies the name of a NAT Server.

The value is a case-sensitive string of 1 to 31 characters.

global-ip global-ip

Specifies a public IP address.

The value is in decimal dotted notation.

inside-ip inside-ip

Specifies a private IP address.

The value is in decimal dotted notation.

mib

Displays NAT Server information on the MIB.

-

mib-index

Specifies the index of MIB.

The value range of the parameter is subject to the specific device model. Please refer to the actual data in practice.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display NAT Server information.

<sysname> display nat server
Server in private network information:                                          
  Total   2 NAT server(s)                                                       
 server name   : policy_web                                                     
 id            : 0                      zone          : ---                     
 global-start-addr : 10.1.1.10          global-end-addr   : 10.1.1.10            
 inside-start-addr : 10.2.0.7           inside-end-addr   : 10.2.0.7            
 global-start-port : 8080               global-end-port   : 8080                
 inside-start-port : 80(www)            inside-end-port   : 80                  
 globalvpn     : public                 insidevpn     : public                  
 vsys          : public                 protocol      : tcp                     
 vrrp          : ---                    no-revers     : 0                       
 interface     : ---                    vrrp-bind-interface: ---
 unr-route     :0                       description   : ---  
 nat-disable   :0                   
                                                                                
 server name   : policy_ftp                                                     
 id            : 1                      zone          : ---                     
 global-start-addr : 10.1.1.10          global-end-addr   : 10.1.1.10            
 inside-start-addr : 10.2.0.8           inside-end-addr   : 10.2.0.8            
 global-start-port : 21(ftp)            global-end-port   : 21                  
 inside-start-port : 21(ftp)            inside-end-port   : 21                  
 globalvpn     : public                 insidevpn     : public                  
 vsys          : public                 protocol      : tcp                     
 vrrp          : ---                    no-revers     : 0                       
 interface     : ---                    vrrp-bind-interface: ---
 unr-route     :0                       description   : ---  
 nat-disable   :0                   
Table 1 Description of the display nat server command output

Item

Description

Server in private network information

Information of a NAT Server

Total

Total of a NAT Server

server name

Name of a NAT Server

id

ID of a NAT Server

zone

Name of a security zone to which a public address in a NAT Server belongs

global-start-addr

Start public IP address

global-end-addr

End public IP address

inside-start-addr

Start private IP address

inside-end-addr

End private IP address

global-start-port

Start public port number

global-end-port

End public port number

inside-start-port

Start private port number

inside-end-port

End private port number

globalvpn

Name of a VPN instance to which Internet users to access intranet servers belong

insidevpn

Name of a VPN instance to which an intranet server belongs

vsys

Name of a virtual system

protocol

Protocol type

vrrp

Name of a VRRP backup group bound to a NAT Server

no-revers

No reverse server map. If this parameter is not configured, both forward and reverse server maps are created.

interface

Name of a public interface in a NAT Server

vrrp-bind-interface

Interface bound to the VRRP group

unr-route

Number of blackhole routes

description

Description of a NAT Server

nat-disable

Enables or disables the NAT Server. Two options are available: 0 (enabled) and 1 (disabled).

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >