| 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. |
The display network status command is used to check the network status, such as the running interfaces and services on the network. For example, when you find that an interface is being used by an unknown module during a security scan, run the command to check out the module.
<sysname> 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 VTYD/3 10.10.10.1:23 10.10.10.201:4332 Established TCP6 VTYD/2 ::->23 ::->0 Listening UDP NTPT/1 0.0.0.0:123 0.0.0.0:0 UDP AGNT/1 0.0.0.0:161 0.0.0.0:0 UDP RDS /1 0.0.0.0:1812 0.0.0.0:0 UDP L2_P/1 0.0.0.0:40000 0.0.0.0:0 UDP6 NTPT/2 ::->123 ::->0 UDP6 AGT6/1 ::->161 ::->0
Item |
Description |
|---|---|
Proto Task/SockId |
Protocol Task and Socket ID |
Local Addr |
Local IP address |
Foreign Addr |
Remote IP address |
State |
Connection status |