Display connection statistics using NetStat
You can use the NetStat command to display protocol statistics and current TCP / IP connections. The NetStat -a command will display all connections, and NetStat -r displays routing tables and active connections. The NetStat -E command will display the Ethernet statistics, and NetStat -s displays statistics for each protocol. If NetStat -n is used, the address and port number cannot be converted into a name.
Tracert is a routing trace utility to determine the path taken by IP datagram access. The tracert command uses the IP Living Time (TTL) field and ICMP error messages to determine the route from one host to other hosts on the network.
-d specifies that the IP address is not resolved 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 a list of router interfaces in the Tracert utility packet.
-w Timeout Waiting TIMEOUT for the number of milliseconds specified each time.
Target_name The name or IP address of the target host.
The PATHPING command is a routing trace tool that combines the features of the ping and tracert commands and other information not provided by the two tools. The PATHPING command sends the packet to each router that reaches the path to the final target, and then returns from each hop based on a packet-based computer result. Since the command displays the extent to which the packet is lost on any given router or the link, it is easy to determine the router or link that may cause a network problem.
-n hostnames does not resolve the address as a host name.
-H Maximum HOPS Search The maximum number of hop points for the target.
-g Host-List releases the source rout along the routing list.
-p Period Waiting for milliseconds between ping.
-q num_queries number of queries for each hop.
-w time-out is the number of milliseconds waiting for each time.
-T Layer 2 TAG connects the second layer priority tag (e.g., IEEE 802.1p) to the packet and sends it to each network device in the path. This helps identify network devices that do not correctly configure the second layer priority. -T switch is used to test service quality (QoS) connectivity.
-R RSVP Test CHE Checks whether to determine whether each router in the path supports "Resource Retention Protocol (RSVP)", this protocol allows the host to retain a certain amount of bandwidth for the data stream. -R switch is used to test service quality (QoS) connectivity.
Interacting with DHCP commands at a command prompt
Open the command prompt.
Type Netsh.
In the Netsh> NetShell command prompt line Type "DHCP".
In the DHCP> (DHCP Aid) command prompts, type Server // ServerName or Server IP_ADDRESS for the server you want to manage.
Once you have the right to manage the server has been 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 a direct DHCP sub-command menu or as an option display, type all NetShell subcommands that can be used with DHCP.
Route command
Routing IP Add / Delete / SET / SHOW Interface Add, delete, configure, or display regular IP routing settings on the specified interface.
Routing IP Add / Delete / SET / SHOW FILTER adds, deletes, configures, or displays an IP packet filter on a specified interface.
Routing IP Add / Delete / Show Boundary adds, deletes, or displays multicast boundary settings on the specified interface.
Routing IP Add / Set iPipTunnel Add or configure IP interfaces in IP. Routing IP Add / Delete / Set / Show RTMROUTE Add, Configure, or Display No Sustained Routing Manager Routing.
Routing ip add / delete / set / show personTENTROUTE Add, delete, configure, or display continuous route.
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 the multicast scope.
Routing IP SET / Show Loglevel Configure or Displays the global IP record level.
Routing IP Show Helper Displays all Netsh utility environments of IP.
Routing IP SHOW Protocol Displays all running IP routing protocols.
Routing IP Show MFE displays multicast transfers.
Routing IP Show MFestats Displays multicast forwarding item statistics.
Routing ip show boundaryStats Displays IP multicast boundaries.
Routing IP Show RTMDestinations Displays the goals in the routing table manager routing table.
Routing IP Show RTMroutes Displays the route in the routing table manager routing table.
Routing IP Nat SET / Show Global Configuration or Display Global Network Address Translation (NAT) settings.
Routing IP Nat Add / Delete / SET / SHOW Interface Add, Remove, Configure, or Display NAT settings for the specified interface.
Routing IP Nat Add / Delete AddRESSRANGE adds or deletes an address range in the NAT Interface Public Address Pool.
Routing IP Nat Add / Delete AddressMApping Add or delete NAT address mapping.
Routing IP Nat Add / Delete Portmapping Add or Remove NAT Port Mapping.
Routing IP AutodHCP SET / Show Global Configuration or Display Global DHCP Assignment Parameters.
Routing IP AutodHCP SET / Show Interface Configuration or Displays the DHCP Assigner Settings of the Specified Interface.
Routing IP AutodHCP Add / Delete Exclusion Add or delete a exclusion range in the DHCP distributor address range.
Routing IP DNSPROXY SET / Show Global Configuration or Displays Global DNS Agent Parameters.
Routing IP DNSProxy SET / Show Interface Configuration or Displays the DNS Agent 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 adds or deletes static multicast groups for specified interfaces.
Routing IP IGMP Show GroupTable Displays the IGMP Host Table.
Routing ip igmp show ifstats Displays IGMP statistics for each interface.
Routing IGMP show iftable displays the IGMP host group for each interface.
Routing IP IGMP Show ProxyGrouptable Displays the IGMP group table for the IGMP proxy interface.
Routing IGMP Show Rasgrouptable Displays a group table for the Internet interface 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, Remove, Configure, or Display OSPF area.
Routing IP OSPF Add / Delete / show Range adds, deletes, configures, or displays on the specified OSPF area.
Routing IP OSPF Add / Delete / SET / Show Virtif Add, delete, configure, or display OSPF virtual interface.
Routing IP OSPF Add / Delete / Show neighbor Add, delete, configure, or display OSPF neighbor.
Routing IP OSPF Add / Delete / Show Protofilter Add, Remove, Configure, or Display the route information source for OSPF external routing.
Routing IP OSPF Add / Delete / Show Routefilter Add, Delete, Configure, or Display Route Filtering OSPF External Routing.
Routing IP OSPF SHOW AASTATS Displays OSPF area statistics.
Routing IP OSPF Show B Displays an OSPF link status database.
Routing IP OSPF Show VirtifStats Displays the OSPF virtual link statistics.
Routing IP Relay Set Global Configuring Global Settings for DHCP Relay Agents.
Routing ip relay add / delete / set interface adds, deletes, or configures the "DHCP Relay Agent" setting on the specified interface.
Routing IP Relay Add / Delete DHCPServer adds or deletes the IP address of the DHCP server in the DHCP server address list.
Routing ip relay show ifbinding The IP address binding of the interface.
Routing ip relay show ifconfig Displays the "DHCP Relay Agent" configuration of each interface.
Routing ip relay show ifstats Displays DHCP statistics for each interface.
Routing IP Rip Set / Show Global Configuration 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 RIP peer filters.
Routing IP RIP Add / Delete Acceptfilter adds or deletes RIP routing filters in the accepted routing list.
Routing IP RIP Add / Delete Announcefilter adds or deletes RIP routing filters in the published routing list.
Routing IP RIP Add / Delete / Show Neighbor adds or deletes RIP neighbors.
Routing IP RIP SET / Show Flags Configure IP RIP Advanced Settings on the specified interface.
Routing IP Rip Show GlobalStats Displays global RIP parameters.
Routing ip rip show ifbinding Displays the IP address binding of the interface.
Routing ip rip show ifstats Displays RIP statistics for each interface.
IPX Netsh routing command
Routing IPX Add / Set StaticRoute adds or configures static IPX routing in the IPX routing table.
Routing IPX Add / Set StaticService adds or configures static SAP services in the SAP service table.
Routing IPX Add / SET Filter adds or configures an IPX packet filter on a specified interface. Routing IPX Add / Set Interface Enables IPX routing on the request dial interface, or configures IPX settings on the specified interface.
Routing IPX Set Global Configuration Global IPX Routing Settings.
Routing IPX RIP Add / Set Filter Add and Configure the RIP Route Filter.
Routing IPX Rip Set Global Configure the RIP settings for global IPX.
Routing IPX Rip Set Interface Configuring the RIP settings for IPX on the specified interface.
Routing IPX SAP Add / Set Filter Add or configure SAP service filter.
Routing IPX SAP Set Global Configure the SAP settings for global IPX.
Routing IPX SAP Set Interface Configures the SAP settings for IPX on the specified interface.
Routing IPX NetBIOS Add NBName adds a static NetBIOS name to the IPX NetBIOS name table.
Routing IPX NetBIOS SET Interface Configures IPX-based NetBIOS settings on the specified interface.
WINS Netsh command
List lists all available WINS commands.
DUMP dumps the WINS server configuration to the command output.
Add name registers the name on the server. For more information, please enter add name /?
Add Partner adds a replication partner to the server. For more information, please enter add partner /?
Add pngserver adds a list of Persona Non Grata servers for the current server. For more information, please enter Add PNGServer /?
Check Database Checks the consistency of the database. For more information, please enter Check Database /?
Check Name Checks a list of name records for a set of WINS servers. For more information, please enter Check Name /?
Check Version Check the consistency of the version number. For more information, please enter Check Version /?
DELETE NAME removes the registered name from the server database. For more information, please enter DELETE NAME /?
DELETE PARTNER Removes a replication partner from the replication partner list. For more information, please enter DELETE PARTNER /?
Delete Records deletes all records or a set of records from the server delete or logically. For more information, please enter DELETE RECORDS /?
Delete Owners deletes the owner list and its record. For more information, please enter DELETE OWNERS /?
DELETE PNGServer removes all or selected Persona Non Grata servers from the list. For more information, please enter DELETE PNGSERVER /?
Init Backup Backup WINS Database. For more information, please enter init backup /?
INIT IMPORT imports data from the LMHOSTS file. For more information, please enter the init import /?
Init Pull launches the "pull" trigger and sends it to another WINS server. For more information, please enter the init plup /?
INIT PULLRANGE starts a set of records of another WINS server and reads this record. For more information, please enter the init pullrange /?
Init Push launches the "push" trigger and sends it to another WINS server. For more information, please enter the init push /?
INIT Replicate replicates the database with a replication partner. For more information, enter the init replicate /? Init restore to restore the database from the file. For more information, please enter the init restore /?
Init Scavenge Clears the server's WINS database. For more information, please enter the init scavenge /?
Init Search Search the WINS Database of the Server. For more information, please enter the init search /?
Reset statistics resets the statistics of the server. For more information, please enter reset statistics /?
Set AutoPartnerConfig Sets the server's automatic copy partner configuration information. For more information, please enter Set AutoPartnerConfig /?
Set backuppath Sets the backup parameters of the server. For more information, please enter set backuppath /?
Set BurstParam Sets the burst processing parameters of the server. For more information, please enter Set AutoPartnerConfig /?
Set LogParam Settings Database and Event Logging Options. For more information, please enter Set LogParam /?
Set migrateflag Set the server's migration flag. For more information, please enter set migrateflag /?
Set NameRecord Sets the interval and timeout of the server. For more information, please enter Set NameRecord /?
Set periodicDbchecking Settings the periodic database check parameters for the server. For more information, please enter set periodicDbchecking /?
Set PullPartnerConfig Set the specified "pull" partner's configuration parameters. For more information, please enter Set PULLPartNerConfig /?
Set PushPartnerConfig Set the specified "Push" partner configuration parameter. For more information, please enter Set PushPartnerConfig /?
Set PullParam Sets the default "pull" parameters for the server. For more information, please enter Set PullParam /?
Set PushParam Sets the default "push" parameters for the server. For more information, please enter set pushparam /?
Set replicateflag Set the copy mark of the server. For more information, please enter set replicateflag /?
Set StartVersion Set the start version ID of the database. For more information, please enter Set StartVersion /?
Show Browser displays [1bh] records for all active domain master browsers. For more information, please enter Show Browser /?
Show Database Displays the database and record of the specified server. For more information, please enter show database /?
SHO