Parameter | Description | Value |
---|---|---|
all |
Displays all the network information. |
- |
tcp |
Displays TCP. |
- |
udp |
Displays UDP. |
- |
port port-number |
Specifies the number of an interface. |
The value is an integer ranging from 1 to 65535. |
You can run the display network status command to check the network status, such as the running ports and services on the network. For example, when you find that a port is being used by an unknown module during a security scan, run the display network status command to check out the module.
<HUAWEI> display network status all Proto Task/SockId Local Addr&Port Foreign Addr&Port State TCP VTYD/1 0.0.0.0:23 0.0.0.0:0 Listening TCP HTTP/2 0.0.0.0:80 0.0.0.0:0 Listening TCP HTTP/1 0.0.0.0:443 0.0.0.0:0 Listening TCP VTYD/59 192.168.50.166:23 10.135.19.141:60445 Established TCP6 VTYD/2 ::->23 ::->0 Listening UDP AGNT/1 0.0.0.0:161 0.0.0.0:0 UDP SLAG/1 0.0.0.0:1025 0.0.0.0:0 UDP RDS /1 0.0.0.0:1812 0.0.0.0:0 UDP CMRE/1 0.0.0.0:65311 0.0.0.0:0 UDP6 AGT6/1 ::->161 ::->0 UDP6 RDS /2 ::->1812 ::->0
Item |
Description |
---|---|
Proto |
Protocol |
Task/SockId |
Task and Socket ID
|
Local Addr&Port |
Local IP address and Port number |
Foreign Addr&Port |
Remote IP address and Port number |
State |
Connection status |