Common commands for Win2KWinXP network display Configuration

Source: Internet
Author: User

Use netstat to display connection statistics
You can use the netstat command to display the Protocol statistics and the current TCP/IP connection. The netstat-a command displays all connections, while the netstat-r command displays the route table and active connections. The netstat-e command displays Ethernet statistics, while netstat-s displays statistics for each protocol. If netstat-n is used, the address and port number cannot be converted to the name.
Tracert is a routing tracking utility used to determine the path adopted by the IP datagram access target. The Tracert command uses the ip ttl field and the ICMP error message to determine the route from one host to other hosts on the network.
-D: do not resolve the IP address to the host name.
-H maximum_hops specifies the number of hops to track the route of the host called target_name.
-J host-list specifies the list of router interfaces in the path used by the Tracert utility package.
-W timeout: the number of milliseconds specified for each reply.
The target host name or IP address of target_name.
The pathping command is a routing tracking tool that combines the ping and tracert commands with other information not provided by the two tools. The pathping Command sends data packets to each vro in the path to the destination within a period of time, and then returns the data packet-based computer results from each hop. Because the command shows how much data packets are lost on any given vro or link, it is easy to determine the vro or link that may cause network problems.
-N Hostnames does not resolve the address to the host name.
-H Maximum hops: the Maximum number of hops for a search target.
-G Host-list: Release the source route along the route list.
-P Period: the number of milliseconds that a ping can wait.
-Q Num_queries: the number of queries per hop.
-W Time-out indicates the number of milliseconds each reply takes.
-T Layer 2 tag connects the Layer 2nd priority mark (for example, for IEEE 802.1 p) to the data packet and sends it to each network device in the path. This helps identify network devices that are not correctly configured with Layer 2 priority. The-T switch is used to test QoS connectivity.
-R rsvp test Che check to determine whether each vro in the path supports the resource retention Protocol (RSVP), which allows the host to retain a certain amount of bandwidth for the data stream. The-R switch is used to test QoS connectivity.
Interactive use of DHCP commands at a command prompt
Open a command prompt.
Type netsh.
On the netsh> Netshell command prompt line, type "dhcp ".
On the dhcp> (DHCP Helper Program) command prompt line, type server \ servername or server ip_address for the server you want to manage.
Once the server you have the permission to manage is successfully connected, you will see "you can read and write the server servername"
Once the connection is successful, you can use any supported Netshell commands for DHCP. Type /? Or help to display the direct DHCP sub-command menu or as an option. Type list to list all Netshell sub-commands that can be used with DHCP.
Route command
Routing ip add/delete/set/show interface add, delete, configure, or display general IP Route settings on the specified interface.
Routing ip add/delete/set/show filter add, delete, configure, or display IP packet filters on the specified interface.
Routing ip add/delete/show boundary add, delete, or display multicast boundary settings on the specified interface.
Routing ip add/set ipiptunnel add or configure IP interfaces in the IP address.
Routing ip add/delete/set/show rtmroute add, configure, or display the route table manager route.
Routing ip add/delete/set/show persistentroute add, delete, configure, or display continuous routing.
Routing ip add/delete/set/show preferenceforprotocol add, delete, configure, or display the priority of the routing protocol.
Routing ip add/delete/set/show scope add, delete, or display multicast scope.
Routing ip set/show loglevel configuration or display the Global IP record level.
Routing ip show helper displays all the Netsh utilities of the IP.
Routing ip show protocol displays all running IP routing protocols.
Routing ip show mfe displays multicast forwarding items.
Routing ip show mfestats displays multicast forwarding item statistics.
Routing ip show boundarystats displays IP multicast boundary.
Routing ip show rtmdestinations displays the target in the route table manager route table.
Routing ip show rtmroutes displays the routes in the route table of the route table manager.
Routing ip nat set/show global configuration or display global Network Address Translation (NAT) settings.
Routing ip nat add/delete/set/show interface add, delete, configure, or display the NAT settings of the specified interface.
Routing ip nat add/delete addressrange add or delete an address range in the public address pool of the NAT interface.
Routing ip nat add/delete addressmapping add or delete NAT address ing.
Routing ip nat add/delete portmapping add or delete NAT port ing.
Routing ip autodhcp set/show global configuration or display the global DHCP distributor parameters.
Routing ip autodhcp set/show interface configuration or display DHCP distributor settings for the specified interface.
Routing ip autodhcp add/delete exclusion adds or deletes an exclusion range in the DHCP distributor address range.
Routing ip dnsproxy set/show global configuration or display global DNS proxy parameters.
Routing ip dnsproxy set/show interface configuration or display DNS proxy parameters of the specified interface.
Routing ip igmp set/show global configuration or display IGMP global settings.
Routing ip igmp add/delete/set/show interface add, delete, configure, or display IGMP on the specified interface.
Routing ip igmp add/delete staticgroup add or delete the static multicast group of the specified interface.
Routing ip igmp show grouptable displays the IGMP Host group table.
Routing ip igmp show ifstats displays IGMP statistics for each interface.
Routing ip igmp show iftable displays the IGMP Host group for each interface.
Routing ip igmp show proxygrouptable: displays the IGMP group table of the IGMP proxy interface.
Routing ip igmp show rasgrouptable displays the group table of the Internet interfaces used by the remote access server.
Routing ip ospf set/show global configuration or display global OSPF settings.
Routing ip ospf add/delete/set/show interface add, delete, configure, or display OSPF on the specified interface.
Routing ip ospf add/delete/set/show area add, delete, configure, or display the OSPF area.
Routing ip ospf add/delete/show range add, delete, configure, or display a range in the specified OSPF area.
Routing ip ospf add/delete/set/show virtif add, delete, configure, or display OSPF Virtual interfaces.
Routing ip ospf add/delete/show neighbor add, delete, configure, or display OSPF neighbors.
Routing ip ospf add/delete/show protofilter add, delete, configure, or display the routing information sources of OSPF external routes.
Routing ip ospf add/delete/show routefilter add, delete, configure, or display the routing filtering of OSPF external routes.
Routing ip ospf show areastats displays OSPF region statistics.
Routing ip ospf show B displays the OSPF link status database.
Routing ip ospf show virtifstats displays OSPF Virtual link statistics.
Routing ip relay set global configuration "DHCP relay agent" global settings.
Routing ip relay add/delete/set interface add, delete, or configure "DHCP relay agent" settings on the specified interface.
Routing ip relay add/delete dhcpserver add or delete the IP address of the DHCP server in the DHCP server address list.
Routing ip relay show ifbinding display interface IP Address binding.
Routing ip relay show ifconfig displays the "DHCP relay agent" configuration for each interface.
Routing ip relay show ifstats displays DHCP statistics for each interface.
Routing ip rip set/show global configure ip rip global settings.
Routing ip rip add/delete/set/show interface add or configure ip rip settings on the specified interface.
Routing ip rip add/delete peerfilter add or delete the RIP peer filter.
Routing ip rip add/delete acceptfilter add or delete RIP route filters in the list of accepted routes.
Routing ip rip add/delete announcefilter add or delete RIP route filters in the published route list.
Routing ip rip add/delete/show neighbor add or delete RIP neighbors.
Routing ip rip set/show flags configure advanced ip rip settings on the specified interface.
Routing ip rip show globalstats displays global RIP parameters.
Routing ip rip show ifbinding display interface IP Address binding.
Routing ip rip show ifstats displays the RIP statistics for each interface.
IPX netsh routing command
Routing ipx add/set staticroute add or configure a static IPX route in the IPX route table.
Routing ipx add/set staticservice add or configure the static SAP service in the SAP service table.
Routing ipx add/set filter add or configure IPX packet filter on the specified interface.
Routing ipx add/set interface enables IPX routing on the request dialing interface, or configures IPX settings on the specified interface.
Routing ipx set global configuration global IPX route settings.
Routing ipx rip add/set filter add and configure the RIP route filter.
Routing ipx rip set global configuration RIP settings for global IPX.
The routing ipx rip set interface configures the RIP settings of IPX on the specified interface.
Routing ipx sap add/set filter add or configure the SAP service filter.
Routing ipx sap set global configuration SAP settings for global IPX.
Routing ipx sap set interface configure the SAP settings of IPX on the specified interface.
Routing ipx netbios add nbname add the static NETBIOS name to the IPX NetBIOS name table.
Routing ipx netbios set interface configure IPX-based NetBIOS settings on the specified interface.
WINS NetSh command
List lists all available WINS commands.
Dump dumps the configurations of the WINS server to the command output.
Add name is registered on the server. For more information, enter add name /?
Add partner adds a replication partner to the server. For more information, enter add partner /?
Add pngserver add the current server's Persona Non Grata server list. For more information, enter add pngserver /?
Check database to check database Consistency. For details, enter check database /?
Check name checks the list of names of a group of WINS servers. For details, enter check name /?
Check version to check whether the version number is consistent. For details, enter check version /?
Delete name: deletes the registered name from the server database. For more information, enter delete name /?
Delete partner deletes a copy partner from the copy partner List. For more information, enter delete partner /?
Delete records deletes all or a group of records from the server or logically deletes them. For details, enter delete records /?
Delete owners: delete the owner list and its records. For more information, enter delete owners /?
Delete pngserver deletes All or selected Persona Non Grata servers from the list. For more information, enter delete pngserver /?
Init backup backs up the WINS database. For more information, enter init backup /?
Init import imports data from The Lmhosts file. For more information, enter init import /?
Init pull starts the "pull" Trigger and sends it to another WINS server. For more information, enter init pull /?
Init pullrange starts a group of records of another WINS server and reads the records. For more information, enter init pullrange /?
Init push starts the "push" Trigger and sends it to another WINS server. For more information, enter init push /?
Init replicate uses the replication partner to copy the database. For more information, enter init replicate /?
Init restore restores a database from a file. For more information, enter init restore /?
Init scavenge clears the WINS database of the server. For more information, enter init scavenge /?
Init search server WINS database. For more information, enter init search /?
Reset statistics reset server statistics. For more information, enter reset statistics /?
Set autopartnerconfig sets the automatic replication partner configuration information of the server. For more information, enter set autopartnerconfig /?
Set backuppath to set the backup parameters of the server. For more information, enter set backuppath /?
Set burstparam sets the server's burst processing parameters. For more information, enter set autopartnerconfig /?
Set logparam to set database and event logging options. For details, enter set logparam /?
Set migrateflag to set the migration flag of the server. For more information, enter set migrateflag /?
Set namerecord sets the server interval and the supervalue. For more information, enter set namerecord /?
Set periodicdbchecking sets the server's regular database check parameters. For more information, enter set periodicdbchecking /?
Set pullpartnerconfig to set the configuration parameters of the specified "pull" partner. For more information, enter set pullpartnerconfig /?
Set pushpartnerconfig to set the configuration parameters of the specified "push" partner. For more information, enter set pushpartnerconfig /?
Set pullparam sets the default "pull" parameter of the server. For more information, enter set pullparam /?
Set pushparam sets the default "push" parameter of the server. For more information, enter set pushparam /?
Set replicateflag sets the replication flag of the server. For more information, enter set replicateflag /?
Set startversion: set the Start version ID of the database. For more information, enter set startversion /?
Show browser displays the [1Bh] records of the main browsers of all active domains. For more information, enter show browser /?
Show database displays the database and records of the specified server. For more information, enter show database /?
Show info displays the configuration information. For more information, enter show info /?
Show name displays the detailed information of specific records on the server. For more information, enter show name /?
Show partner shows the server's "pull" or "push" (or "push") partners. For more information, enter show partner /?
Show partnerproperties displays the default partner configuration. For more information, enter show partnerproperties /?
Show pullpartnerconfig displays the configuration information of the "pull" partner. For more information, enter show pullpartnerconfig /?
Show pushpartnerconfig displays the configuration information of the "push" partner. For more information, enter show pushpartnerconfig /?
Show reccount displays the number of records owned by the specified server. For details, enter show reccount /?
Show recbyversion displays the records owned by the specified server. For more information, enter show recbyversion /?
Show server displays the currently selected server. For more information, enter show server /?
Show statistics displays the statistics of WINS servers. For more information, enter show statistics /?
Show version displays the current version counter value of the WINS server. For more information, enter show version /?
Show versionmap displays the ing between the owner ID and the "Max versions. For more information, enter show versionmap /?
Interface command
Interface set/show interface Enable, disable, connect, disconnect, and display the configuration of the Request dialing interface.
Interface set/show credentials configure or display the user name, password, and domain name on the request dialing interface.

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.