< Home

display network status

Function

The display network status command displays the network status of a device.

Format

display network status { all | tcp | udp | port port-number }

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# Display the IPv4 RawIP connection status.
<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
Table 1 Description of the display rawip status command output

Item

Description

Proto Task/SockId

Protocol Task and Socket ID

Local Addr

Local IP address

Foreign Addr

Remote IP address

State

Connection status

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >