Server map entries are automatically generated by the device. By checking the server map entry, you can determine whether NAT and ASPF are correctly configured, which helps you to diagnose faults.
Server map entries are generated if any of the following conditions is met.
If ASPF, NAT server mapping, or source NAT No-PAT is configured and traffic cannot be forwarded, you can check whether the server map is correctly generated. If the server map or parameters are incorrect, the ASPF or NAT function may be incorrectly configured.
display firewall server-map [ vsys vsys-name | all-system ] [ slot slot-id cpu cpu-id ] [ full-cone | aspf | nat-server | nat64 | no-pat | slb | pcp | ds-lite | static | dynamic ] [ ip ip-address ]
The format of the server map entry is as follows:
Type: TYPE: SRCADDR -> DSTADDR, Zone: ZONE-NAME, Protocol: PROTOCOL, Pool: POOLID, Section: SECTIONID, Left-Time: LEFT-TIME VPN: SRCVPN -> DSTVPN
Table 1 describes the meaning of each parameter. Parameters in italics very with actual situations.
Parameter |
Description |
|---|---|
TYPE |
The following types of server map entries are available:
|
SRCADDR -> DSTADDR |
Source and destination IP addresses in the entry, which are displayed as any if no specific sources or destinations are involved. The address format is x.x.x.x:portx[y.y.y.y:porty]. portx is the source port and porty the destination port. The address in the square brackets is the post-NAT IP address. If NAT is not implemented, no content is displayed in the square brackets. If the port is not required or not translated, :port is not displayed. NOTE:
For the entry of the SLB type, a destination IP address may be translated into multiple addresses. Therefore, obverse entries generated when the server load balancing function is enabled do not display the post-NAT addresses. And the format of destination IP address is x.x.x.x:port[---]. |
Zone: ZONE-NAME |
For server map entries generated when NAT server mapping is enabled, the zone is the security zone of the global IP address of NAT server mapping. For the entries generated when NAT No-PAT is enabled, the zone is the security zone of the destination IP address. For other types of server map entries, --- is displayed. |
Protocol: PROTOCOL(Appro: APPPRO) |
Protocol in the entry: PROTOCOL specifies the transport-layer protocol, and APPPRO specifies the application-layer protocol. If no protocol is specified, any is displayed. |
Pool: POOLID |
ID of the address pool used for NAT The ID is displayed in the entry generated when NAT No-PAT is enabled, and --- is displayed in other types of entries. |
Section: SECTIONID |
ID of the address section used for NAT The ID is displayed in the entry generated when NAT No-PAT is enabled, and --- is displayed in other types of entries. |
Left-Time: HH:MM:SS |
Remaining lifetime of the entry For entries that do not age, --- is displayed. |
VPN: SRCVPN -> DSTVPN |
Source and destination VPN instances for NAT |
display firewall ipv6 server-map [ all-systems | vsys { vsys | public } ] [ nat64 | aspf ] [ dynamic | ipv6-address ipv6-address | static ] [ slot slot-id cpu cpu-id
<FW> display firewall server-map
Type: Nat Server, ANY -> 10.10.1.100:21[10.1.1.2:21], Zone: trust , protocol:---
Vpn: public -> public
Type: Nat Server Reverse, 10.1.1.2[10.10.1.100] -> ANY, Zone: trust , protocol:---
Vpn: public -> public, counter: 1
<FW> display firewall ipv6 server-map
Current total IPv6 server maps: 1
-----------------------------------------------------------------
Source Address : AAAA::2
Destination Address : BBBB::2
Source Port : 0
Destination Port : 1036
Protocol : tcp
APP Protocol : FTP-DATA
APPID : ---
TTL : 00:00:15
Left Time : 00:00:12