A new way to protect network security Netsh commands to help

  

Nowadays, basically nothing can be separated from the network, whether it is remote or uploading at work or entertainment in the life, surfing the Internet is inseparable from the network, more important It is the security of the network that needs to be guaranteed. It can be imagined that today's network has become a part of people's lives. It is very powerful for ordinary people to protect network security. If you can be a network administrator, it is a dream of countless computer enthusiasts.

To become a network administrator, you must first be able to maintain network security and normal operation, and you can quickly resume recovery in the event of a network failure. Of particular importance during network failure recovery is the recovery of server network settings. Let's talk about how to use the Netsh command to backup and restore server network settings in normal network management and maintenance work.

Netsh is a command-line scripting utility provided by the Windows 2000/XP/2003 operating system itself that allows users to display or modify the network configuration of a currently running computer locally or remotely. To archive, back up, or configure other servers, Netsh can also save configuration scripts in a text file.

Backing up the server network settings with the Netsh command is especially simple and convenient, fast and efficient, and requires no additional software assistance. It is ideal for network administrators to back up and restore the server network settings.

Running the Netsh Command

There are two ways to run the Netsh command:

1. Run the Netsh command locally

Click “Start →Run” Enter the Cmd command in the Run dialog and click [OK], then enter the Netsh command at the command prompt.

2. Run the Netsh command remotely

To run the Netsh command on a remote Windows Server server, first connect to the Windows Server server running Terminal Services using “Remote Desktop Connection” Subsequent operations are the same as using the Netsh command locally.

Backup/Restore

Server Network Settings

When it comes to network settings, you will definitely think of IP address, subnet mask, gateway, DNS, etc. (These are mainly interfaces IP configuration parameters). For a normal computer, the network settings only have interface IP configuration parameters; for the server, the network settings include not only the interface IP configuration parameters mentioned above, but also interface configuration, port proxy configuration, remote access configuration, and routing configuration. , DNS proxy configuration, NAT configuration, DHCP relay agent configuration, and more. The above network setting parameters vary according to the special role that the server plays in the network. For example, if the Windows 2000 Server server in the campus network is responsible for connecting to the external network and connecting multiple subnets in the campus, then it must be on the server. Set up remote access configuration, routing configuration, DNS proxy configuration, and NAT configuration.

Copyright © Windows knowledge All Rights Reserved