|
Windows 2000/XP netsh routing command
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1986-2001 Microsoft Corp.
C:\Windows>netsh routing ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
dump - Displays a configuration script.
help - Displays a list of commands.
ip - Changes to the `netsh routing ip' context.
ipx - Changes to the `netsh routing ipx' context.
reset - Resets IP routing to a clean state.
The following sub-contexts are available:
ip ipx
To view help for a command, type the command, followed by a space, and then
type ?.
Displays a configuration script.
C:\Windows>netsh routing dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing help ?
Usage: help
Remarks:
Displays a list of commands.
Changes to the `netsh routing ip' context.
C:\Windows>netsh routing ip ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a list of entries.
autodhcp - Changes to the `netsh routing ip autodhcp' context.
delete - Deletes a configuration entry from a list of entries.
dnsproxy - Changes to the `netsh routing ip dnsproxy' context.
dump - Displays a configuration script.
help - Displays a list of commands.
igmp - Changes to the `netsh routing ip igmp' context.
nat - Changes to the `netsh routing ip nat' context.
ospf - Changes to the `netsh routing ip ospf' context.
relay - Changes to the `netsh routing ip relay' context.
reset - Resets IP routing to a clean state.
rip - Changes to the `netsh routing ip rip' context.
routerdiscovery - Changes to the `netsh routing ip routerdiscovery' context.
set - Sets configuration information.
show - Displays information.
update - Updates auto-static routes on an interface.
The following sub-contexts are available:
autodhcp dnsproxy igmp nat ospf relay rip routerdiscovery
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a list of entries.
C:\Windows>netsh routing ip add ?
The following commands are available:
Commands in this context:
add boundary - Adds a multicast scope boundary on an interface.
add filter - Adds a packet filter to a specified interface.
add interface - Enables IP forwarding on an interface.
add persistentroute - Adds a persistent static route.
add preferenceforprotocol - Adds a preference level for a routing protocol.
add rtmroute - Adds a non-persistent (NetMgmt) route.
add scope - Adds a multicast scope.
Adds a multicast scope boundary on an interface.
C:\Windows>netsh routing ip add boundary ?
Usage: add boundary [name=]<string> [grpaddr=]<IP address> [grpmask=]<IP address>
-or-
add boundary [name=]<string> [scopename=]<string>
Parameters:
Tag Value
name - The name of the interface where the boundary is to
be added.
grpaddr - The multicast group address of the boundary to add.
grpmask - The subnet mask of the boundary address to be added.
scopename - The name of the multicast scope to be bounded.
Remarks: Adds a multicast scope boundary on an interface.
Examples:
add boundary name=Internal grpaddr=239.0.0.1 grpmask=255.255.255.255
add boundary name="Local Area Connection" scopename="My Mcast Scope"
Adds a packet filter to a specified interface.
C:\Windows>netsh routing ip add filter ?
Usage: add filter [name=]<string> [filtertype=]{INPUT|OUTPUT|DIAL}
[srcaddr=]<IP address> [srcmask=]<IP subnet mask>
[dstaddr=]<IP address> [dstmask=]<IP subnet mask>
{[proto=] ANY |
[proto=]{TCP|TCP-EST|UDP} [srcport=]<integer> [dstport=]<integer> |
[proto=] ICMP [type=]<integer> [code=]<integer> }
Parameters:
Tag Value
name - The name of the interface where the filter is to
be added.
filtertype - One of the following values:
input: If the filter being modified filters input
output: If the filter being modified filters output
dial: If the filter being modified filters a dial-up
interface being connected
srcaddr - Source address field of the packet to be filtered.
srcmask - Source address mask of the packet to be filtered.
An address and mask of all 0's means ANY.
dstaddr - Destination address field of packet to be filtered.
dstmask - Destination address mask of packet to be filtered.
proto - The protocol type for the packet to be filtered.
srcport - The source port field of the packet to be filtered.
A value of 0 means ANY.
dstport - The destination port field of packet to filtered.
A value of 0 means ANY.
type - The ICMP type field of the packet to be filtered.
A value of 255 means ANY.
code - The ICMP code field of the packet to be filtered.
A value of 255 means ANY.
Remarks: Adds a packet filter to the specified interface.
Examples:
add filter name="Virtual Private Connection" filtertype=input
srcaddr=0.0.0.0 srcmask=255.255.255.255 dstaddr=169.254.0.0
dstmask=255.255.0.0 proto=any
add filter "Virtual Private Connection" input 0.0.0.0 0.0.0.0
169.254.0.0 255.255.0.0 any
Enables IP forwarding on an interface.
C:\Windows>netsh routing ip add interface ?
Usage: add interface [name=]<string> [[state=]enable|disable]
Parameters:
Tag Value
name - The name of the interface to be added.
state - One of the following values:
enable: Enables the IP interface as you add it.
disable: Disables the IP interface as you add it.
Remarks: Enables or disables IP forwarding on an interface.
Examples:
add interface name="Local Area Connection" state=enable
Adds a persistent static route.
C:\Windows>netsh routing ip add persistentroute ?
Usage: add persistentroute [dest=]<IP address> [mask=]<IP subnet mask>
[name=]<string> [[nhop=]<IP address>] [[proto=]static|nondod]
[[preference=]integer] [[metric=]integer]
[[view=]unicast|multicast|both]
Parameters:
Tag Value
dest - The destination address for the specified route.
mask - The subnet mask for the destination address.
name - The interface where the route is to be added.
nhop - The next hop for the route. For routes over
point-to-point interfaces, this value is not needed.
proto - One of the following values:
static: Trigger demand-dial connection (default)
nondod: Do not trigger deamnd-dial connection
preference - The preference for the route.
metric - The metric for the route.
view - One of the following values:
unicast: Route is valid only for unicast traffic
multicast: Route is valid only for multicast traffic
both: Route is valid for both unicast and multicast
traffic (default)
Remarks: Adds a persistent static route to the specified interface.
Examples:
add persistentroute 192.168.1.0 255.255.255.0 "Virtual Private Connection"
Adds a preference level for a routing protocol.
C:\Windows>netsh routing ip add preferenceforprotocol ?
Usage: add preferenceforprotocol [proto=] autostatic|local|netmgmgt|nondod|ospf|rip|static
[preflevel=]<integer>
Parameters:
Tag Value
proto One of the following values:
autostatic: Adds an autostatic routing preference
local: Adds a local routing preference
netmgmt: Adds a routing protocol preference for a
network management protocol
nondod: Adds a preference for a routing protocol
not able to use demand-dial
ospf: Adds a routing protocol prference for OSPF
rip: Adds a routing protocol prference for RIP
static: Adds a static routing preference
preflevel A number indicating preference
Remarks: Adds a preference level for a routing protocol.
Examples:
add preferenceforprotocol proto=rip preflevel=10
add preferenceforprotocol ospf 10
Adds a non-persistent (NetMgmt) route.
C:\Windows>netsh routing ip add rtmroute ?
Usage: add rtmroute [dest=]<IP address> [mask=]<IP subnet mask>
[[nameorindex=]string] [[nhop=]<IP address>]
[[preference=]integer] [[metric=]integer]
[[view=]unicast|multicast|both]
Parameters:
dest - The destination IP address for the specified route.
mask - The subnet mask for the destination address.
nameorindex - The interface where the route is to be added.
nhop - The next hop for the route. For routes over
point-to-point interfaces, this field is not needed.
preference - The preference for the route.
metric - The metric for the route.
view - One of the following values:
unicast: Route is valid only for unicast traffic
multicast: Route is valid only for multicast traffic
both: Route is valid for both unicast and multicast
traffic (default)
Remarks: Adds a non-persistent netmgmt route given an interface
and/or nexthop.
Examples:
add rtmroute 192.168.1.0 255.255.255.0 "Virtual Private Connection"
Adds a multicast scope.
C:\Windows>netsh routing ip add scope ?
Usage: add scope [grpaddr=]<IP address> [grpmask=]<IP subnet mask>
[scopename=]<string>
Parameters:
Tag Value
grpaddr - The multicast scope or group IP address
grpmask - The subnet mask for the multicast scope address
scopename - The name of the multicast scope to be added
Remarks: Adds a multicast scope to the IP routing configuration.
Examples:
add scope 239.1.1.1 255.255.255.224 "My Multicast Scope"
Changes to the `netsh routing ip autodhcp' context.
C:\Windows>netsh routing ip autodhcp ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a table.
delete - Deletes a configuration entry from a table.
dump - Displays a configuration script.
help - Displays a list of commands.
install - Installs the routing protocol corresponding to the current context.
set - Sets configuration information.
show - Displays information.
uninstall - Removes the routing protocol corresponding to the current context.
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a table.
C:\Windows>netsh routing ip autodhcp add ?
The following commands are available:
Commands in this context:
add exclusion - Adds an exclusion to the DHCP allocator scope.
Adds an exclusion to the DHCP allocator scope.
C:\Windows>netsh routing ip autodhcp add exclusion ?
Usage: add exclusion [exclusion=]<IP address>
Parameters:
Tag Value
address - An IP address to exclude from the DHCP allocator scope.
Remarks: Adds an IP address exclusion to the DHCP allocator scope, which can
be used to allocate addresses dynamically by a Windows 2000 router.
Examples:
add exclusion exclusion=10.0.0.1
Deletes a configuration entry from a table.
C:\Windows>netsh routing ip autodhcp delete ?
The following commands are available:
Commands in this context:
delete exclusion - Deletes an exclusion from the DHCP allocator scope.
Deletes an exclusion from the DHCP allocator scope.
C:\Windows>netsh routing ip autodhcp delete exclusion ?
Usage: delete exclusion [exclusion=]<IP address>
Parameters:
Tag Value
address - An IP address already exlcuded from the DHCP allocator
scope.
Remarks: Deletes an IP address previously excluded from the DHCP allocator
scope.
Examples:
delete exclusion exclusion=10.0.0.1
Displays a configuration script.
C:\Windows>netsh routing ip autodhcp dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ip autodhcp help ?
Usage: help
Remarks:
Displays a list of commands.
Installs the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip autodhcp install ?
Usage: install
Installs the routing protocol under IP.
Sets configuration information.
C:\Windows>netsh routing ip autodhcp set ?
The following commands are available:
Commands in this context:
set global - Changes global DHCP allocator parameters.
set interface - Changes DHCP allocator parameters for an interface.
Changes global DHCP allocator parameters.
C:\Windows>netsh routing ip autodhcp set global ?
Usage: set global [[scopenetwork=]IP address] [[scopemask=]IP subnet mask]
[[leasetime=]duration (minutes)] [[loglevel=]none|error|warn|info]
Parameters:
Tag Value
scopenetwork - The IP network address for the DHCP allocator scope.
scopemask - The subnet mask associated with the network address.
leasetime - The lease duration time, specified in minutes.
loglevel - One of the following values:
none: No logging of DHCP allocation events.
error: Log only errors related to DHCP allocation.
warn: Log warnings related to DHCP allocation.
info: Log information related to DHCP allocation.
Remarks: Sets global parameters used to support DHCP allocation.
Examples:
set global 10.10.10.0 255.255.255.0 11520 info
set global leasetime=4320
The first example command sets the IP network for DHCP allocation
to 10.10.10.0, an associated scope subnet mask of 255.255.255.0,
a lease time of 11520 minutes (8 days), and logging of information for
all related events. The second example command adjusts only the lease
time globally for all scopes on all interfaces to a new value of
4320 minutes (3 days).
Changes DHCP allocator parameters for an interface.
C:\Windows>netsh routing ip autodhcp set interface ?
Usage: set interface [name=]string [[mode=]enable|disable]
Parameters:
Tag Value
name - The name of the specific interface where you want to set
DHCP allocator parameters.
mode - One of the following values:
enable: Enables DHCP allocation for the interface.
disable: Disables DHCP allocation for the interface.
Remarks: Sets DHCP allocator parameters for an interface specified by name.
Examples:
set interface name="Local Area Connection" mode=enable
Displays information.
C:\Windows>netsh routing ip autodhcp show ?
The following commands are available:
Commands in this context:
show global - Shows DHCP allocator configuration.
show interface - Shows DHCP allocator configuration for the specified interface.
Shows DHCP allocator configuration.
C:\Windows>netsh routing ip autodhcp show global ?
Usage: show global
Remarks: Displays the DHCP allocator global configuration.
The information displayed for this command consists of:
Field Description
----- -----------
Scope Address Shows IP address configured for the DHCP allocator scope.
Scope Mask Shows subnet mask associated with the network IP address.
Lease Time Shows DHCP lease duration time in minutes.
Logging Level Shows the level of logging for events related to DHCP
allocation.
Shows DHCP allocator configuration for the specified interface.
C:\Windows>netsh routing ip autodhcp show interface ?
Usage: show interface
Parameters:
Tag Value
name - The name of the specific interface for which you want
to view DHCP allocator parameters.
Remarks: Displays the DHCP allocator configuration for a specified interface.
Examples:
show interface name="Local Area Connection"
Removes the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip autodhcp uninstall ?
Usage: uninstall
Removes the routing protocol corresponding to the current context.
Deletes a configuration entry from a list of entries.
C:\Windows>netsh routing ip delete ?
The following commands are available:
Commands in this context:
delete boundary - Deletes a multicast scope boundary from an interface.
delete filter - Deletes a filter from a specified interface.
delete interface - Deletes IP forwarding on a specified interface.
delete persistentroute - Deletes a persistent static route.
delete preferenceforprotocol - Deletes preference for a specified protocol.
delete rtmroute - Deletes a non-persistent route used for network management.
delete scope - Deletes a multicast scope.
Deletes a multicast scope boundary from an interface.
C:\Windows>netsh routing ip delete boundary ?
Usage: delete boundary [name=]<string> [grpaddr=]<IP address> [grpmask=]<IP net mask>
-or-
delete boundary [name=]<string> [scopename=]<string>
Parameters:
Tag Value
name - The name of the interface where the boundary is to
be deleted.
grpaddr - The group address of the boundary to delete.
grpmask - The subnet mask of the boundary to delete.
scopename - The name of the multicast scope.
Remarks: Deletes a multicast scope boundary from an interface.
Examples:
delete boundary "Local Area Connection (2)" 239.2.2.2 255.255.255.255
delete boundary "Local Area Connection (2)" "My Multicast Scope"
Deletes a filter from a specified interface.
C:\Windows>netsh routing ip delete filter ?
Usage: delete filter [name=]<string> [filtertype=]{INPUT|OUTPUT|DIAL}
[srcaddr=]<IP address> [srcmask=]<IP subnet mask>
[dstaddr=]<IP address> [dstmask=]<IP subnet mask>
{[proto=]ANY |
[proto=]{TCP|TCP-EST|UDP} [srcport=]<integer> [dstport=]<integer> |
[proto=]ICMP [type=]<integer> [code=]<integer> }
Parameters:
Tag Value
name - The name of the interface where filter is deleted.
filtertype - One of the following values:
input: If the filter being modified filters input
output: If the filter being modified filters output
dial: If the filter being modified filters a dial-up
interface being connected
srcaddr - Source address field of the packet to be filtered.
srcmask - Source address mask of the packet to be filtered.
An address and mask of all 0's means ANY.
dstaddr - Destination address field of packet to be filtered.
dstmask - Destination address mask of packet to be filtered.
proto - The protocol type for the packet to be filtered.
srcport - The source port field of the packet to be filtered.
A value of 0 means ANY.
dstport - The destination port field of packet to filtered.
A value of 0 means ANY.
type - The ICMP type field of the packet to be filtered.
A value of 255 means ANY.
code - The ICMP code field of the packet to be filtered.
A value of 255 means ANY.
Remarks: Deletes a packet filter from the specified interface.
Examples:
delete filter name="Virtual Private Connection" filtertype=input
srcaddr=0.0.0.0 srcmask=255.255.255.255 dstaddr=169.254.0.0
dstmask=255.255.0.0 proto=any
delete filter "Virtual Private Connection" input 0.0.0.0 0.0.0.0
169.254.0.0 255.255.0.0 any
Deletes IP forwarding on a specified interface.
C:\Windows>netsh routing ip delete interface ?
Usage: delete interface [name=]<string>
Parameters:
Tag Value
name - The name of the interface to be deleted.
Remarks: Deletes and removes IP forwarding for a specified interface.
Examples:
delete interface name="Local Area Connection"
Deletes a persistent static route.
C:\Windows>netsh routing ip delete persistentroute ?
Usage: delete persistentroute [dest=]<IP address> [mask=]<IP subnet mask>
[name=]<string> [[nhop=]<IP address>]
Parameters:
Tag Value
dest - The destination address for the specified route.
mask - The subnet mask for the destination address.
name - The interface for which the route is being deleted.
nhop - The next hop for the route. This is not needed for
routes over point-to-point interfaces.
Remarks: Deletes a persistent static route from the specified interface.
Examples:
delete persistentroute 192.168.1.0 255.255.255.0 "Dial-up Connection"
delete persistentroute 192.168.1.0 255.255.255.0 "Local Area Connection"
nhop=10.0.0.1
Deletes preference for a specified protocol.
C:\Windows>netsh routing ip delete preferenceforprotocol ?
Usage: delete preferenceforprotocol [proto=]autostatic|local|netmgmgt|nondod|ospf|rip|static
Parameters:
Tag Value
proto - One of the following values:
autostatic: Deletes an autostatic routing preference
local: Deletes a local routing preference
netmgmt: Deletes a routing protocol prference for a
network management protocol
nondod: Deletes a preference for a routing protocol
not able to use demand-dial
ospf: Deletes a routing protocol prference for OSPF
rip: Deletes a routing protocol prference for RIP
static: Deletes a static routing preference
Remarks: Deletes a preference level for a specified routing protocol type.
Examples:
delete preferenceforprotocol proto=rip
delete preferenceforprotocol ospf
Deletes a non-persistent route used for network management.
C:\Windows>netsh routing ip delete rtmroute ?
Usage: delete rtmroute [dest=]<IP address> [mask=]<IP subnet mask>
[[nameorindex=]name|index] [[nhop=]<IP address>]
Parameters:
Tag Value
dest - The destination address for the route specified.
mask - The subnet mask for the destination address.
nameorindex - The interface from which route is to be deleted.
nhop - Next hop for the route. This is not needed for routes
over point to point interfaces.
Remarks: Deletes a non-persistent network management route when either an
interface name or a next hop count is specified.
Examples:
delete rtmroute 192.168.1.0 255.255.255.0 "Virtual Private Connection"
delete rtmroute 192.168.1.0 255.255.255.0 "Local Area Connection"
nhop=10.0.0.1
Deletes a multicast scope.
C:\Windows>netsh routing ip delete scope ?
Usage: delete scope [grpaddr=]<IP address> [grpmask=]<IP subnet mask>
-or-
delete scope [scopename=]<string>
Parameters:
Tag Value
grpaddr - The multicast scope or group IP address
grpmask - The subnet mask for the multicast scope address
scopename - The name of the multicast scope to be deleted
Remarks: Deletes a multicast scope for the IP routing configuration.
Examples:
delete scope 239.1.1.1 255.255.255.255
delete scope "My Multicast Scope"
Changes to the `netsh routing ip dnsproxy' context.
C:\Windows>netsh routing ip dnsproxy ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
dump - Displays a configuration script.
help - Displays a list of commands.
install - Installs the routing protocol corresponding to the current context.
set - Sets configuration information.
show - Displays information.
uninstall - Removes the routing protocol corresponding to the current context.
To view help for a command, type the command, followed by a space, and then
type ?.
Displays a configuration script.
C:\Windows>netsh routing ip dnsproxy dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ip dnsproxy help ?
Usage: help
Remarks:
Displays a list of commands.
Installs the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip dnsproxy install ?
Usage: install
Installs the routing protocol under IP.
Sets configuration information.
C:\Windows>netsh routing ip dnsproxy set ?
The following commands are available:
Commands in this context:
set global - Sets global DNS proxy parameters.
set interface - Sets DNS proxy parameters for an interface.
Sets global DNS proxy parameters.
C:\Windows>netsh routing ip dnsproxy set global ?
Usage: set global [[querytimeout=]integer][[dnsmode=]enable|disable]
[[loglevel=]none|error|warn|info]
Parameters:
Tag Value
querytimeout - A timeout in second for proxied DNS queries.
dnsmode - One of the following values:
enable: Enables DNS proxy operation.
disable: Disables DNS proxy operation.
loglevel - One of the following values:
none: No logging of DNS proxy events.
error: Log only errors related to DNS proxy.
warn: Log warnings related to DNS proxy.
info: Log information related to DNS proxy.
Remarks: Sets DNS proxy parameters globally for all routed interfaces.
Examples:
set global 10 enable none
The example command shows how you can enable DNS proxy
globally to use query timeout of 10 seconds and set logging level
so that no logging of DNS proxy events is performed.
Sets DNS proxy parameters for an interface.
C:\Windows>netsh routing ip dnsproxy set interface ?
Usage: set interface [name=]<string> [[mode=]enable|disable|default]
Parameters:
Tag Value
name - The name of the specific interface for which you want
to set view DNS proxy parameters.
mode - One of the following values:
enable: Enables DNS proxy for the specified interface.
disable: Disables DNS proxy for the specified interface.
default: Sets DNS proxy to use the default for the
specified interface.
Remarks: Displays the DNS proxy configuration for a specified interface.
Examples:
set interface name="Local Area Connection" mode=enable
Displays information.
C:\Windows>netsh routing ip dnsproxy show ?
The following commands are available:
Commands in this context:
show global - Show DNS proxy configuration.
show interface - Shows DNS proxy configuration for the specified interface.
Show DNS proxy configuration.
C:\Windows>netsh routing ip dnsproxy show global ?
Usage: show global
Remarks: Displays the DNS proxy global configuration.
The information displayed for this command consists of:
Field Description
----- -----------
DNS Proxy Mode Shows whether DNS proxy is enabled or disabled.
Query Timeout Shows the DNS query timeout as a value in seconds.
Logging Level Shows the level of logging for events related to DNS
proxy.
Shows DNS proxy configuration for the specified interface.
C:\Windows>netsh routing ip dnsproxy show interface ?
Usage: show interface
Parameters:
Tag Value
name - The name of the specific interface for which you want
to view DNS proxy parameters.
Remarks: Displays the DNS proxy configuration for a specified interface.
Examples:
show interface name="Local Area Connection"
Removes the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip dnsproxy uninstall ?
Usage: uninstall
Removes the routing protocol corresponding to the current context.
Displays a configuration script.
C:\Windows>netsh routing ip dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ip help ?
Usage: help
Remarks:
Displays a list of commands.
Changes to the `netsh routing ip igmp' context.
C:\Windows>netsh routing ip igmp ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a table.
delete - Deletes a configuration entry from a table.
dump - Displays a configuration script.
help - Displays a list of commands.
install - Installs IGMP router/proxy and sets global logging.
set - Sets configuration information.
show - Displays information.
uninstall - Removes the routing protocol corresponding to the current context.
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a table.
C:\Windows>netsh routing ip igmp add ?
The following commands are available:
Commands in this context:
add interface - Configures IGMP on the specified interface.
Configures IGMP on the specified interface.
C:\Windows>netsh routing ip igmp add interface ?
Usage: add interface [name=]<string>
[[igmpprototype=]igmprtrv1|igmprtrv2|igmprtrv3|igmpproxy]
[[ifenabled=]enable|disable] [[robustvar=]integer]
[[genqueryinterval=]integer] [[genqueryresptime=]integer]
[[startupquerycount=]integer] [[startupqueryinterval=]integer]
[[lastmemquerycount=]integer] [[lastmemqueryinterval=]integer]
[[accnonrtralertpkts=]yes|no]
Parameters:
Tag Value
name - The name of the specific interface where
IGMP is being configured.
igmpprototype - The type of protocol to be configured on the
interface. The default type is igmprtrv2.
ifenabled - If protocol should be enabled or disabled.
The default is enabled.
robustvar - Robustness variable. Should be greater than
zero (0). The default value is 2. Max 7.
genqueryinterval - An interval in seconds at which general
queries should be sent on the interface.
The default value is 125 seconds.
genqueryresptime - The maximum response time in seconds by
which hosts should respond to a general
query. The default value is 10 seconds.
startupquerycount - The number of general queries that will be
sent during startup. The default value is 2.
startupqueryinterval - The interval between general queries sent
during startup. The default value is 31 seconds.
lastmemquerycount - The number of group-specific queries sent
when notice of a host leaving the group is
received. The default value is 2.
lastmemqueryinterval - The interval between group-specific queries.
The default value is 1000 milliseconds.
accnonrtralertpkts - Whether to accept IGMP packets that might
not have the router alert option set. The
default is 'yes'.
Remarks: Configures IGMP on the specified interface. For IGMP Proxy, only
the 'ifenabled' parameter is used. For IGMP v1 routers,
'lastmemquerycount' and 'lastmemqueryinterval' are not used.
Example:
add interface "Local Area Connection" startupqueryinterval=21
The example command modifies the default startup query interval to
21 seconds for use with IGMP configuration of the specified interface.
Where other parameters are not used, related default values are assumed.
Deletes a configuration entry from a table.
C:\Windows>netsh routing ip igmp delete ?
The following commands are available:
Commands in this context:
delete interface - Removes IGMP router/proxy from the specified interface.
Removes IGMP router/proxy from the specified interface.
C:\Windows>netsh routing ip igmp delete interface ?
Usage: delete interface [name=]<string>
Parameters:
Tag Value
name - The name of a specific interface where the use of an IGMP
router or an IGMP proxy is to be removed.
Remarks: Removes an IGMP router/proxy from an interface, specified by name.
Examples:
delete interface "Local Area Connection"
Displays a configuration script.
C:\Windows>netsh routing ip igmp dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ip igmp help ?
Usage: help
Remarks:
Displays a list of commands.
Installs IGMP router/proxy and sets global logging.
C:\Windows>netsh routing ip igmp install ?
Usage: install [[loglevel=]none|error|warn|info]
Parameters:
Tag Value
loglevel - One of the following values:
none: No logging of IGMP-related events.
error: Log only errors related to IGMP.
warn: Log warnings related to IGMP.
info: Log information related to IGMP.
Remarks: Installs IGMP router/proxy and sets global logging level.
Example:
install loglevel=none
Sets configuration information.
C:\Windows>netsh routing ip igmp set ?
The following commands are available:
Commands in this context:
set global - Sets IGMP global parameters.
set interface - Changes interface configuration parameters.
Sets IGMP global parameters.
C:\Windows>netsh routing ip igmp set global ?
Usage: set global [[loglevel=]none|error|warn|info]
Parameters:
Tag Value
loglevel - One of the following values:
none: No logging of IGMP-related events.
error: Log only errors related to IGMP.
warn: Log warnings related to IGMP.
info: Log information related to IGMP.
Remarks: Sets global parameters for IGMP router/proxy, such as logging for
related events.
Example:
set global loglevel=none
Changes interface configuration parameters.
C:\Windows>netsh routing ip igmp set interface ?
Usage: set interface [name=]<string>
[[igmpprototype=]igmprtrv1|igmprtrv2|igmprtrv3|igmpproxy]
[[ifenabled=]enable|disable] [[robustvar=]integer]
[[genqueryinterval=]integer] [[genqueryresptime=]integer]
[[startupquerycount=]integer] [[startupqueryinterval=]integer]
[[lastmemquerycount=]integer] [[lastmemqueryinterval=]integer]
[[accnonrtralertpkts=]yes|no]
Parameters:
Tag Value
name - The name of the specific interface where
IGMP is being configured.
igmpprototype - The type of protocol to be configured on the
interface. The default type is igmprtrv2.
ifenabled - Whether protocol should be enabled or
disabled.
The default is enabled.
robustvar - Robustness variable. Should be greater than
zero (0). The default value is 2.
genqueryinterval - An interval in seconds at which general
queries should be sent on the interface.
The default value is 125 seconds.
genqueryresptime - The maximum response time in seconds by
which hosts should respond to a general
query. The default value is 10 seconds.
startupquerycount - The number of general queries that are to be
sent during startup. The default value is 2.
startupqueryinterval - The interval between general queries sent
during startup. The default value is 31
seconds.
lastmemquerycount - The number of group-specific queries sent
when notice of a host leaving the group is
received. The default value is 2.
lastmemqueryinterval - The interval between group-specific queries.
The default value is 1000 milliseconds.
accnonrtralertpkts - Whether to accept IGMP packets that might
not have the router alert option set. The
default is 'yes'.
Remarks: Configures IGMP on the specified interface. For IGMP Proxy, only
the 'ifenabled' parameter is used. For IGMP v1 routers,
'lastmemquerycount' and 'lastmemqueryinterval' are not used.
Example:
set interface "Local Area Connection" startupqueryinterval=21
The example command modifies the default startup query interval to
21 seconds for use with IGMP configuration of the specified interface.
Where other parameters are not used, related default values are assumed.
Displays information.
C:\Windows>netsh routing ip igmp show ?
The following commands are available:
Commands in this context:
show global - Displays the global IGMP parameters.
show grouptable - Shows IGMP hosts group table for a multicast group.
show ifstats - Shows IGMP statistics for a specified interface.
show iftable - Shows IGMP host groups for a specified interface.
show interface - Displays the interface IGMP configuration.
show proxygrouptable - Shows IGMP hosts group table for an IGMP Proxy interface.
show rasgrouptable - Shows hosts group table for a Remote Access client interface
Displays the global IGMP parameters.
C:\Windows>netsh routing ip igmp show global ?
Usage: show global
Remarks: Displays the global logging level, such as whether logging of
errors, warnings, or informational messages is being performed.
Shows IGMP hosts group table for a multicast group.
C:\Windows>netsh routing ip igmp show grouptable ?
Usage: show grouptable [[index=]<IP address> [[rr=]integer]]
Parameters:
Tag Value
index - The IP address of the multicast group for which
you want to display active hosts that are joined to it.
rr - A refresh rate expressed as a value in seconds.
Remarks: Shows the hosts table for a specified multicast group.
Examples:
show grouptable index=239.192.1.100 rr=5
The example command shows the hosts table for an IGMP multicast group
identified by the IP address of 239.192.1.100 with a refresh rate of
every 5 seconds.
Shows IGMP statistics for a specified interface.
C:\Windows>netsh routing ip igmp show ifstats ?
Usage: show ifstats [[index=]integer [[rr=]integer]]
Parameters:
Tag Value
index - A number identifying the interface for which IGMP
statistics are to be displayed.
rr - A refresh rate expressed as a value in seconds.
Remarks: Shows IGMP statistics for a specified interface.
Examples:
show ifstats index=1001 rr=5
The example command shows IGMP statistics for an interface with an
index value of 1001, using a refresh rate of every 5 seconds.
Shows IGMP host groups for a specified interface.
C:\Windows>netsh routing ip igmp show iftable ?
Usage: show iftable [[index=]integer [[rr=]integer]]
Parameters:
Tag Value
index - A number identifying the interface for which IGMP host
groups are to be displayed.
rr - A refresh rate expressed as a value in seconds.
Remarks: Shows IGMP host groups for a specified interface.
Examples:
show iftable index=1001 rr=5
The example command shows IGMP host groups for an interface with an
index value of 1001 using a refresh rate of every 5 seconds.
Displays the interface IGMP configuration.
C:\Windows>netsh routing ip igmp show interface ?
Usage: show interface [name=]<string>
Parameters:
Tag Value
name - The name of a specific interface for which the IGMP router
or IGMP proxy configuration is to be shown.
Remarks: Displays the IGMP protocol configuration information for the
interface specified by name.
Examples:
show interface "Local Area Connection"
Shows IGMP hosts group table for an IGMP Proxy interface.
C:\Windows>netsh routing ip igmp show proxygrouptable ?
Usage: show proxygrouptable [[rr=]integer]
Parameters:
Tag Value
rr - A refresh rate expressed as a value in seconds.
Remarks: Shows IGMP hosts group table for an IGMP Proxy interface.
Examples:
show proxygrouptable rr=5
Shows hosts group table for a Remote Access client interface
C:\Windows>netsh routing ip igmp show rasgrouptable ?
Usage: show rasgrouptable [[index=]<IP address> [[rr=]integer]]
Parameters:
Tag Value
index - The IP address of the Remote Access client interface
for which you want to display multicast groups it has
joined.
rr - A refresh rate expressed as a value in seconds.
Remarks: Shows hosts group table for a Remote Access client interface.
Examples:
show rasgrouptable index=10.10.1.100 rr=5
Removes the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip igmp uninstall ?
Usage: uninstall
Removes the routing protocol corresponding to the current context.
Changes to the `netsh routing ip nat' context.
C:\Windows>netsh routing ip nat ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a table.
delete - Deletes a configuration entry from a table.
dump - Displays a configuration script.
help - Displays a list of commands.
install - Installs the routing protocol corresponding to the current context.
set - Sets configuration information.
show - Displays information.
uninstall - Removes the routing protocol corresponding to the current context.
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a table.
C:\Windows>netsh routing ip nat add ?
The following commands are available:
Commands in this context:
add addressmapping - Adds an IP address mapping to the NAT interface address pool.
add addressrange - Adds an address range to the NAT interface address pool.
add ftp - Enables the FTP proxy.
add h323 - Enables the H323 proxy.
add interface - Configures NAT on the specified interface.
add portmapping - Adds a protocol port mapping on the NAT interface.
Adds an IP address mapping to the NAT interface address pool.
C:\Windows>netsh routing ip nat add addressmapping ?
Usage: add addressmapping [name=]<string> [public=]<IP address> [private=]<IP address>
[inboundsessions=]enable|disable
Parameters:
Tag Value
name - The name of the interface where network address
translation is to be used.
public - The IP address used externally on a public network.
private - The IP address contained within the pooled range of
addresses available for use on the private network.
inboundsessions - One of the following values:
enable: Enables inbound sessions.
disable: Disables inbound sessions.
Remarks: Adds an IP address mapping to the network address translation (NAT)
address pool.
Examples:
add addressmapping "Local Area Connection" 11.11.11.1 10.10.10.1 disable
The example command adds an address mapping of a public IP address
(11.11.11.1) to an IP address within the private range (10.10.10.1)
and disables inbound sessions for this NAT table mapping.
Adds an address range to the NAT interface address pool.
C:\Windows>netsh routing ip nat add addressrange ?
Usage: add addressrange [name=]<string> [start=]<IP address>
[end=]<IP address> [mask=]<IP subnet mask>
Parameters:
Tag Value
name - The name of the interface where network address
translation is to be used.
start - The starting IP address for the address range.
end - The ending IP address for the address range.
mask - The IP subnet mask associated with the network
range bounded by the start and end IP addresses.
Remarks: Adds an IP address range to the network address translation (NAT)
address pool.
Examples:
add addressrange "Local Area Connection" 10.10.10.1 10.10.10.254
255.255.255.0
The example command adds an address range to the NAT address pool,
with addresses 10.10.10.1 to 10.10.10.254, and a mask of 255.255.255.0.
Enables the FTP proxy.
C:\Windows>netsh routing ip nat add ftp ?
Usage: add ftp
Remarks: Enables the FTP Transparent Proxy on the NAT server.
Enables the H323 proxy.
C:\Windows>netsh routing ip nat add h323 ?
Usage: add h323
Remarks: Enables the H323 Transparent Proxy on the NAT server.
Configures NAT on the specified interface.
C:\Windows>netsh routing ip nat add interface ?
Usage: add interface
[name=]<string>
[[mode=]Full|AddressOnly|Private|
FullFirewall|AddressOnlyFirewall|FirewallOnly]
Parameters:
Tag Value
name - the name of the interface.
mode - One of the following values:
Full: Enables full(address and port) translation mode.
AddressOnly: Enables address-only translation mode.
Private: Enables private mode.
FullFirewall: Enables full translation with firewall.
AddressOnlyFirewall: Enables address-only translation
with firewall.
FirewallOnly: Enables firewall only.
Remarks: Configures network address translation (NAT) on the specified
interface.
Examples:
add interface "Local Area Connection" full
Adds a protocol port mapping on the NAT interface.
C:\Windows>netsh routing ip nat add portmapping ?
Usage: add portmapping [name=]<string> [proto=]tcp|udp [publicip=]<IP address>|0.0.0.0
[publicport=]integer [privateip=]<IP address> [privateport=]integer
Parameters:
Tag Value
name - The name of the interface for which you want to add a
port mapping to be enabled for use with NAT.
proto - One of the following values:
tcp: Sets protocol type to TCP.
udp: Sets protocol type to UDP.
publicip - Either a specified external IP address on the public
network or 0.0.0.0 to indicate any IP address not
specified within the private network address range.
publicport - A number from 0 to 9999 for the public protocol port.
privateip - An IP address within the private network range.
publicport - A number from 0 to 9999 for the private protocol port.
Remarks: Adds a protocol port mapping on the NAT interface.
Examples:
add portmapping local tcp 0.0.0.0 80 10.0.0.1 80
Deletes a configuration entry from a table.
C:\Windows>netsh routing ip nat delete ?
The following commands are available:
Commands in this context:
delete addressmapping - Deletes an address mapping from the NAT interface address pool.
delete addressrange - Deletes an address range from the NAT interface address pool.
delete ftp - Disables the FTP proxy.
delete h323 - Disables the H323 proxy.
delete interface - Removes NAT from the specified interface.
delete portmapping - Deletes a protocol port mapping from a NAT-enabled interface.
Deletes an address mapping from the NAT interface address pool.
C:\Windows>netsh routing ip nat delete addressmapping ?
Usage: delete addressmapping [name=]<string> [public=]<IP address>
Parameters:
Tag Value
name - The name of the interface for which you want to delete
an address mapping.
public - The IP address used on the public network.
Remarks: Deletes an address mapping from the NAT interface address pool.
Examples:
delete addressmapping "Local Area Connection" 11.11.11.11
Deletes an address range from the NAT interface address pool.
C:\Windows>netsh routing ip nat delete addressrange ?
Usage: delete addressrange [name=]<string> [start=]<IP address>
Parameters:
Tag Value
name - The name of the interface for which you want to delete
an address range.
start - The starting IP address of the range being deleted.
Remarks: Deletes an address range from the NAT interface address pool.
Examples:
delete addressrange "Local Area Connection" 10.10.10.1
Disables the FTP proxy.
C:\Windows>netsh routing ip nat delete ftp ?
Usage: delete ftp
Remarks: Disables the FTP Transparent Proxy on the NAT server.
Disables the H323 proxy.
C:\Windows>netsh routing ip nat delete h323 ?
Usage: delete h323
Remarks: Disables the H323 Transparent Proxy on the NAT server.
Removes NAT from the specified interface.
C:\Windows>netsh routing ip nat delete interface ?
Usage: delete interface [name=]<string>
Parameters:
Tag Value
name - The name of the interface for which you want to remove
the use of network address translation (NAT).
Remarks: Removes NAT from the specified interface.
Examples:
delete interface "Local Area Connection"
Deletes a protocol port mapping from a NAT-enabled interface.
C:\Windows>netsh routing ip nat delete portmapping ?
Usage: delete portmapping [name=]<string> [proto=]tcp|udp [publicip=]<IP address>|0.0.0.0
[publicport=]integer
Parameters:
Tag Value
name - The name of the interface from which you want to delete
a NAT port mapping.
proto - One of the following values:
tcp: Sets protocol type to TCP.
udp: Sets protocol type to UDP.
publicip - Either a specified external IP address on the public
network or 0.0.0.0 to indicate any IP address not
specified within the private network address range.
publicport - A number from 0 to 9999 for the public protocol port.
Remarks: Deletes a protocol port mapping from the specified NAT interface.
Examples:
delete portmapping local tcp 0.0.0.0 80
Displays a configuration script.
C:\Windows>netsh routing ip nat dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ip nat help ?
Usage: help
Remarks:
Displays a list of commands.
Installs the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip nat install ?
Usage: install
Installs the routing protocol under IP.
Sets configuration information.
C:\Windows>netsh routing ip nat set ?
The following commands are available:
Commands in this context:
set global - Sets global NAT parameters.
set interface - Changes NAT parameters for an interface.
Sets global NAT parameters.
C:\Windows>netsh routing ip nat set global ?
Usage: set global [[tcptimeoutmins=]integer] [[udptimeoutmins=]integer]
[[loglevel=]none|error|warn|info]
Parameters:
Tag Value
tcptimeoutmins - The timeout value in minutes used for TCP mappings.
udptimeoutmins - The timeout value in minutes used for UDP mappings.
loglevel - One of the following values:
none: No logging of NAT-related events.
error: Log only errors related to NAT.
warn: Log warnings related to NAT.
info: Log information related to NAT.
Remarks: Sets global NAT parameters.
Example:
set global tcptimeoutmins=1440 udptimeoutmins=1 loglevel=error
Changes NAT parameters for an interface.
C:\Windows>netsh routing ip nat set interface ?
Usage: set interface
[name=]<string>
[[mode=]Full|AddressOnly|Private|
FullFirewall|AddressOnlyFirewall|FirewallOnly]
Parameters:
Tag Value
name - the name of the interface.
mode - One of the following values:
Full: Enables full(address and port) translation mode.
AddressOnly: Enables address-only translation mode.
Private: Enables private mode.
FullFirewall: Enables full translation with firewall.
AddressOnlyFirewall: Enables address-only translation
with firewall.
FirewallOnly: Enables firewall only.
Remarks: Changes network address translation (NAT) for the specified
interface.
Examples:
set interface "Local Area Connection" full
Displays information.
C:\Windows>netsh routing ip nat show ?
The following commands are available:
Commands in this context:
show global - Shows NAT configuration.
show interface - Shows NAT configuration for the specified interface.
Shows NAT configuration.
C:\Windows>netsh routing ip nat show global ?
Usage: show global
Remarks: Shows network address translation (NAT) global configuration.
The information displayed for this command consists of:
Field Description
----- -----------
TCP Timeout Displays the TCP timeout used for translation (in minutes).
UDP Timeout Displays the UDP timeout used for translation (in minutes).
Logging Level Displays the level of logging for NAT-related events.
Shows NAT configuration for the specified interface.
C:\Windows>netsh routing ip nat show interface ?
Usage: show interface [name=]<string>
Parameters:
Tag Value
name - the name of the interface.
Remarks: Shows NAT configuration for the specified interface
.
The information displayed for this command consists of the following:
Field
Description
----- ----------
-
Mode Indicates if the interface is operating in either
full
mode (both IP address and port translation), address
only
translation mode, private mode, full mode with firewall,
address only mode with firewall, or firewall only mode
.
Protocol Displays the protocol type used for NAT port mapping
.
Public address Displays the IP address for the public network
.
Public port Displays the public protocol port by its number
.
Private address Displays the IP address for the private network
.
Private port Displays the private protocol port by its number
.
Removes the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip nat uninstall ?
Usage: uninstall
Removes the routing protocol corresponding to the current context.
Changes to the `netsh routing ip ospf' context.
C:\Windows>netsh routing ip ospf ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a table.
delete - Deletes a configuration entry from a table.
dump - Displays a configuration script.
help - Displays a list of commands.
install - Installs the routing protocol corresponding to the current context.
set - Sets configuration information.
show - Displays information.
uninstall - Removes the routing protocol corresponding to the current context.
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a table.
C:\Windows>netsh routing ip ospf add ?
The following commands are available:
Commands in this context:
add area - Adds Area.
add interface - Enables OSPF on the specified interface.
add neighbor - Adds OSPF neighbor.
add protofilter - Adds OSPF protocol filter.
add range - Adds a range for the specified Area ID.
add routefilter - Add OSPF route filter.
add virtif - Adds virtual interface.
Adds Area.
C:\Windows>netsh routing ip ospf add area ?
Usage: add area [areaid=] <IP address>
Parameters:
Tag Value
areaid - The IP address of the area to add.
Remarks: Adds an ID for the area. This is a 32-bit number expressed in dotted
decimal notation that identifies the OSPF area. The area ID does not need to
coincide with an IP address or IP network ID. The area ID of 0.0.0.0 is
reserved for the backbone. If the area represents a subnetted network, you
can use the IP network number of the subnetted network for the area ID.
Examples:
add area 11.1.1.2
Enables OSPF on the specified interface.
C:\Windows>netsh routing ip ospf add interface ?
Usage: add interface [name=]<string> [areaid=]<IP address>
[[addr=]<IP address> [mask=]<IP address>]
Parameters:
Tag Value
name - Name of the interface to add.
areaid - IP address of area that the interface belongs to.
addr - IP address of the interface to add.
mask - IP address mask of the interface to add.
Remarks: Enables OSPF on the specified interface.
The address and mask parameters are optional.
For interfaces that have only one IP address the address and mask
can be omitted. For Point to Point interfaces or interfaces that
receive their address via DHCP, the address and mask should be
omitted since the address is not fixed for these interfaces
For interfaces that have multiple IP addresses the address and mask
must be specified for each add command so that the IP address for
which OSPF is being added is unambiguous
Examples:
add interface "Local Area Connection" 0.0.0.0 11.0.0.1 255.255.255.0
Adds OSPF neighbor.
C:\Windows>netsh routing ip ospf add neighbor ?
Usage: add neighbor [name=]<string> [addr=]<IP address> [nbraddr=]<IP address>
[nbrprio=]<value>
Parameters:
Tag Value
name - Name of the OSPF interface.
addr - IP address of the OSPF interface.
nbraddr - IP address of the neighbor that you want to add. The
IP address is the IP interface address of the neighbor
router on the NBMA network. This is not the OSPF router
ID of the neighbor.
nbrprio - OSPF router priority of the neighbor. For each router
listed, the eligibility of that router to become a
designated router must be defined. When an interface to
a nonbroadcast network comes up, the router sends hello
packets only to those neighbors eligible to become a
designated router until the identity of the designated
router is discovered. A neighbor is eligible to become
the designated router if its router priority is 1 or
greater.
Remarks: Adds the IP address of the OSPF router at the other end of the
NBMA link.
Examples:
add neighbor "Local Area Connection" 10.0.0.1 10.0.0.2 1
Adds OSPF protocol filter.
C:\Windows>netsh routing ip ospf add protofilter ?
Usage: add protofilter [[filter=]AUTOSTATIC|LOCAL|RIP|SNMP|NONDOD|STATIC]
Parameters:
Tag Value
filter - One of the following values:
autostatic
local
rip
snmp
nondod
static
Remarks: Adds an OSPF protocol filter.
Examples:
add protofilter autostatic
Adds a range for the specified Area ID.
C:\Windows>netsh routing ip ospf add range ?
Usage: add range [areaid=]<IP address> [range=]<IP address> <IP Mask>
Parameters:
Tag Value
areaid - The IP address of the area to which range is added.
range - The IP address and mask of the area range to add.
Remarks: Adds the IP address and mask pair that define a range of addresses
belonging to this area. OSPF ranges are used to summarize the routes within
this OSPF area.
Examples:
add range 0.0.0.1 11.1.0.0 255.255.0.0
Add OSPF route filter.
C:\Windows>netsh routing ip ospf add routefilter ?
Usage: add routefilter [filter=]<IP address> <IP mask>
Parameters:
Tag Value
filter - IP address and mask of route to be filtered
Remarks: Adds an OSPF route filter.
Examples:
add routefilter 11.1.0.0 255.255.0.0
Adds virtual interface.
C:\Windows>netsh routing ip ospf add virtif ?
Usage: add virtif [transareaid=]<IP address> [virtnbrid=]<IP address>
Parameters:
Tag Value
transareaid - IP address of the transit area used to exchange routing
information between the area border router of the
noncontiguous area and the backbone area border router.
virtnbrid - Router ID of the virtual neighbor to add.
Remarks: Adds the virtual interfaces for this router. A virtual interface is
used to create a virtual link. A virtual link is a logical connection between
a backbone area border router and an area border router that cannot be
physically connected to the backbone area. Once created, the virtual link is
used to exchange routing information between the area border router of the
noncontiguous area and the backbone area border router.
Examples:
add virtif 10.0.0.1 11.1.1.2
Deletes a configuration entry from a table.
C:\Windows>netsh routing ip ospf delete ?
The following commands are available:
Commands in this context:
delete area - Deletes specified area.
delete interface - Removes OSPF from the specified interface.
delete neighbor - Deletes the specified OSPF neighbor.
delete protofilter - Deletes an OSPF protocol filter.
delete range - Deletes specified range for the Area ID.
delete routefilter - Deletes OSPF route filter.
delete virtif - Deletes specified virtual interface.
Deletes specified area.
C:\Windows>netsh routing ip ospf delete area ?
Usage: delete area [areaid=]<IP Address>
Parameters:
Tag Value
areaid - Ip address of the area to delete.
Remarks: Deletes an ID for the area. This is a 32-bit number expressed in
dotted decimal notation that identifies the OSPF area. The area ID does not
need to coincide with an IP address or IP network ID. The area ID of 0.0.0.0
is reserved for the backbone. If the area represents a subnetted network, you
can use the IP network number of the subnetted network for the area ID.
Examples:
delete area 10.0.0.1
Removes OSPF from the specified interface.
C:\Windows>netsh routing ip ospf delete interface ?
Usage: delete interface [name=]<string>
[[addr=]<IP Address> [mask=]<IP address>]
Parameters:
Tag Value
name Name of the OSPF interface to delete.
addr - IP address of the interface to delete.
mask - IP address mask of the interface to delete.
Remarks: Disables OSPF on the interface for the selected IP address.
The address and mask parameters are optional
For interfaces that have only one IP address the address and mask
can be omitted. For Point to Point interfaces or interfaces that
receive their address via DHCP, the address and mask should be
omitted since the address is not fixed for these interfaces
For interfaces that have multiple IP addresses the address and mask
must be specified for each delete command so that the IP address for
which OSPF is being deleted is unambiguous. In this case if no
address is specified, OSPF is deleted for all addresses
Examples:
delete interface "Local Area Connection" 11.1.1.1 255.255.255.0
Deletes the specified OSPF neighbor.
C:\Windows>netsh routing ip ospf delete neighbor ?
Usage: delete neighbor [name=]<string> [addr=]<IP Address> [nbraddr=]<IP Address>
Parameters:
Tag Value
name - Name of the OSPF interface.
addr - IP address of the OSPF interface.
nbraddr - IP address of the neighbor that you want to delete. The
IP address is the IP interface address of the neighbor
router on the NBMA network. This is not the OSPF router
ID of the neighbor.
Remarks: Deletes the IP address of an OSPF router at the other end of an
NBMA interface.
Examples:
delete neighbor "Local Area Connection" 10.0.0.1 10.0.0.2
Deletes an OSPF protocol filter.
C:\Windows>netsh routing ip ospf delete protofilter ?
Usage: delete protofilter [[filter=]AUTOSTATIC|LOCAL|RIP|SNMP|NONDOD|STATIC]
Parameters:
Tag Value
filter - One of the following values:
autostatic
local
rip
snmp
nondod
static
Remarks: Deletes the specified OSPF protocol filter.
Examples:
delete protofilter autostatic
Deletes specified range for the Area ID.
C:\Windows>netsh routing ip ospf delete range ?
Usage: delete range [areaid=]<IP Address> [range=]<IP Address> <IP Mask>
Parameters:
Tag Value
areaid - The IP address of the area to delete.
range - The IP address and mask of the range to delete.
Remarks: Deletes the IP address and mask pair that define a range of addresses
belonging to this area. OSPF ranges are used to summarize the routes within
this OSPF area.
Examples:
delete range 10.0.0.1 11.1.1.2
Deletes OSPF route filter.
C:\Windows>netsh routing ip ospf delete routefilter ?
Usage: delete routefilter [filter=]<IP address> <IP Mask>
Parameters:
Tag Value
filter - IP address and mask of route filter to delete
Remarks: Deletes specified OSPF route filter.
Examples:
delete routefilter 11.1.0.0 255.255.0.0
Deletes specified virtual interface.
C:\Windows>netsh routing ip ospf delete virtif ?
Usage: delete virtif [transareaid=]<IP Address> [virtnbrid=]<IP Address>
Parameters:
Tag Value
transareaid - IP address of the transit area to delete.
virtnbrid - Router ID of the virtual neighbor to delete.
Remarks: Deletes the virtual interfaces for this router.
Examples:
delete virtif 10.0.0.1 11.1.1.2
Displays a configuration script.
C:\Windows>netsh routing ip ospf dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ip ospf help ?
Usage: help
Remarks:
Displays a list of commands.
Installs the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip ospf install ?
Usage: install
Installs the routing protocol under IP.
Sets configuration information.
C:\Windows>netsh routing ip ospf set ?
The following commands are available:
Commands in this context:
set area - Changes OSPF parameters for the specified area.
set global - Changes global OSPF parameters.
set interface - Changes OSPF configuration parameters for the interface.
set protofilter - Sets OSPF protocol filter action.
set routefilter - Sets OSPF route filter action.
set virtif - Changes OSPF parameters for the specified virtual interface.
Changes OSPF parameters for the specified area.
C:\Windows>netsh routing ip ospf set area ?
Usage: set area [areaid=] <IP address>
[[auth=]none|password]
[[stubarea=]yes|no]
[metric=]<value>
[[sumadv=]yes|no]
Parameters:
Tag Value
areaid - The IP address of the OSPF area to set parameters.
auth - Specifies whether plaintext passwords are required for
the area. If you require passwords for an area:
All interfaces in the same area that are on the
same network segment must use identical passwords.
Interfaces in the same area that are on different
networks can have different passwords.
By default, passwords are enabled and the password is
12345678. Passwords are transmitted in plaintext,
so this option is for identification, not security.
stubarea - Specifies whether this area is configured as a stub
area. A stub area is an OSPF area that does not
enumerate external routes. External routes from
outside the OSPF Autonomous System (AS) are not
flooded into or through stub areas. Routing to AS
external destinations in these areas is based only
on a summary default route. This reduces the overhead
for a stub area's internal routers.
You cannot configure the backbone as a stub area. You
cannot configure virtual links through stub areas.
metric - The cost of the summary default route that the router
advertises into the stub area. If the area is configured
as a stub area, and the router itself is an area border
router, then the stub metric indicates the cost of the
summary default route that the router advertises into
the area.
sumadv - Import summary advertisements
Remarks: Changes OSPF parameters for the specified area.
Examples:
set area 10.0.0.1 auth=none stubarea=yes sumadv=yes
Changes global OSPF parameters.
C:\Windows>netsh routing ip ospf set global ?
Usage: set global [routerid=]<IP address>
[[asborder=]yes|no]
[[loglevel=]none|error|warn|info]
Parameters:
Tag Value
routerid - The IP address of the router.
asborder - Specifies whether the router acts as an Autonomous
System (AS) boundary router. An AS boundary router
advertises external routing information from other route
sources, such as static routes and the Routing
Information Protocol (RIP), into the OSPF AS. AS
boundary routers can be internal or area border routers
and can be connected to the backbone.
One of the following values:
yes: Autonomous Systems boundry router enabled.
no: Autonomous Systems boundry router disabled.
loglevel - One of the following values:
none: nothing is logged in Event Viewer.
error: errors are logged in Event Viewer.
warn: errors and warnings are logged in Event Viewer.
info: log the maximum amount of information.
Remarks: Changes global OSPF parameters.
Examples:
set global 10.0.0.1 asborder=yes loglevel=none
Changes OSPF configuration parameters for the interface.
C:\Windows>netsh routing ip ospf set interface ?
Usage: set interface [name=] interface name
[[addr=]<IP address> [mask=]<IP address mask>]
[[state=]enable|disable]
[[areaid=]<IP address>]
[[type=]nbma|p2p|broadcast]
[[prio=]<0-255>]
[[transdelay=]<seconds>]
[[retrans=]<seconds>]
[[hello=]<seconds>]
[[dead=]<seconds>]
[[poll=]<seconds>]
[[metric=] metric]
[[password=]<string>]
[[mtu=]<byted>]
Parameters:
Tag Value
name - The name of the interface.
addr - IP address of the interface.
mask - IP address mask of the interface.
state - One of the following values:
enable: enables the interface.
disable: disables the interface.
areaid - The IP address of the interface area.
type - One of the following values:
nbma: a non-broadcast multiple access (NBMA) OSPF
interface.
p2p: a point-to-point OSPF interface.
broadcast: a broadcast OSPF interface.
prio - Interface priority.
transdelay - The estimated number of seconds it takes to transmit a
link state update packet over this interface.
The default setting is 1 second.
retrans - The number of seconds between link state advertisement
retransmissions for adjacencies belonging to this
interface. A sample value for a local area network is
5 seconds.
hello - The interval in seconds between transmissions of hello
packets by the router on the interface. This setting
must be the same for all routers that are attached to a
common network. A sample value for a local area network
is 10 seconds.
dead - The number of seconds before a neighboring router
considers this router to be down. This setting should
be an integral multiple of the hello interval
(commonly 4). This value must be the same for all OSPF
router interfaces attached to a common network segment.
poll - The number of seconds between OSPF network polls for
non-broadcast multiple access (NBMA) interfaces only.
You should set the poll interval to be at least twice
as long as the dead interval. A sample value for an X.25
network is 2 minutes.
metric - The cost of sending a packet out of this interface.
The value set here is advertised as the link cost for
this interface in the link state advertisement of the
router. Faster interfaces usually have lower costs.
The maximum setting is 32,767.
password - If passwords are enabled for the area (the default
setting) the password used for this interface.
All interfaces in the same area that are on the same
network must use identical passwords.
By default, passwords are enabled and the password is
12345678.
mtu - The maximum size in bytes of IP packets carrying OSPF
information that can be sent without
fragmentation. The default value of 1,500 bytes is the
default IP MTU for an Ethernet network.
Remarks: Changes OSPF configuration parameters for the interface.
Examples:
set interface "Local Area Connection" 10.0.0.1 255.0.0.0 metric=2 mtu=1500
Sets OSPF protocol filter action.
C:\Windows>netsh routing ip ospf set protofilter ?
Usage: set protofilter [action=]drop|accept
Parameters:
Tag Value
action - One of the following values:
drop:
accept:
Remarks: Sets OSPF protocol filter action.
Examples:
set protofilter accept
Sets OSPF route filter action.
C:\Windows>netsh routing ip ospf set routefilter ?
Usage: set routefilter [action=]drop|accept]
Parameters:
Tag Value
action - One of the following values:
drop:
accept:
Remarks: Sets OSPF route filter action.
Examples:
set routefilter accept
Changes OSPF parameters for the specified virtual interface.
C:\Windows>netsh routing ip ospf set virtif ?
Usage: set virtif [transareaid=]<IP Address>
[virtnbrid=]<IP Address>
[transdelay=]<seconds>
[retrans=]<seconds>
[hello=]<seconds>
[dead=]<seconds>
[password=]<string>
Parameters:
Tag Value
transareaid - The IP address of the transit area
virtnbrid - The router ID of the virtual neighbor.
transdelay - The estimated number of seconds it takes to transmit a
link state update packet over this interface. This
value should take into account the transmission and
propagation delays of the interface and network media.
The default setting is 1 second.
retrans - The number of seconds between link state advertisement
retransmissions for adjacencies belonging to this
interface. This value should exceed the expected
round-trip delay between any two routers on the attached
network. However, if this value is not conservative,
needless retransmissions result. The value needs to be
larger on low-speed serial lines. A sample value for a
local area network is 5 seconds.
hello - The interval in seconds between transmissions of hello
packets by the router on the interface. You can also
click the arrows to select a new setting. This setting
must be the same for all routers that are attached to a
common network. The shorter the hello interval, the
faster topological changes are detected. However, a
shorter interval also results in more OSPF traffic. A
sample value for an X.25 network is 30 seconds. A sample
value for a local area network is 10 seconds.
dead - The number of seconds before a neighboring router
considers this router to be down. The router is
determined to be down if a neighboring router does not
receive a hello packet sent by this router within the
specified interval. For example, if your hello interval
setting is 15 seconds and your dead interval is 60
seconds, after sending four hello packets and receiving
no acknowledgment or response, neighboring routers
declare that this router is down. This setting should
be an integral multiple of the hello interval
(commonly 4). This value must be the same for all OSPF
router interfaces attached to a common network segment.
password - If passwords are enabled for the area (the default
setting) the password used for this interface by using
any combination of uppercase or lowercase letters or
numbers.
All interfaces in the same area that are on the same
network must use identical passwords.
Interfaces in the same area that are on different
networks can have different passwords.
By default, passwords are enabled and the password is
12345678. Passwords are transmitted in plaintext, so
this option is for identification, not security. If this
option is unavailable, you must enable passwords for the
area.
Remarks: Changes OSPF parameters for the specified virtual interface.
Examples:
set virtif 10.0.0.1 11.1.1.2 hello=15 dead=60
Displays information.
C:\Windows>netsh routing ip ospf show ?
The following commands are available:
Commands in this context:
show area - Shows area parameters.
show areastats - Shows OSPF area information.
show global - Shows global OSPF parameters.
show interface - Shows OSPF configuration for the specified interface.
show lsdb - Shows OSPF link state database.
show neighbor - Shows OSPF neighbors.
show protofilter - Displays OSPF protocol filter information.
show routefilter - Displays OSPF route filter information.
show virtif - Shows parameters for the specified virtual interface.
show virtifstats - Shows OSPF virtual interfaces.
Shows area parameters.
C:\Windows>netsh routing ip ospf show area ?
Usage: show area
Remarks: Shows area parameters.
Shows OSPF area information.
C:\Windows>netsh routing ip ospf show areastats ?
Usage: show areastats [ [index = ] Area ID ] [ [rr = ] Refresh Rate ]
where refresh rate is time in seconds.
Shows global OSPF parameters.
C:\Windows>netsh routing ip ospf show global ?
Usage: show global
Remarks: Shows global OSPF parameters.
Shows OSPF configuration for the specified interface.
C:\Windows>netsh routing ip ospf show interface ?
Usage: show interface [name=]<string>
Parameters:
Tag Value
name - Name of the OSPF interface configuration to show.
Remarks: Shows OSPF configuration for the specified interface.
Examples:
show interface "Local Area Connection"
Shows OSPF link state database.
C:\Windows>netsh routing ip ospf show lsdb ?
Usage: show lsdb [ [index = ] Area-ID Type Link-State-ID Router-ID ]
[ [rr = ] Refresh Rate ]
where refresh rate is time in seconds.
Shows OSPF neighbors.
C:\Windows>netsh routing ip ospf show neighbor ?
Usage: show neighbor [ [index = ] IP-Address Nbr-Index ] [ [rr = ] Refresh Rate ]
where refresh rate is time in seconds.
Displays OSPF protocol filter information.
C:\Windows>netsh routing ip ospf show protofilter ?
Usage: show protofilter
Remarks: Displays OSPF protocol filter information.
Displays OSPF route filter information.
C:\Windows>netsh routing ip ospf show routefilter ?
Usage: show routefilter
Remarks: Displays OSPF route filter information.
Shows parameters for the specified virtual interface.
C:\Windows>netsh routing ip ospf show virtif ?
Usage: show virtif
Remarks: Shows parameters for the specified virtual interface.
Shows OSPF virtual interfaces.
C:\Windows>netsh routing ip ospf show virtifstats ?
Usage: show virtifstats [ [index = ] Transit-Area-ID Virtual-Nbr-ID ]
[ [rr = ] Refresh Rate ]
where refresh rate is time in seconds.
Removes the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip ospf uninstall ?
Usage: uninstall
Removes the routing protocol corresponding to the current context.
Changes to the `netsh routing ip relay' context.
C:\Windows>netsh routing ip relay ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a table.
delete - Deletes a configuration entry from a table.
dump - Displays a configuration script.
help - Displays a list of commands.
install - Installs the routing protocol corresponding to the current context.
set - Sets configuration information.
show - Displays information.
uninstall - Removes the routing protocol corresponding to the current context.
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a table.
C:\Windows>netsh routing ip relay add ?
The following commands are available:
Commands in this context:
add dhcpserver - Adds DHCP servers to the global list of DHCP servers.
add interface - Enables DHCP Relay Agent on the interface.
Adds DHCP servers to the global list of DHCP servers.
C:\Windows>netsh routing ip relay add dhcpserver ?
Usage: add dhcpserver [server=]<IP address>
Parameters:
Tag Value
server - The IP address of a DHCP server to be added to
the global list.
Remarks: Adds DHCP servers to the global list of DHCP servers.
Examples:
add dhcpserver 10.0.0.1
Enables DHCP Relay Agent on the interface.
C:\Windows>netsh routing ip relay add interface ?
Usage: add interface [name=]<string>
Parameters:
Tag Value
name - The name of the interface where DHCP Relay Agent is
to be enabled.
Remarks: Enables DHCP Relay Agent on the specified interface.
Examples:
add interface "Local Area Connection"
Deletes a configuration entry from a table.
C:\Windows>netsh routing ip relay delete ?
The following commands are available:
Commands in this context:
delete dhcpserver - Deletes DHCP servers from the global list of DHCP servers.
delete interface - Disables DHCP Relay Agent on the interface.
Deletes DHCP servers from the global list of DHCP servers.
C:\Windows>netsh routing ip relay delete dhcpserver ?
Usage: delete dhcpserver [server=]<IP address>
Parameters:
Tag Value
server - The IP address of a DHCP server to be removed from
the global list.
Remarks: Deletes DHCP servers from the global list of DHCP servers.
Examples:
delete dhcpserver 10.0.0.1
Disables DHCP Relay Agent on the interface.
C:\Windows>netsh routing ip relay delete interface ?
Usage: delete interface [name=]<string>
Parameters:
Tag Value
name - The name of the interface where DHCP Relay Agent is
to be disabled.
Remarks: Disables DHCP Relay Agent on the specified interface.
Examples:
delete interface "Local Area Connection"
Displays a configuration script.
C:\Windows>netsh routing ip relay dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ip relay help ?
Usage: help
Remarks:
Displays a list of commands.
Installs the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip relay install ?
Usage: install
Installs the routing protocol under IP.
Sets configuration information.
C:\Windows>netsh routing ip relay set ?
The following commands are available:
Commands in this context:
set global - Sets global parameters for DHCP Relay Agent configuration.
set interface - Updates the DHCP relay agent configuration on the interface.
Sets global parameters for DHCP Relay Agent configuration.
C:\Windows>netsh routing ip relay set global ?
Usage: set global [[loglevel=]none|error|warn|info]
Parameters:
Tag Value
loglevel - One of the following values:
none: No logging of DHCP Relay Agent events.
error: Log only errors related to DHCP Relay Agent.
warn: Log warnings related to DHCP Relay Agent.
info: Log information related to DHCP Relay Agent.
Remarks: Sets global parameters for DHCP Relay Agent configuration.
Example:
set global loglevel=none
Updates the DHCP relay agent configuration on the interface.
C:\Windows>netsh routing ip relay set interface ?
Usage: set interface [name=]<string> [[relaymode=]enable|disable] [[maxhop=]integer]
[[minsecs=]integer]
Parameters:
Tag Value
name - The name of the interface where DHCP Relay Agent is
to be updated.
relaymode - One of the following values:
enable: Enables DHCP Relay Agent for this interface.
disable: Disables DHCP Relay Agent for this interface.
maxhop - The maximum allowable hop count for a DHCP packet before
it is dropped and no longer to be relayed.
minsecs - The minimum allowable number of seconds from boot time
that must appear in a DHCP packet before it will be sent
to a listed DHCP server in the global list.
Remarks: Sets global parameters for DHCP Relay Agent configuration.
Example:
set interface "Local Area Connection" enable 16 4
The example command enables the DHCP Relay Agent to operate on the
default LAN interface with a maximum hop count of 16 and using a
value of 4 seconds for the minimum seconds from boot time.
Displays information.
C:\Windows>netsh routing ip relay show ?
The following commands are available:
Commands in this context:
show global - Shows DHCP Relay Agent global configuration.
show ifbinding - Shows IP address bindings for interfaces.
show ifconfig - Shows DHCP Relay Agent per-interface configuration.
show ifstats - Shows per-interface DHCP Relay Agent statistics.
show interface - Shows interface-specific DHCP Relay Agent configuration.
Shows DHCP Relay Agent global configuration.
C:\Windows>netsh routing ip relay show global ?
Usage: show global
Remarks: Shows DHCP Relay Agent global configuration.
The following information is displayed with this command:
Field Description
----- -----------
Logging Level Displays the level of logging performed for
events related to DHCP Relay Agent service.
Max Receive Queue Size The maximum number of DHCP packets the router
can have queued at once (for all interfaces).
Server Count The number of DHCP servers in the global list.
Shows IP address bindings for interfaces.
C:\Windows>netsh routing ip relay show ifbinding ?
Usage: show ifbinding [[index=]integer] [[rr=]integer]
Parameters:
Tag Value
index - The index value for the specific interface you want to display
its DHCP Relay Agent configuration. In most cases, this
parameter can be omitted to provide per-interface details
for all interfaces where DHCP relay is enabled for use.
rr - The refresh rate in seconds.
Remarks: Shows IP address bindings for interfaces.
Examples:
show ifbinding rr=5
Shows DHCP Relay Agent per-interface configuration.
C:\Windows>netsh routing ip relay show ifconfig ?
Usage: show ifconfig [[index=]integer] [[rr=]integer]
Parameters:
Tag Value
index - The index value for the specific interface you want to display
its DHCP Relay Agent configuration. In most cases, this
parameter can be omitted to provide per-interface details
for all interfaces where DHCP relay is enabled for use.
rr - The refresh rate in seconds.
Remarks: Shows DHCP Relay Agent per-interface configuration.
Examples:
show ifconfig rr=5
Shows per-interface DHCP Relay Agent statistics.
C:\Windows>netsh routing ip relay show ifstats ?
Usage: show ifstats [[index=]integer] [[rr=]integer]
Parameters:
Tag Value
index - The index value for the specific interface you want to display
its DHCP Relay Agent statistics.
rr - The refresh rate in seconds.
Remarks: Shows per-interface DHCP Relay Agent statistics.
Examples:
show ifstats rr=5
Shows interface-specific DHCP Relay Agent configuration.
C:\Windows>netsh routing ip relay show interface ?
Usage: show interface [[name=]<string>]
Parameters:
Tag Value
name - The name of the specific interface for which you want
to view DHCP Relay Agent configuration.
Remarks: Displays the DHCP Relay Agent configuration for a specified
interface. Before you can view DHCP Relay Agent configuration
for an interface, you must first have used 'add interface' and
'set interface' commands to install and enable the DHCP relay agent.
Examples:
show interface name="Local Area Connection"
Removes the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip relay uninstall ?
Usage: uninstall
Removes the routing protocol corresponding to the current context.
Resets IP routing to a clean state.
C:\Windows>netsh routing ip reset ?
Usage: reset
Resets IP routing to a clean state.
Changes to the `netsh routing ip rip' context.
C:\Windows>netsh routing ip rip ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a table.
delete - Deletes a configuration entry from a table.
dump - Displays a configuration script.
help - Displays a list of commands.
install - Installs the routing protocol corresponding to the current context.
set - Sets configuration information.
show - Displays information.
uninstall - Removes the routing protocol corresponding to the current context.
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a table.
C:\Windows>netsh routing ip rip add ?
The following commands are available:
Commands in this context:
add acceptfilter - Adds an acceptance filter for routes received on an interface.
add announcefilter - Adds a filter for routes announced on a interface.
add interface - Configures RIP on a specified interface.
add neighbor - Adds a RIP neighbor on an interface.
add peerfilter - Adds a filter for servers that can be accepted as peers.
Adds an acceptance filter for routes received on an interface.
C:\Windows>netsh routing ip rip add acceptfilter ?
Usage: add acceptfilter [name=]<string> [addr=]<IP address1> <IP address2>
Parameters:
Tag Value
name - The name of an interface where RIP is available for use.
addr - An IP address pairing. The first address is for the
low IP address and the second address is for the
high IP address to use in building the filter.
Remarks: Adds an acceptance filter for routes received on an interface.
Examples:
add acceptfilter "Local Area Connection" 10.0.0.2 11.1.1.2
Adds a filter for routes announced on a interface.
C:\Windows>netsh routing ip rip add announcefilter ?
Usage: add announcefilter [name=]<string> [addr=]<IP address1> <IP address2>
Parameters:
Tag Value
name - The name of an interface where RIP is available for use.
addr - An IP address pairing. The first address is for the
low IP address and the second address is for the
high IP address to use in building the filter.
Remarks: Adds a filter for routes announced on a interface.
Examples:
add announcefilter "Local Area Connection" 10.0.0.2 11.1.1.2
Configures RIP on a specified interface.
C:\Windows>netsh routing ip rip add interface ?
Usage: add interface [name=]<string> [[metric=]integer]
[[updatemode=]demand|periodic] [[announce=]none|rip1|rip1compat|rip2]
[[accept=]none|rip1|rip1compat|rip2] [[expire=]integer]
[[remove=]integer] [[update=]integer]
[[authmode=]authnone|authsimplepassword] [[tag=]integer]
[[unicast=]also|only|disable] [[accfiltmode=]include|exclude|disable]
[[annfiltmode=]include|exclude|disable] [[password=]string]
Parameters:
name - The name of the interface where you are adding RIP.
metric - A metric value for routes based on this interface.
updatemode - One of the following values:
demand: Use update on demand mode.
periodic: Perform updates based on periodic intervals.
announce - One of the following values:
none: Announce all routes.
rip1: Announce RIP version 1 routes only.
rip1compat: Announce using RIP version-compatible mode.
rip2: Announce RIP version 2 routes only.
accept - One of the following values:
none: Accept all routes.
rip1: Accept RIP version 1 routes only.
rip1compat: Accept using RIP version-compatible mode.
rip2: Accept RIP version 2 routes only.
expire - The route expiration interval.
remove - The route removal interval.
update - The full update interval.
authmode - One of the following values:
authnone: No authorization required.
authsimplepassword: Password authorization required.
tag - The route tag.
unicast - One of the following values:
also: Use also unicast.
only: Use only unicast mode.
disable: Disable unicast mode.
accfiltmode - One of the following values:
include: Include acceptance filters.
exclude: Exclude acceptance filters.
disable: Disable acceptance filters.
annfiltmode - One of the following values:
include: Include announcement filters.
exclude: Exclude announcement filters.
disable: Disable announcement filters.
password - A clear-text password (16 characters maximum length).
Remarks: Enables and configures RIP on a specified interface.
Examples:
add interface "Local Area Connection"
Enables and configures RIP on the default LAN interface using
RIP configuration default settings.
Adds a RIP neighbor on an interface.
C:\Windows>netsh routing ip rip add neighbor ?
Usage: add neighbor [name=]<string> [addr=]<IP address>
Parameters:
Tag Value
name - The name of an interface where RIP is available for use.
addr - The IP address for the RIP neighbor.
Remarks: Adds a RIP neighbor on a interface.
Examples:
add neighbor "Local Area Connection" 10.0.0.2
Adds a filter for servers that can be accepted as peers.
C:\Windows>netsh routing ip rip add peerfilter ?
Usage: add peerfilter [server=]<IP Address>
Parameters:
Tag Value
server - The IP address for a peer server.
Remarks: Adds a filter for a server that can be accepted as a peer.
Examples:
add peerfilter server=10.0.0.2
Deletes a configuration entry from a table.
C:\Windows>netsh routing ip rip delete ?
The following commands are available:
Commands in this context:
delete acceptfilter - Deletes an acceptance filter for routes received on an interface.
delete announcefilter - Deletes an announcement filter set for an interface.
delete interface - Removes RIP from the specified interface.
delete neighbor - Deletes a RIP neighbor from an interface.
delete peerfilter - Deletes a filter for an accepted peer server.
Deletes an acceptance filter for routes received on an interface.
C:\Windows>netsh routing ip rip delete acceptfilter ?
Usage: delete acceptfilter [name=]<string> [addr=]<IP address1> <IP address2>
Parameters:
Tag Value
name - The name of an interface where RIP is available for use.
addr - An IP address pairing. The first address is for the
low IP address and the second address is for the
high IP address to use in building the filter.
Remarks: Deletes an acceptance filter for routes received on an interface.
Examples:
delete acceptfilter "Local Area Connection" 10.0.0.2 11.1.1.2
Deletes an announcement filter set for an interface.
C:\Windows>netsh routing ip rip delete announcefilter ?
Usage: delete announcefilter [name=]<string> [addr=]<IP address1> <IP address2>
Parameters:
Tag Value
name - The name of an interface where RIP is available for use.
addr - An IP address pairing. The first address is for the
low IP address and the second address is for the
high IP address to use in building the filter.
Remarks: Deletes an announcement filter set for routes announced on an
interface.
Examples:
delete announcefilter "Local Area Connection" 10.0.0.2 11.1.1.2
Removes RIP from the specified interface.
C:\Windows>netsh routing ip rip delete interface ?
Usage: delete interface [name=]<string>
Parameters:
Tag Value
name - The name of an interface where RIP is available for use.
Remarks: Removes RIP from the specified interface.
Examples:
delete interface "Local Area Connection"
Deletes a RIP neighbor from an interface.
C:\Windows>netsh routing ip rip delete neighbor ?
Usage: delete neighbor [name=]<string> [addr=]<IP address>
Parameters:
Tag Value
name - The name of an interface where RIP is available for use.
addr - The IP address for the RIP neighbor.
Remarks: Deletes a RIP neighbor from an interface.
Examples:
delete neighbor "Local Area Connection" 10.0.0.2
Deletes a filter for an accepted peer server.
C:\Windows>netsh routing ip rip delete peerfilter ?
Usage: delete peerfilter [server=]<IP Address>
Parameters:
Tag Value
server - The IP address for a peer server.
Remarks: Deletes a filter for an accepted peer server.
Examples:
delete peerfilter server=10.0.0.2
Displays a configuration script.
C:\Windows>netsh routing ip rip dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ip rip help ?
Usage: help
Remarks:
Displays a list of commands.
Installs the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip rip install ?
Usage: install
Installs the routing protocol under IP.
Sets configuration information.
C:\Windows>netsh routing ip rip set ?
The following commands are available:
Commands in this context:
set flags - Sets RIP-related flags for a specified interface.
set global - Sets global RIP parameters.
set interface - Modifies RIP configuration on a specified interface.
Sets RIP-related flags for a specified interface.
C:\Windows>netsh routing ip rip set flags ?
Usage: set flags [name=]<string> [flag=]<predefined strings>
Parameters:
Tag Value
name - The name of the interface where you are configuring RIP.
flag - One or more of the following string values can be used:
clear: Clear all currently set RIP flags.
splithorizon: Enable RIP for split horizon.
poisonreverse: Enable RIP for poison reverse.
triggeredupdates: Enable RIP triggered updates.
cleanupupdates: Enable cleanup updates for RIP.
accepthostroutes: Enable acceptance of host routes.
acceptdefaultroutes: Enable acceptance of default routes.
senddefaultroutes: Enable sending of default routes.
nosubnetsummary: Disable subnet summarization.
Remarks: Set RIP-related flags for a specified interface. Multiple flag
values can be specified in a comma separated list without any
spaces.
Examples:
set flags "Local Area Connection" clear
set flags "Local Area Connection" splithorizon,accepthostroutes
Sets global RIP parameters.
C:\Windows>netsh routing ip rip set global ?
Usage: set global [[loglevel=]none|error|warn|info] [[mintrig=]integer]
[[peermode=]include|exclude|disable]
Parameters:
Tag Value
loglevel - One of the following values:
none: No logging of RIP events.
error: Log only errors related to RIP.
warn: Log warnings related to RIP.
info: Log information related to RIP.
mintrig - A minimum trigger interval specified in minutes.
peermode - One of the following values:
include: Include peers.
exclude: Exclude peers.
disable: Disable peer mode.
Remarks: Set global RIP parameters.
Examples:
set global "Local Area Connection" none 10 disable
set global "Local Area Connection" mintrig=15
Modifies RIP configuration on a specified interface.
C:\Windows>netsh routing ip rip set interface ?
Usage: set interface [name=]<string> [[metric=]integer]
[[updatemode=]demand|periodic] [[announce=]none|rip1|rip1compat|rip2]
[[accept=]none|rip1|rip1compat|rip2] [[expire=]integer]
[[remove=]integer] [[update=]integer]
[[authmode=]authnone|authsimplepassword] [[tag=]integer]
[[unicast=]also|only|disable] [[accfiltmode=]include|exclude|disable]
[[annfiltmode=]include|exclude|disable] [[password=]string]
Parameters:
Tag Value
name - The name of the interface where you are configuring RIP.
metric - A metric value for routes based on this interface.
updatemode - One of the following values:
demand: Use update on demand mode.
periodic: Perform updates based upon a periodic interval.
announce - One of the following values:
none: Announce all routes.
rip1: Announce RIP version 1 routes only.
rip1compat: Announce using RIP version-compatible mode.
rip2: Announce RIP version 2 routes only.
accept - One of the following values:
none: Accept all routes.
rip1: Accept RIP version 1 routes only.
rip1compat: Accept using RIP version-compatible mode.
rip2: Accept RIP version 2 routes only.
expire - The route expiration interval (in seconds).
remove - The route removal interval (in seconds).
update - The full update interval (in seconds).
authmode - One of the following values:
authnone: No authorization required.
authsimplepassword: Password authorization required.
tag - The route tag.
unicast - One of the following values:
also: Use also unicast.
only: Use only unicast mode.
disable: Disable unicast mode.
accfiltmode - One of the following values:
include: Include acceptance filters.
exclude: Exclude acceptance filters.
disable: Disable acceptance filters.
annfiltmode - One of the following values:
include: Include announcement filters.
exclude: Exclude announcement filters.
disable: Disable announcement filters.
password - A clear-text password (16 characters maximum length).
Remarks: Modifies RIP configuration on a specified interface.
Examples:
set interface "Local Area Connection" metric=2 updatemode=periodic
Modifies the RIP configuration on the local interface with a metric
value of 2, and to perform updates on demand.
Displays information.
C:\Windows>netsh routing ip rip show ?
The following commands are available:
Commands in this context:
show flags - Shows RIP flags set for specified interfaces.
show global - Shows RIP global parameters.
show globalstats - Shows RIP global statistics.
show ifbinding - Shows RIP interface IP address binding.
show ifstats - Shows RIP per-interface statistics.
show interface - Shows RIP configuration for the specified interface.
show neighbor - Shows RIP peer statistics.
Shows RIP flags set for specified interfaces.
C:\Windows>netsh routing ip rip show flags ?
Usage: show flags [[name=]<string>]
Parameters:
Tag Value
name - The name of the interface whose configuration you want
to view.
Remarks: Shows RIP flags configuration for specified interfaces.
Shows RIP global parameters.
C:\Windows>netsh routing ip rip show global ?
Usage: show global
Remarks: Shows RIP global parameters.
Shows RIP global statistics.
C:\Windows>netsh routing ip rip show globalstats ?
Usage: show globalstats [[rr=]integer]]
Parameters:
Tag Value
rr - A refresh rate expressed as a value in seconds.
Remarks: Shows RIP global statistics.
Examples:
show globalstats rr=5
The example command shows RIP global statistics with refreshes
performed at the rate of every 5 seconds.
Shows RIP interface IP address binding.
C:\Windows>netsh routing ip rip show ifbinding ?
Usage: show ifbinding [[index=]IP address [[rr=]integer]]
Parameters:
Tag Value
index - An IP address configured for use at the interface for
which RIP is enabled and you are reviewing bindings.
rr - A refresh rate expressed as a value in seconds.
Remarks: Shows RIP bindings for IP address.
Examples:
show ifbinding index=10.0.0.1 rr=5
The example command shows the bindings for IP address 10.0.0.1
at a refresh rate of every 5 seconds.
Shows RIP per-interface statistics.
C:\Windows>netsh routing ip rip show ifstats ?
Usage: show ifstats [[index=]integer [[rr=]integer]]
Parameters:
Tag Value
index - A number identifying the interface for which RIP
statistics are to be displayed. To learn index
values, use the 'show interface' command at the
'netsh interface ip' Netshell command sub-context.
rr - A refresh rate expressed as a value in seconds.
Remarks: Shows RIP statistics for a specified interface.
Examples:
show ifstats index=1 rr=5
The example command shows RIP statistics for an interface with an
index value of 1 using a refresh rate of every 5 seconds.
Shows RIP configuration for the specified interface.
C:\Windows>netsh routing ip rip show interface ?
Usage: show interface [[name=]<string>]
Parameters:
Tag Value
name - The name of the interface whose configuration you want
to view.
Remarks: Shows RIP configuration for the specified interface.
Shows RIP peer statistics.
C:\Windows>netsh routing ip rip show neighbor ?
Usage: show neighbor [[index=]IP address [[rr=]integer]]
Parameters:
Tag Value
index - An IP address configured for use at the interface for
which you want to review peer statistics for RIP.
rr - A refresh rate expressed as a value in seconds.
Remarks: Shows RIP peer statistics.
Examples:
show neighbor index=10.0.0.1 rr=5
The example command shows the bindings for IP address 10.0.0.1
at a refresh rate of every 5 seconds.
Removes the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip rip uninstall ?
Usage: uninstall
Removes the routing protocol corresponding to the current context.
Changes to the `netsh routing ip routerdiscovery' context.
C:\Windows>netsh routing ip routerdiscovery ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a table.
delete - Deletes a configuration entry from a table.
dump - Displays a configuration script.
help - Displays a list of commands.
set - Sets configuration information.
show - Displays information.
uninstall - Removes the routing protocol corresponding to the current context.
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a table.
C:\Windows>netsh routing ip routerdiscovery add ?
The following commands are available:
Commands in this context:
add interface - Configures router discovery for the specified interface.
Configures router discovery for the specified interface.
C:\Windows>netsh routing ip routerdiscovery add interface ?
Usage: add interface [name=]<string> [[disc=]enable|disable]
[[minint=]integer] [[maxint=]integer] [[life=]integer]
[[level=]integer]
Parameters:
Tag Value
name - The name of the specified interface.
disc - One of the following values:
enable: Enables router discovery.
disable: Disables router discovery.
minint - A minimum interval in minutes between router discovery
packets.
maxint - A maximum interval in minutes between router discovery
packets.
life - The number of minutes a router discovery packet sent
from this router/server is valid.
level - A number indicating preference for using this interface
as the default gateway. Where multiple interfaces
are enabled for router discovery, a higher number used
here indicates a higher level of preference.
Remarks: Configures router discovery for the specified interface. When
added, router discovery advertisements are sent at random times
bounded by the set minimum and maximum intervals.
Examples:
add interface "Local Area Connection" enable 7 10 30 0
The example command enables router discovery for the interface
specified by name, and specifies default settings: a minimum interval
of 7 minutes, a maximum interval of 10 minutes, a life of 30 minutes
for router discovery packets, and a zero (0) or no preference level.
Deletes a configuration entry from a table.
C:\Windows>netsh routing ip routerdiscovery delete ?
The following commands are available:
Commands in this context:
delete interface - Deletes router-discovery information.
Deletes router-discovery information.
C:\Windows>netsh routing ip routerdiscovery delete interface ?
Usage: delete interface [name=]<string>
Parameters:
Tag Value
name - The name of the specific interface for which you want
to delete or remove router discovery configuration.
Remarks: Deletes router discovery configuration for a specified interface.
Examples:
delete interface name="Local Area Connection"
Displays a configuration script.
C:\Windows>netsh routing ip routerdiscovery dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ip routerdiscovery help ?
Usage: help
Remarks:
Displays a list of commands.
Sets configuration information.
C:\Windows>netsh routing ip routerdiscovery set ?
The following commands are available:
Commands in this context:
set interface - Updates interface router-discovery configuration.
Updates interface router-discovery configuration.
C:\Windows>netsh routing ip routerdiscovery set interface ?
Usage: set interface [name=]<string> [[disc=]enable|disable]
[[minint=]integer] [[maxint=]integer] [[life=]integer]
[[level=]integer]
Parameters:
Tag Value
name - The name of the specified interface.
disc - One of the following values:
enable: Enables router discovery.
disable: Disables router discovery.
minint - A minimum interval in minutes between router discovery
packets.
maxint - A maximum interval in minutes between router discovery
packets.
life - The number of minutes a router discovery packet sent
from this router/server is valid.
level - A number indicating preference for using this interface
as the default gateway. Where multiple interfaces
are enabled for router discovery, a higher number used
here indicates a higher level of preference.
Remarks: Updates router discovery configuration for the specified interface.
Examples:
set interface "Local Area Connection" enable 7 10 30 0
The example command enables router discovery for the interface
specified by name, and specifies default settings: a minimum interval
of 7 minutes, a maximum interval of 10 minutes, a life of 30 minutes
for router discovery packets, and a zero (0) or no preference level.
Displays information.
C:\Windows>netsh routing ip routerdiscovery show ?
The following commands are available:
Commands in this context:
show interface - Displays router-discovery information.
Displays router-discovery information.
C:\Windows>netsh routing ip routerdiscovery show interface ?
Usage: show interface [[name=]<string>]
Parameters:
Tag Value
name - The name of the specific interface for which you want
to view router discovery configuration.
Remarks: Displays the router discovery configuration for a specified
interface.
Examples:
show interface name="Local Area Connection"
Removes the routing protocol corresponding to the current context.
C:\Windows>netsh routing ip routerdiscovery uninstall ?
Usage: uninstall
Removes the routing protocol corresponding to the current context.
Sets configuration information.
C:\Windows>netsh routing ip set ?
The following commands are available:
Commands in this context:
set filter - Changes filter attributes on the specified interface.
set interface - Sets the interface state.
set loglevel - Sets the global logging level.
set persistentroute - Modifies a persistent static route.
set preferenceforprotocol - Sets the preference level for the specified protocol.
set rtmroute - Modifies a non-persistent netmgmt route.
set scope - Sets the name of a multicast scope.
Changes filter attributes on the specified interface.
C:\Windows>netsh routing ip set filter ?
Usage: set filter [name=]<string>
[[filtertype=]input|output|dial [action=]drop|forward]
[[fragcheck=]enable|disable]
Parameters:
Tag Value
name - The name of the interface where the filter is applied.
filtertype - One of the following values:
input: If the filter being modified filters input
output: If the filter being modified filters output
dial: If the filter being modified filters a dial-up
interface being connected
action - Action to be taken when a packet does not match any
filter.
fragcheck - Enables or disables fragment checking for input packets.
Remarks: Changes the default action for an filter type and/or fragment check
setting for the specified interface.
Examples:
set filter name="Dial-up Connection" filtertype=dial action=forward
set filter name="Virtual Private Connection" fragcheck=disable
Sets the interface state.
C:\Windows>netsh routing ip set interface ?
Usage: set interface [name = ] Interface Name
[ [state = ] { enable | disable } ]
Sets the global logging level.
C:\Windows>netsh routing ip set loglevel ?
Usage: set loglevel [loglevel=]none|error|warn|info
Parameters:
Tag Value
loglevel - One of the following values:
none: Turns off logging
error: Log level set to log errors only
warn: Log level set to include warning messages
info: Log level set to include informational messages
Remarks: Sets the global logging level.
Examples:
set loglevel none
set loglevel loglevel=error
Modifies a persistent static route.
C:\Windows>netsh routing ip set persistentroute ?
Usage: set persistentroute [dest=]<IP address> [mask=]<IP subnet mask>
[name=]<string> [[nhop=]<IP address>] [[proto=]static|nondod]
[[preference=]<integer>] [[metric=]<integer>]
[[view=]unicast|multicast|both]
Parameters:
Tag Value
dest - The destination address for the specified route.
mask - The subnet mask for the destination address.
name - The interface where the route is to be modified.
nhop - The next hop for the route. For routes over
point-to-point interfaces, this value is not needed.
proto - One of the following values:
static: Trigger demand-dial connection (default)
nondod: Do not trigger deamnd-dial connection
preference - The preference for the route.
metric - The metric for the route.
view - One of the following values:
unicast: Route is valid only for unicast traffic
multicast: Route is valid only for multicast traffic
both: Route is valid for both unicast and multicast
traffic (default)
Remarks: Modifies a persistent static route on the specified interface.
Examples:
set persistentroute 192.168.1.0 255.255.255.0 "Virtual Private Connection"
Sets the preference level for the specified protocol.
C:\Windows>netsh routing ip set preferenceforprotocol ?
Usage: set preferenceforprotocol [proto=]autostatic|local|netmgmt|nondod|ospf|rip|static
[preflevel=]<integer>
Parameters:
Tag Value
proto - One of the following values:
autostatic: Sets an autostatic routing preference
local: Sets a local routing preference
netmgmt: Sets a routing protocol prference for a
network management protocol
nondod: Sets a preference for a routing protocol
not able to use demand-dial
ospf: Sets a routing protocol prference for OSPF
rip: Sets a routing protocol preference for RIP
static: Sets a static routing preference
preflevel - The level of preference for the specified
Remarks: Sets a new preference level for a specified routing protocol type.
Examples:
set preferenceforprotocol proto=rip preflevel=20
set preferenceforprotocol ospf 30
Modifies a non-persistent netmgmt route.
C:\Windows>netsh routing ip set rtmroute ?
Usage: set rtmroute [dest=]<IP address> [mask=]<IP subnet mask>
[[nameorindex=]<string>] [[nhop=]<IP address>]
[[preference=]<integer>] [[metric=]<integer>]
[[view=]unicast|multicast|both ]
Parameters:
Tag Value
dest - The destination address for the specified route.
mask - The subnet mask for the destination address.
nameorindex - The interface on which the route is to be modified.
nhop - The next hop for the route. This is not needed for routes
over point-to-point interfaces.
preference - The new preference for the route.
metric - The new metric for the route.
view - One of the following values:
unicast: Route is valid only for unicast traffic
multicast: Route is valid only for multicast traffic
both: Route is valid for both unicast and multicast
traffic (default)
Remarks: Modifies a non-persistent route used for network management
given either an interface specified by name or a next hop count.
Example:
set rtmroute 169.254.1.0 255.255.0.0 "Virtual Private Connection"
Sets the name of a multicast scope.
C:\Windows>netsh routing ip set scope ?
Usage: set scope [grpaddr=]<IP address> [grpmask=]<IP subnet mask>
[scopename=]<string>
Parameters:
Tag Value
grpaddr - The multicast scope or group IP address
grpmask - The subnet mask for the multicast scope address
scopename - The name of the multicast scope to be set
Remarks: Sets the name of a multicast scope.
Examples:
set scope 239.1.1.1 255.255.255.255 "My Multicast Scope"
Displays information.
C:\Windows>netsh routing ip show ?
The following commands are available:
Commands in this context:
show boundary - Displays the configured multicast scope boundaries.
show boundarystats - Displays IP multicast boundaries
show filter - Displays packet filter information.
show interface - Displays interface information.
show loglevel - Displays the global logging level.
show mfe - Displays multicast forwarding entries
show mfestats - Displays multicast forwarding entry statistics
show persistentroutes - Displays persistent static routes.
show preferenceforprotocol - Displays preference levels for all protocols.
show protocol - Displays all configured IP protocols.
show rtmdestinations - Displays destinations in the routing table
show rtmroutes - Displays routes in the routing table
show scope - Displays the multicast scopes configured on the router.
Displays the configured multicast scope boundaries.
C:\Windows>netsh routing ip show boundary ?
Usage: show boundary
Remarks: Displays the configured multicast scope boundaries.
The information displayed for this command consists of:
Field Description
----- -----------
Interface The name of the interface where boundary is set.
Address The multicast group IP address for the boundary.
Mask The subnet mask associated with the group address.
Scope Name The name of the multicast scope.
Displays IP multicast boundaries
C:\Windows>netsh routing ip show boundarystats ?
Usage: show boundarystats [[rr=]<integer>]
Parameters:
Tag Value
rr - The refresh rate expressed as time in seconds.
Remarks: Displays current IP multicast boundaries.
The information displayed for this command consists of:
Field Description
----- -----------
Address The multicast group IP address for the boundary.
Mask The subnet mask associated with the group address.
Interface The name of the interface where boundary is set.
Examples:
show boundarystats rr=3
The command displays the current IP multicast boundary statistics
and refreshes the display every 3 seconds until CTRL + C is entered
to exit the display cycle.
Displays packet filter information.
C:\Windows>netsh routing ip show filter ?
Usage: show filter [[name=]<string>]
Parameters:
Tag Value
name - The name of the interface where the filter is set.
Remarks: Displays packet filter information.
The information displayed for this command consists of:
Field Description
----- -----------
Input Shows information about input filters.
Output Shows information about output filters.
Demand Dial Shows information about demand dial filters.
Frag. Check Shows if fragment cehcking is enabled or disabled.
Interface Displays the name of the interface.
Examples:
show filter
show filter name="Local Area Connection"
The first command displays filter information for all interfaces.
The second command displays filter status for the specified
interface only.
Displays interface information.
C:\Windows>netsh routing ip show interface ?
Usage: show interface [[name=]<string>]
Parameters:
Tag Value
name - The name of the interface.
Remarks: Displays interface information.
When used to display information on all interfaces:
Field Description
----- -----------
State Shows whether interface is enabled or disabled.
Type Shows how interface is used, such as for loopback, internal
or dedicated usage.
Interface Displays the name of the interface.
When used to display information on a specific interface:
Field Description
----- -----------
Type Shows how interface is used, such as for general, unicast
or multicast usage.
Vendor Shows vendor identifying information for the interface.
Protocol Displays protocol information for the interface.
Examples:
show interface
show interface name="Local Area Connection"
The first command displays information for all interfaces.
The second command displays the specified interface only.
Displays the global logging level.
C:\Windows>netsh routing ip show loglevel ?
Usage: show loglevel
Remarks: Displays the global logging level, such as whether logging
is turned off (none). Can also indicate if errors, warnings
or informational messages are being logged.
Displays multicast forwarding entries
C:\Windows>netsh routing ip show mfe ?
Usage: show mfe [[grpaddr=]<IP address> [grpmask=]<IP subnet mask>
[[srcaddr=]<IP address> [srcmask=]<IP subnet mask>]
[[type=]active|negative|both]
[[rr=]integer]
Parameters:
Tag Value
grpaddr - The group IP address for the start of the range.
grpmask - The subnet mask associated with the group IP address.
srcaddr - The source IP address of the start of the range.
srcmask - The subnet mask associated with the source IP address.
type - One of the following values:
active: Show active multicast forwarding entries
(MFEs) only
negative: Show negative MFEs only
both: Show both active and negative MFEs (default)
rr - The refresh rate in seconds.
Remarks: Displays multicast forwarding entries.
The information displayed for this command consists of:
Field Description
----- -----------
Group - Group(s) to which the data is destined
Source - Source(s) from which the data originated
Prot - Multicast protocol that is enabled on the incoming
interface
In/Out Interface - The first line of an MFE displays the incoming interface
The subsequent line(s) display the outgoing interfaces
(one per line)
UpstrmNbr/NHOP - The first line of an MFE displays the upstream neighbor
on the incoming side
The subequent line(s) display the next hop corresponding
to each outgoing interface
Examples:
show mfe
show mfe grpaddr=239.0.0.1 mask=255.255.255.255
Displays multicast forwarding entry statistics
C:\Windows>netsh routing ip show mfestats ?
Usage: show mfestats [[grpaddr=]<IP address> [grpmask=]<IP subnet mask>
[[srcaddr=]<IP address> [srcmask=]<IP subnet mask>]
[[type=]active|negative|both]
[[stats=]all]
[[rr=]Refresh Rate ]
Parameters:
Tag Value
grpaddr - The group IP address for the start of the range.
grpmask - The subnet mask associated with the group IP address.
srcaddr - The source IP address of the start of the range.
srcmask - The subnet mask associated with the source IP address.
type - One of the following values:
active: Show active multicast forwarding entries
(MFEs) only
negative: Show negative MFEs only
both: Show both active and negative MFEs (default)
stats - Specify "all" to show all detailed MFE statistics
rr - The time used when refreshing MFE statistics as
indicated by a time in seconds.
Remarks: Displays multicast forwarding entry statistics.
The information displayed for this command consists of:
Field Description
----- -----------
Group - Group(s) by address to which the data is destined
Source - Source(s) by address from which the data originated
Prot - The multicast protocol that is enabled on the incoming
interface
In/Out Intf - The first line of an MFE displays the incoming interface
The subsequent line(s) display the outgoing interfaces
(one per line)
UpstrmNbr/NHOP - The first line of an MFE displays the upstream neighbor
on the incoming side
The subequent line(s) display the next hop corresponding
to each outgoing interface
In/Out Pkt - The first line of an MFE displays the number of incoming
packets
The subsequent line(s) display the number of packets
forwarded out the corresponding outgoing interface
InByte/Dis - The first line of an MFE displays the number of incoming
bytes
The subsequent line(s) display the number of packets
discarded on the corresponding outgoing interface
Bad If/TTL - The first line of an MFE displays the number of packets
that were revceived on an interface different from the
incoming interface
Ovfl/Frag - The first line of an MFE displays the number of packets
that were discarded because the input buffer overflowed
The subsequent line(s) display the number of packets
that required fragmentation on the corresponding
interface
Examples:
show mfestats
show mfestats grpaddr=239.0.0.1 mask=255.255.255.255
Displays persistent static routes.
C:\Windows>netsh routing ip show persistentroutes ?
Usage: show persistentroutes [[name=]<string>]
Parameters:
Tag Value
name - The name of a specific interface where persistent
routes are used.
Remarks: Displays persistent static routes.
The information displayed for this command consists of:
Field Description
----- -----------
Prefix - The address prefix, in Classless Internet Domain Routing
(CIDR) notation (example: 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 persistentroutes
show persistentroutes name="Local Area Connection"
The first command displays persistent routes for all interfaces.
The second command displays persistent routes for the specified
interface only.
Displays preference levels for all protocols.
C:\Windows>netsh routing ip show preferenceforprotocol ?
Usage: show preferenceforprotocol
Remarks: Displays preference levels for all protocols.
The information displayed for this command consists of:
Field Description
----- -----------
Protocol Displays IP routing protocol information.
Priority Indicates preferred order for use of specific protocols.
Displays all configured IP protocols.
C:\Windows>netsh routing ip show protocol ?
Usage: show protocol
Remarks: Displays all configured IP protocols.
The information displayed for this command consists of:
Field Description
----- -----------
Type Shows how protocol is used, such as for general, unicast
or multicast usage.
Vendor Shows vendor identifying information for the protocol.
Protocol Displays IP protocol information.
Displays destinations in the routing table
C:\Windows>netsh routing ip show rtmdestinations ?
Usage: show rtmdestinations
[[operator=]matching|shorterthan|longerthan]
[[dest=]<IP address> [mask=]<IP subnet 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.
Displays routes in the routing table
C:\Windows>netsh routing ip show rtmroutes ?
Usage: show rtmroutes
[[operator=]matching|shorterthan|longerthan]
[[dest=]<IP address> [mask=]<IP subnet 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 routes 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 (example: 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 rtmroutes
show rtmroutes sh 10.0.0.1
show rtmroutes lo 172/8
The first command is used to view all routes in the routing table.
The second command displays all routes shorter than 10.0.0.1 and the
third command is used to view all routes in the 172.0.0.0/8 subtree.
Displays the multicast scopes configured on the router.
C:\Windows>netsh routing ip show scope ?
Usage: show scope
Remarks: Displays the multicast scopes configured on the router.
The information displayed for this command consists of:
Field Description
----- -----------
Address Displays the start IP address for the multicast scope.
Mask Displays the subnet mask for the scope address.
Scope Name Displays the name of the multicast scope.
Updates auto-static routes on an interface.
C:\Windows>netsh routing ip update ?
Usage: update [name=]<string>
Parameters:
Tag Value
name - The interface on which to update routes.
Remarks: Updates auto-static routes on an interface.
Changes to the `netsh routing ipx' context.
C:\Windows>netsh routing ipx ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a list of entries.
delete - Deletes a configuration entry from a list of entries.
dump - Displays a configuration script.
help - Displays a list of commands.
netbios - Changes to the `netsh routing ipx netbios' context.
rip - Changes to the `netsh routing ipx rip' context.
sap - Changes to the `netsh routing ipx sap' context.
set - Sets configuration information.
show - Displays configuration information.
update - Updates autostatic routes on an interface.
The following sub-contexts are available:
netbios rip sap
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a list of entries.
C:\Windows>netsh routing ipx add ?
The following commands are available:
Commands in this context:
add filter - Adds a packet filter to the list of filters.
add interface - Enables IPX routing on a demand dial interface.
add staticroute - Adds a static route to the route table.
add staticservice - Adds a static service to the static service table.
Adds a packet filter to the list of filters.
C:\Windows>netsh routing ipx add filter ?
ADD command is used to add new entries to the IPX configuration.
Command Syntax:
ADD INTERFACE ifname
ADD STATICROUTE ifname net [NEXTHOPMACADDRESS=] mac [TICKS=] ticks
[HOPS=] hops
ADD STATICSERVICE ifname svtype svname [NETWORK=] net [NODE=] node
[SOCKET=] socket [HOPS=] hops
ADD FILTER ifname mode [SRCNET= net mask] [SRCNODE= node]
[SRCSOCKET= socket] [DSTNET= net mask]
[DSTNODE= node] [DSTSOCKET= socket]
[PKTTYPE= pkttype] [LOG]
where:
ifname - name of the interface (use Dial-In for RAS clients).
network - 4-byte network address (up to 8 hex digits, leading 0's optional).
mac - 6-byte next hop mac address (up to 12 hex digits, leading 0's optional).
ticks - tick count (decimal).
hops - hop count (decimal).
svtype - 2-byte service type (up to 4 hex digits, leading 0's optional).
svname - service name.
node - 6-byte node address (up to 12 hex digits, leading 0's optional).
socket - 2-byte socket address (up to 4 hex digits, leading 0's optional).
mode - INPUT or OUTPUT.
mask - 4-byte network mask (up to 8 hex digits, leading 0's optional).
pkttype - 1-byte packet type (up to 2 hex digits, leading 0's optional).
action - PERMIT or DENY.
Enables IPX routing on a demand dial interface.
C:\Windows>netsh routing ipx add interface ?
ADD command is used to add new entries to the IPX configuration.
Command Syntax:
ADD INTERFACE ifname
ADD STATICROUTE ifname net [NEXTHOPMACADDRESS=] mac [TICKS=] ticks
[HOPS=] hops
ADD STATICSERVICE ifname svtype svname [NETWORK=] net [NODE=] node
[SOCKET=] socket [HOPS=] hops
ADD FILTER ifname mode [SRCNET= net mask] [SRCNODE= node]
[SRCSOCKET= socket] [DSTNET= net mask]
[DSTNODE= node] [DSTSOCKET= socket]
[PKTTYPE= pkttype] [LOG]
where:
ifname - name of the interface (use Dial-In for RAS clients).
network - 4-byte network address (up to 8 hex digits, leading 0's optional).
mac - 6-byte next hop mac address (up to 12 hex digits, leading 0's optional).
ticks - tick count (decimal).
hops - hop count (decimal).
svtype - 2-byte service type (up to 4 hex digits, leading 0's optional).
svname - service name.
node - 6-byte node address (up to 12 hex digits, leading 0's optional).
socket - 2-byte socket address (up to 4 hex digits, leading 0's optional).
mode - INPUT or OUTPUT.
mask - 4-byte network mask (up to 8 hex digits, leading 0's optional).
pkttype - 1-byte packet type (up to 2 hex digits, leading 0's optional).
action - PERMIT or DENY.
Adds a static route to the route table.
C:\Windows>netsh routing ipx add staticroute ?
ADD command is used to add new entries to the IPX configuration.
Command Syntax:
ADD INTERFACE ifname
ADD STATICROUTE ifname net [NEXTHOPMACADDRESS=] mac [TICKS=] ticks
[HOPS=] hops
ADD STATICSERVICE ifname svtype svname [NETWORK=] net [NODE=] node
[SOCKET=] socket [HOPS=] hops
ADD FILTER ifname mode [SRCNET= net mask] [SRCNODE= node]
[SRCSOCKET= socket] [DSTNET= net mask]
[DSTNODE= node] [DSTSOCKET= socket]
[PKTTYPE= pkttype] [LOG]
where:
ifname - name of the interface (use Dial-In for RAS clients).
network - 4-byte network address (up to 8 hex digits, leading 0's optional).
mac - 6-byte next hop mac address (up to 12 hex digits, leading 0's optional).
ticks - tick count (decimal).
hops - hop count (decimal).
svtype - 2-byte service type (up to 4 hex digits, leading 0's optional).
svname - service name.
node - 6-byte node address (up to 12 hex digits, leading 0's optional).
socket - 2-byte socket address (up to 4 hex digits, leading 0's optional).
mode - INPUT or OUTPUT.
mask - 4-byte network mask (up to 8 hex digits, leading 0's optional).
pkttype - 1-byte packet type (up to 2 hex digits, leading 0's optional).
action - PERMIT or DENY.
Adds a static service to the static service table.
C:\Windows>netsh routing ipx add staticservice ?
ADD command is used to add new entries to the IPX configuration.
Command Syntax:
ADD INTERFACE ifname
ADD STATICROUTE ifname net [NEXTHOPMACADDRESS=] mac [TICKS=] ticks
[HOPS=] hops
ADD STATICSERVICE ifname svtype svname [NETWORK=] net [NODE=] node
[SOCKET=] socket [HOPS=] hops
ADD FILTER ifname mode [SRCNET= net mask] [SRCNODE= node]
[SRCSOCKET= socket] [DSTNET= net mask]
[DSTNODE= node] [DSTSOCKET= socket]
[PKTTYPE= pkttype] [LOG]
where:
ifname - name of the interface (use Dial-In for RAS clients).
network - 4-byte network address (up to 8 hex digits, leading 0's optional).
mac - 6-byte next hop mac address (up to 12 hex digits, leading 0's optional).
ticks - tick count (decimal).
hops - hop count (decimal).
svtype - 2-byte service type (up to 4 hex digits, leading 0's optional).
svname - service name.
node - 6-byte node address (up to 12 hex digits, leading 0's optional).
socket - 2-byte socket address (up to 4 hex digits, leading 0's optional).
mode - INPUT or OUTPUT.
mask - 4-byte network mask (up to 8 hex digits, leading 0's optional).
pkttype - 1-byte packet type (up to 2 hex digits, leading 0's optional).
action - PERMIT or DENY.
Deletes a configuration entry from a list of entries.
C:\Windows>netsh routing ipx delete ?
The following commands are available:
Commands in this context:
delete filter - Deletes a packet filter from the list of filters.
delete interface - Disables IPX routing on a demand dial interface.
delete staticroute - Deletes a static route from the route table.
delete staticservice - Deletes a static service from the static service table.
Deletes a packet filter from the list of filters.
C:\Windows>netsh routing ipx delete filter ?
DELETE command is used to remove entries from the IPX configuration.
Command Syntax:
DELETE INTERFACE ifname
DELETE STATICROUTE ifname net
DELETE STATICSERVICE ifname svtype svname
DELETE FILTER ifname mode [SRCNET= net mask] [SRCNODE= node]
[SRCSOCKET= socket] [DSTNET= net mask]
[DSTNODE= node] [DSTSOCKET= socket]
[PKTTYPE= pkttype]
where:
ifname - name of the interface (use Dial-In for RAS clients).
net - 4-byte network address (up to 8 hex digits, leading 0's optional).
svtype - 2-byte service type (up to 4 hex digits, leading 0's optional).
svname - service name.
mask - 4-byte network mask (up to 8 hex digits, leading 0's optional).
node - 6-byte node address (up to 12 hex digits, leading 0's optional).
socket - 2-byte socket address (up to 4 hex digits, leading 0's optional).
pkttype - 1-byte packet type (up to 2 hex digits, leading 0's optional).
action - PERMIT or DENY.
Disables IPX routing on a demand dial interface.
C:\Windows>netsh routing ipx delete interface ?
DELETE command is used to remove entries from the IPX configuration.
Command Syntax:
DELETE INTERFACE ifname
DELETE STATICROUTE ifname net
DELETE STATICSERVICE ifname svtype svname
DELETE FILTER ifname mode [SRCNET= net mask] [SRCNODE= node]
[SRCSOCKET= socket] [DSTNET= net mask]
[DSTNODE= node] [DSTSOCKET= socket]
[PKTTYPE= pkttype]
where:
ifname - name of the interface (use Dial-In for RAS clients).
net - 4-byte network address (up to 8 hex digits, leading 0's optional).
svtype - 2-byte service type (up to 4 hex digits, leading 0's optional).
svname - service name.
mask - 4-byte network mask (up to 8 hex digits, leading 0's optional).
node - 6-byte node address (up to 12 hex digits, leading 0's optional).
socket - 2-byte socket address (up to 4 hex digits, leading 0's optional).
pkttype - 1-byte packet type (up to 2 hex digits, leading 0's optional).
action - PERMIT or DENY.
Deletes a static route from the route table.
C:\Windows>netsh routing ipx delete staticroute ?
DELETE command is used to remove entries from the IPX configuration.
Command Syntax:
DELETE INTERFACE ifname
DELETE STATICROUTE ifname net
DELETE STATICSERVICE ifname svtype svname
DELETE FILTER ifname mode [SRCNET= net mask] [SRCNODE= node]
[SRCSOCKET= socket] [DSTNET= net mask]
[DSTNODE= node] [DSTSOCKET= socket]
[PKTTYPE= pkttype]
where:
ifname - name of the interface (use Dial-In for RAS clients).
net - 4-byte network address (up to 8 hex digits, leading 0's optional).
svtype - 2-byte service type (up to 4 hex digits, leading 0's optional).
svname - service name.
mask - 4-byte network mask (up to 8 hex digits, leading 0's optional).
node - 6-byte node address (up to 12 hex digits, leading 0's optional).
socket - 2-byte socket address (up to 4 hex digits, leading 0's optional).
pkttype - 1-byte packet type (up to 2 hex digits, leading 0's optional).
action - PERMIT or DENY.
Deletes a static service from the static service table.
C:\Windows>netsh routing ipx delete staticservice ?
DELETE command is used to remove entries from the IPX configuration.
Command Syntax:
DELETE INTERFACE ifname
DELETE STATICROUTE ifname net
DELETE STATICSERVICE ifname svtype svname
DELETE FILTER ifname mode [SRCNET= net mask] [SRCNODE= node]
[SRCSOCKET= socket] [DSTNET= net mask]
[DSTNODE= node] [DSTSOCKET= socket]
[PKTTYPE= pkttype]
where:
ifname - name of the interface (use Dial-In for RAS clients).
net - 4-byte network address (up to 8 hex digits, leading 0's optional).
svtype - 2-byte service type (up to 4 hex digits, leading 0's optional).
svname - service name.
mask - 4-byte network mask (up to 8 hex digits, leading 0's optional).
node - 6-byte node address (up to 12 hex digits, leading 0's optional).
socket - 2-byte socket address (up to 4 hex digits, leading 0's optional).
pkttype - 1-byte packet type (up to 2 hex digits, leading 0's optional).
action - PERMIT or DENY.
Displays a configuration script.
C:\Windows>netsh routing ipx dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ipx help ?
Usage: help
Remarks:
Displays a list of commands.
Changes to the `netsh routing ipx netbios' context.
C:\Windows>netsh routing ipx netbios ?
The following commands are available:
Commands in this context:
? - Displays a list of commands.
add - Adds a configuration entry to a list of entries.
delete - Deletes a configuration entry from a list of entries.
dump - Displays a configuration script.
help - Displays a list of commands.
set - Sets configuration information.
show - Displays configuration information.
To view help for a command, type the command, followed by a space, and then
type ?.
Adds a configuration entry to a list of entries.
C:\Windows>netsh routing ipx netbios add ?
The following commands are available:
Commands in this context:
add nbname - Adds a NETBIOS name to the list of NETBIOS names.
Adds a NETBIOS name to the list of NETBIOS names.
C:\Windows>netsh routing ipx netbios add nbname ?
Object NBNAME is used to configure static NETBIOS names on router interfaces.
Command syntax:
SHOW NBNAME ifname
ADD NBNAME ifname nbname [nbtype]
DELETE NBNAME ifname nbname [nbtype]
Where:
ifname - name of the interface.
nbname - NETBIOS name.
nbtype - 1-byte NETBIOS name type (up to 2 hex digits, leading 0's optional).
Deletes a configuration entry from a list of entries.
C:\Windows>netsh routing ipx netbios delete ?
The following commands are available:
Commands in this context:
delete nbname - Deletes a NETBIOS name from the list of NETBIOS names.
Deletes a NETBIOS name from the list of NETBIOS names.
C:\Windows>netsh routing ipx netbios delete nbname ?
Object NBNAME is used to configure static NETBIOS names on router interfaces.
Command syntax:
SHOW NBNAME ifname
ADD NBNAME ifname nbname [nbtype]
DELETE NBNAME ifname nbname [nbtype]
Where:
ifname - name of the interface.
nbname - NETBIOS name.
nbtype - 1-byte NETBIOS name type (up to 2 hex digits, leading 0's optional).
Displays a configuration script.
C:\Windows>netsh routing ipx netbios dump ?
Usage: dump
Remarks:
Creates a script that contains the current configuration. If saved to a
file, this script can be used to restore altered configuration settings.
Displays a list of commands.
C:\Windows>netsh routing ipx netbios help ?
Usage: help
Remarks:
Displays a list of commands.
Sets configuration information.
C:\Windows>netsh routing ipx netbios set ?
The following commands are available:
Commands in this context:
set interface - Updates the protocol configuration on an interface.
Updates the protocol configuration on an interface.
C:\Windows>netsh routing ipx netbios set interface ?
Object INTERFACE is used to configure propagation of NBIPX broadcasts and to
monitor NBIPX traffic on router interfaces.
Command syntax:
SHOW INTERFACE [ifname]
SET INTERFACE ifname [[BCASTACCEPT=] accmode] [[BCASTDELIVER=] delmode]
Where:
ifname - name of the interface (use Dial-In for RAS clients).
accnode - ENABLED or DISABLED.
delmode - ENABLED, DISABLED, STATICONLY, ONLYWHENUP.
Displays configuration information.
C:\Windows>netsh routing ipx netbios show ?
The following commands are available:
Commands in this context:
show interface - Displays the protocol configuration on an interface.
show nbname - Displays the list of NETBIOS names.
Displays the protocol configuration on an interface.
C:\Windows>netsh routing ipx netbios show interface ?
Object INTERFACE is used to configure propagation of NBIPX broadcasts and to
monitor NBIPX traffic on router interfaces.
Command syntax:
SHOW INTERFACE [ifname]
SET INTERFACE ifname [[BCASTACCEPT=] accmode] [[BCASTDELIVER=] delmode]
Where:
ifname - name of the interface (use Dial-In for RAS clients).
accnode - ENABLED or DISABLED.
delmode - ENABLED, DISABLED, STATICONLY, ONLYWHENUP.
Displays the list of NETBIOS names.
C:\Windows>netsh routing ipx netbios show nbname ?
Object NBNAME is used to configure static NETBIOS names on router interfaces.
Command syntax:
SHOW NBNAME ifname
ADD NBNAME ifname nbname [nbtype]
DELETE NBNAME ifname nbname [nbtype]
Where:
ifname - name of the interface.
nbname - NETBIOS name.
nbtype - 1-byte NETBIOS name type (up to 2 hex digits, leading 0's optional).
Changes to the `netsh routing ipx rip' context.
|