Common network security management commands and network security commands
:
Common network security management Commands include: ping command to determine whether the host is connected, ipconfig to view IP address configuration, and netstat command to view network connection status, net commands for network operations and at commands for timer operations.
Network connectivity and port scanning commands
Ping Command
The main function is to detect network connectivity and accessibility.
Syntax format: ping + IP address or host name + parameter:
Note: EnterPingYou can view all ping-related commands.
Display dig network configuration information and setting commands
Ipconfig command
The main function is to display all TCP/IP network configuration information, refresh Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings.
Syntax format: ipconfig + Parameters
/? : Displays all available parameter information.
/All: displays all IP address configuration information.
Display connection listening port commands
Netstat command
The main function is to display network connection, route table, and network interface information.
Syntax format: netstat + Parameter
View the Command help: netstat-help
Note: The netstat-an command can be used to view active connections and open ports. It is the easiest way for the network administrator to check whether the network is intruded. If the status is LISTENING, the port is being monitored and is not connected to other hosts. If the status is ESTABLISHED, the port is being connected and communicated with a host, and the IP address and port number of the host are displayed.
Query and modify user information
Net command
The main function is to view the user list on the computer, add and delete users, establish a connection with the other computer, start or stop a network service, and so on.
View:
Syntax format: net user
Modify:
Syntax format: net user account password