Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1986-2001 Microsoft Corp. C:\WINDOWS>netsh routing ip show rtmdestinations ?
Usage: show rtmdestinations
[[operator=]matching|shorterthan|longerthan][[dest=][mask=]][[view=]unicast|multicast|both][[proto=]autostatic|local|netmgmgt|nondod|ospf|rip|static]
Parameters:
Tag Value
operator - One of the following values:
matching: show routes matching specified destination
shorterthan: show routes less than the destination
longerthan: show routes longer than the destination
dest - The IP address of the destination
mask - The subnet mask value for the destination IP address
view - One of the following values:
unicast: view only routes used for unicast
multicast: view only routes used for multicast
both: view both unicast and multicast routes (default)
protocol - Show only routes added by a specific routing protocol
Remarks: Displays destinations in the routing table.
The information displayed for this command consists of:
Field Description
----- -----------
Prefix - The address prefix, in Classless Internet Domain Routing
(CIDR) notation (ex. 10.0.0.1/8)
Protocol - The protocol which added the route
Prf - The preference value of the route
Met - The primary metric value of the route, used to
break ties among equal routes with equal preference
Gateway - The IP address of the next hop used in forwarding
Vw - List of views (U=unicast, M=multicast)
Interface - The interface which the route points to and uses
Examples:
show rtmdestinations
show rtmdestinations sh 10.0.0.1
show rtmdestinations lo 172/8
The first command is used to view all prefixes in the routing table.
The second command displays all prefixes shorter than 10.0.0.1 and the
third command is used to view all prefixes in the 172.0.0.0/8 subtree.