The display ip socket register-port command displays non-well-known port numbers that have been assigned to services on the device.
As defined in RFC standards, port numbers larger than 1024 are non-well-known port numbers and can be assigned to desired services, such as NQA and FTP services. However, a non-well-known port number can be assigned to only one service on the same device. If you assign a non-well-known port number to two or more services, this port number takes effect for only the latest configured service. As a result, the other services using this port number will fail.
Before you assign a non-well-known port number to a service, run the display ip socket register-port command to check non-well-known port numbers that have been assigned to other services, preventing service failures caused by conflicts of non-well-known port numbers.
# Display non-well-known port numbers that have been assigned to services on the device.
<sysname> display ip socket register-port
Port Task Type 1025 Etrunk TCP 2000 Sma TCP 3000 Shy TCP 65535 L2tp TCP 1025 Etrunk UDP 2000 Sma UDP 3000 Shy UDP 65535 L2tp UDP
Item |
Description |
|---|---|
Port |
Non-well-known port number that has been assigned to a service |
Task |
Name of the task to which a non-well-known port number is assigned |
Type |
Port type, including TCP and UDP |