A large collection of commonly used vro commands for Network Management (1)

Source: Internet
Author: User

If you have played a vro, you will know the abbreviations of the interesting commands in the vro.

For example, "sh int" means "show interface ".

Now Windows 2000 has a tool similar to the interface called netsh.

In the cmd shell of Windows 2000, enter netsh

Come out: netsh> prompt,

Enter an int ip address:

Interface ip>

Enter dump to view the network configuration of the current system:

# ---------------------------------- # Interface IP Configuration # ---------------------------------- pushd interface ip # Interface IP Configuration for "Local Area Connection" set address name = "Local Area Connection" source = static addr = 192.168.1.168 mask = 255.255.255.0 add address name = "Local Area Connection" addr = 192.1.1.111 mask = 255.255.255.0 set address name = "Local Area Connection" gateway = 192.168.1.100 gwmetric = 1 set dns name = "Local Area Connection" source = static addr = 202.96.209.5 set wins name = "Local Area Connection" source = static addr = nonepopd # End of interface IP configuration 

The above describes a method of interactive operations.

Run the following command:

"Netsh interface ip add address" Local Area Connection "10.0.0.2 255.0.0.0"

To add IP addresses.

It doesn't matter if you don't know the syntax!

At the prompt, enter? You can find the answer. Convenience and inconvenience?

In the past, Microsoft also had some things that people liked. Unfortunately, there are very few!

Windows command line program

This part includes:

Use ipconfig/all to view configurations

Use ipconfig/renew to refresh the configuration

Use ipconfig to manage DNS and DHCP category IDS

Use Ping to test the connection

Use Arp to solve hardware address problems

Use nbtstat to solve NetBIOS name problems

Use netstat to display connection statistics

Use tracert to track Network Connections

Use pathping to test the vro

Use ipconfig/all to view configurations

When detecting and solving TCP/IP network problems, first check the TCP/IP configuration on the computer where the problem occurs. You can use the ipconfig command to obtain the host configuration information, including the IP address, subnet mask, and default gateway.

Note:

For Windows 95 and Windows 98 clients, use the winipcfg command instead of the ipconfig command.

When you use the ipconfig command with the/all option, a detailed configuration report of all interfaces is provided, including any configured serial ports. You can use ipconfig/all to redirect command output to a file and paste the output to other documents. You can also use the output to confirm the TCP/IP configuration of each computer on the network, or further investigate TCP/IP network problems.

For example, if the IP address configured on the computer is the same as the existing IP address, the subnet mask is 0.0.0.0.

The following example shows the ipconfig/all command output. The computer is configured to use the DHCP server to dynamically Configure TCP/IP and use WINS and DNS server to resolve the name.

Windows 2000 IP Configuration Node Type.. . . . . . . . : Hybrid IP Routing Enabled.. . . . : No WINS Proxy Enabled.. . . . : No Ethernet adapter Local Area Connection: Host Name.. . . . . . . . : corp1.microsoft.com DNS Servers . . . . . . . : 10.1.0.200 Description. . . . . . . : 3Com 3C90x Ethernet Adapter Physical Address. . . . . : 00-60-08-3E-46-07 DHCP Enabled.. . . . . . . : Yes Autoconfiguration Enabled.: Yes IP Address. . . . . . . . . : 192.168.0.112 Subnet Mask. . . . . . . . : 255.255.0.0 Default Gateway. . . . . . : 192.168.0.1 DHCP Server. . . . . . . . : 10.1.0.50 Primary WINS Server. . . . : 10.1.0.101 Secondary WINS Server. . . : 10.1.0.102 Lease Obtained.. . . . . . : Wednesday, September 02, 1998 10:32:13 AM Lease Expires.. . . . . . : Friday, September 18, 1998 10:32:13 AM 

If the TCP/IP configuration is correct, perform the next step to connect to other hosts on the TCP/IP network.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.