No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

When Server Mapping Is Configured on the AR2200 Running V200R007C00SPCb00, a Message Is Displayed, Indicating that the Port Is Occupied

Publication Date:  2019-04-16 Views:  50 Downloads:  0
Issue Description
The AR2200 is deployed at the edge of the network and accesses the Internet in static IP address mode. When server mapping is configured on the device, a message is displayed, indicating that the port is occupied. If another port is used, no error is reported
Alarm Information

[Huawei]int g0/0/4

[Huawei-GigabitEthernet0/0/4]nat ser protcp glo curr 10001 in 192.168.1.249 10001
Error: The port is already in use, please use the other free ports.

Handling Process

1. Check the configurations.

Check the configurations on the public network interface.
interface GigabitEthernet0/0/4
tcpadjust-mss 1200
ip address x.x.x.x

nat server protocol tcp global current-interface 8001 inside 192.168.1.252 8001
nat server protocol tcp global current-interface 8002 inside 192.168.1.252 8002

nat server protocol tcp global current-interface 8091 inside 192.168.1.249 8091

nat server protocol tcp global current-interface 5800 inside 192.168.1.249 5800

nat outbound 2999

There is no configuration related to port 10001, and the nat server command is not configured on the other ports.

2. Check the port that is in use.

Run the display network status all command to check the TCP and UDP ports that are in use.

[Huawei]display network status all
Proto Task/SockId Local Addr&Port          Foreign Addr&Port        State

TCP  _S0f/1      0.0.0.0:23               0.0.0.0:0                Listening
TCP  WebT/1      0.0.0.0:80               0.0.0.0:0                Listening
TCP  WebT/3      0.0.0.0:443              0.0.0.0:0                Listening

TCP  OSPM/1      0.0.0.0:9200             0.0.0.0:0                Listening

TCP  _S0f/11     192.168.1.1:23           192.168.1.249:3486       Established

TCP  WebT/0      192.168.1.1:443          192.168.1.249:3475       Time_Wait

TCP  WebT/254    192.168.1.1:443          192.168.1.249:3481       Established

UDP  DNSE/3      0.0.0.0:53               0.0.0.0:0

UDP  DHCP/1      0.0.0.0:67               0.0.0.0:0

UDP  NTPT/2      0.0.0.0:123              0.0.0.0:0

UDP  DNSE/1      0.0.0.0:65235            0.0.0.0:0

UDP6 NTPT/1      ::->123                  ::->0

UDP6 DNSE/4      ::->53                   ::->0

UDP6 DHCP/2      ::->547                  ::->0


<Huawei>

Port 10001 is not used.

3. Run the display adp-ipv4 port-info command to check information about the port that is in use.
[Huawei-diagnose]display adp-ipv4 port-info


---------------------------------------------

Port          Module           Counter

---------------------------------------------


 23            VRP              2
 53            VRP              2
 67            VRP              1
80            VRP              1
123           VRP              2
443           VRP              3
 547           VRP              1
5800          STATIC_NAT       1

8001          STATIC_NAT       1 

8002          STATIC_NAT       1

8091          STATIC_NAT       1 
9200          VRP              1 
10001         SVPN             1  
65235         VRP              1 
65535         VRP              1


---------------------------------------------




[Huawei-diagnose]


It is found that port 10001 is occupied by the SVPN.


Root Cause
The SVPN uses port 10001, which is reserved and cannot be changed.

Solution

Use another port. The fault is rectified.

END