The routemon utility is a scripting utility for Routing and Remote Access Service that is intended as a command-line alternative to the router administration user interface available through the Routing and RAS Admin tool (mpradmin.exe). You can use the routemon utility to configure interfaces, routing protocols, filters, and routes for routers running Routing and Remote Access Service. You can also use it to display the configuration of a currently running router service on any computer. This utility also has a scripting feature that can be used to run a collection of commands in batch mode against a specified router.
The functionality of routemon falls into three classes:
-
Interface commands, which are independent of the transport being used
-
IP commands, which are specific to IP
-
IPX commands, which are specific to IPX
Command-Line Conventions
The following command-line syntax conventions are used in this chapter:
|
Example
|
Description
|
|
routemon ip show filter
|
Command elements that must be typed exactly as shown appear in bold.
|
|
InterfaceName
|
Italic words indicate placeholders for command elements you supply.
|
|
routemon [\\ComputerName] ip show interface [ [name= ] InterfaceName]
|
Command elements inside square brackets are optional.
|
|
{ enable | disable } { srcport= Port / dstport= Port }
|
Curly brackets around command elements indicate that the user must choose one of the elements inside (if they are divided by vertical bars) or can choose one or more of the elements (if they are divided by a slanted bar).
|
Routemon Command Syntax
All routemon commands have the following general syntax. Each command element is described in the list following the syntax.
routemon [\\ComputerName] CommandClass CommandVerb CommandObject [CommandOption [CommandOption…]]
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
CommandClass
The functionality class of the routemon utility, which is ip, ipx, or interface.
CommandVerb
The action intended for the command, such as add, delete, set, or show.
CommandObject
A value for the object being configured, which is filter, interface, protocol, or route.
CommandOption
An option for the object being configured. (For more information on using command options, see "Command Options.")
Command Options
You use the following general format to specify command options:
[OptionTag=] OptionValue
If you use the option tags, you can specify options in any order. You must always type a space between the equal sign (=) and OptionValue.
However, if you omit the option tag and specify only the option value, you must omit it for all other options used with the command. In addition, when you omit the option tags, you must specify the options in the order in which they are shown.
For example, consider the ip set interface command, which enables router discovery on a specific interface. To use this command without the state= option tag, you type
routemon ip set interface ieepro1 enable
To use this command with the state= option tag, you type
routemon ip set interface ieepro1 state= enable
where ieepro1 is the name of the interface on which IP router manager is to be enabled.
Scripting Option
To specify the routemon utility scripting option, use the following command. Each command element is described in the list following the syntax.
routemon ComputerName script= Scriptfile
\\
ComputerName
The computer running the router service against which this script is to be run. The default is the local computer.
script=
ScriptFile
The script file containing routemon commands.
The commands in the script file must have the same syntax as if you used them on the command line. Each line in the script file is considered as a separate command and has the syntax:
CommandClass CommandVerb CommandObject [CommandOption [CommandOption…]]
If routemon finds an error while executing a script file, the script stops immediately and the line number of the command on which the error occurred is reported along with the error code.
Scheduling Auto-Static Updates
Scheduled updates can be automated by using a combination of routemon scripts and the Windows NT Scheduler service. To perform an automated auto-static update, use the following routemon commands:
routemon interface connect DemandDialInterfaceName
routemon interface update DemandDialInterfaceName [ip | ipx]
routemon interface disconnect DemandDialInterfaceName
For example, to automatically update the RIP for IP routes by using a demand-dial connection called CorpHub, use these routemon commands:
routemon interface connect CorpHub
routemon interface update CorpHub ip
routemon interface disconnect CorpHub
These commands can be run from a batch file or they can be placed in a routemon script file. For example, the following script file, Corphub.scp, will run the same commands for CorpHub:
interface connect CorpHub
interface update CorpHub ip
interface disconnect CorpHub
To run the Corphub.scp script file, type at the command line:
routemon script= corphub.scp
Note the use of the space between the "=" and the script filename.
After the routemon script file is created, you can run it on a scheduled basis by enabling the Windows NT Schedule service and using the at command to execute the routemon script. (The at command is part of Windows NT 4.0.)
Command-Line Help
You can get help on commands in two ways. For context-sensitive syntax Help on any command, specify the /? switch at any point in the command. This switch causes the syntax to be displayed for the elements following /? on the command line. For example, if you want to use the routemon ip show protocol command, but cannot remember the syntax past the command object, type the command string
C:\>routemon ip show protocol /?
The /? switch yields help that looks like this:
USAGE: (Note the space between = and the option value)
ROUTEMON [ \\computername ] IP SHOW PROTOCOL
[ [ PROTO= ] { RIP | OSPF | BOOTP } ]
[ [ NAME= ] Interfacename ]
To get detailed help on a command together with the semantics of each element, use this help command:
routemon [\\ComputerName] CommandClass help CommandVerb CommandObject
Routemon Commands
All routemon commands belong in one of three classes:
Interface Commands
Interface commands configure demand-dial interfaces independent of the transport protocol. They can be used to create, delete, connect, disconnect, enable, disable, update demand-dial interfaces, and display all interfaces. Interface commands have the following general syntax. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface CommandVerb [CommandOption [CommandOption…] ]
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
CommandVerb
The action intended for the command, such as add, delete, set, or show, etc.
CommandOption
An option for the object being configured. (For more information, see the section "Command Options.")
Create Command
You use the create command to create a configuration entry for a demand-dial interface and add it to the router. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface create InterfaceName
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
InterfaceName
The demand-dial interface to which the command applies. Note: Before you run this command, create an entry for "Interface Name" in the router phonebook (Router.pbk).
Delete Command
You use the delete command to delete a configuration entry for a demand-dial interface and remove it from the router. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface delete InterfaceName
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
InterfaceName
The demand-dial interface to which the command applies.
Connect Command
You use the connect command to initiate connecting on a demand-dial interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface connect InterfaceName
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
InterfaceName
The demand-dial interface to which the command applies.
Disconnect Command
You use the disconnect command to initiate disconnecting on a demand-dial interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface disconnect InterfaceName
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
InterfaceName
The demand-dial interface to which the command applies.
Set Command
You use the set command to set credentials to be used by the demand-dial interface when making a connection. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface set InterfaceName
User
Domain
Password
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
InterfaceName
The demand-dial interface to which the command applies.
User
The user name to be used when making a connection.
Domain
The domain to which User belongs.
Password
The password for User.
Update Command
You use the update command to perform auto-static routing information update for the specified transport. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface update InterfaceName Protocol
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
InterfaceName
The interface to which the command applies.
Protocol
The transport protocol, which is either ip or ipx.
Enable Command
You use the enable command to enable this interface to make demand-dial connections. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface enable InterfaceName
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
InterfaceName
The demand-dial interface to which the command applies.
Disable Command
You use the disable command to disable this interface from making demand-dial connections. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface disable InterfaceName
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
InterfaceName
The demand-dial interface to which the command applies.
Show Command
You use the show command to display a specified interface or all interfaces. Each command element is described in the list following the syntax.
routemon [\\ComputerName] interface show [InterfaceName]
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
InterfaceName
Specifies the name of the interface to be displayed. If the interface name is not specified, then information about all the interfaces on the router is displayed.
IP Commands
IP commands configure IP-specific options on a router. The objects operated on by the IP commands are interfaces (LAN and demand dial), packet filters, routing protocols, and static routes. A routemon IP command has the following syntax. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip CommandVerb CommandObject [CommandOption [CommandOption…] ]
\\
ComputerName
The computer running the router service. The default is the local computer.
CommandVerb
The action intended for the command, such as show, add, delete, or set.
CommandObject
The object being configured, which is filter, interface, protocol, or route.
CommandOptions
An option for the object being configured. (For more information, see the section "Command Options.")
Show Interface Command
You use the show interface command to display the IP router manager information, such as router discovery options, and routing protocols on the specified interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip show interface
[ [name=] InterfaceName]
\\
ComputerName
The computer running the router service against which this command is to be run. The default is the local computer.
[name= ] InterfaceName
The interface for which the information is to be displayed. The default is to show information for all interfaces that have been configured with IP router manager.
Add Interface Command
You use the add interface command to enable IP router manager over the specified interface. Values for router discovery options that are not specified are set to the defaults specified in RFC 1256. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip add interface
[name= ] InterfaceName
[ [disc= ] {enable | disable} ]
[ [minint= ] MinimumInterval ]
[ [maxint= ] MaximumInterval ]
[ [life= ] Lifetime ]
[ [level= ] PreferenceLevel ]
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ] InterfaceName
The interface on which IP router manager is to be enabled.
[disc= ] {enable | disable}
Enable or disable the router discovery option. The default is disable.
[minint= ] MinimumInterval
Minimum interval between router advertisements. The range is 1 to the value of maxint. The default is 0.75 multiplied by the value of maxint.
[maxint= ] MaximumInterval
Maximum interval between router advertisements. The range is 1–30 minutes. The default is 30 minutes.
[life= ] Lifetime
Lifetime of a router discovery advertisement. The range is the value of maxint to 150 minutes. The default is 3 multiplied by the value of maxint.
[level= ] PreferenceLevel
Preference level of the router discovery advertisement. The range is 0–32,767. The default is 0.
Delete Interface Command
You use the delete interface command to disable IP router manager from the specified interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip delete interface
[name= ] InterfaceName
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ] InterfaceName
The interface from which IP Router Manager is to be deleted.
Set Interface Command
You use the set interface command to modify IP router manager information on the specified interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip set interface
[name= ] InterfaceName
{ [disc= ] {enable | disable} /
[minint= ] MinimumInterval /
[maxint= ] MaximumInterval /
[life=] Lifetime /
[level= ] PreferenceLevel }
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ] InterfaceName
The interface on which the IP router manager information is to be modified.
[disc= ] {enable | disable}
The router discovery option.
[minint= ] MinimumInterval
Minimum interval between router discovery advertisements. The range is 1 to the value of maxint. The default is 0.75 multiplied by the value of maxint.
[maxint= ] MaximumInterval
Maximum interval between router discovery advertisements. The range is 1–30 minutes. The default is 30 minutes.
[life= ] Lifetime
Lifetime of a router discovery advertisement. The range is the value of maxint to 150 minutes. The default is 3 multiplied by the value of maxint.
[level= ] PreferenceLevel
Preference level of the router discovery advertisement. The range is 0–32,767. The default is 0.
Show Filter Command
You use the show filter command to view the input and output packet filters configured on an interface. These filters are specific to IP. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip show filter
[ [name=] InterfaceName]
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ] InterfaceName
The interface for which the filter information is to be displayed. By default, filter information for all interfaces is displayed.
Add Filter Command
You use the add filter command to add a packet filter to the specified interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip add filter
[name= ] InterfaceName
[filtertype= ] {input | output}
[srcaddr= ] IPAddress
[srcmask= ] IPMask
[dstaddr= ] IPAddress
[dstmask= ] IPMask
{ [proto= ] any |
[proto= ] {tcp|udp}
[ [srcport= ] Port [dstport= ] Port ] |
[proto= ] icmp
[ [type= ] Type [code= ] Code ] }
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ] InterfaceName
The interface to which the filter is to be added.
[filtertype= ] {input |output}
Filter type, either input or output.
[srcaddr= ] IPAddress
Source address field of the packet to be filtered. Enter an address in the form x.x.x.x.
[srcmask= ] IPMask
Source address mask of the packet to be filtered. Enter an address in the form x.x.x.x.
[dstaddr= ] IPAddress
Destination address field of the packet to be filtered. Enter an address in the form x.x.x.x.
[dstmask= ] IPMask
Destination address mask of the packet to be filtered. Enter an address in the form x.x.x.x.
[proto= ] any
[proto= ] {tcp|udp}
[proto= ] icmp
Protocol type of packet to be filtered. Depending on the case, this command element can be any, tcp, udp, or icmp.
[srcport= ] Port
This field applies only if the proto = value is tcp or udp. Source port field of the packet to be filtered. The range is 0–255. The default is 0 (which is any port).
[dstport= ] Port
This field applies only if the proto = value is tcp or udp. Destination port field of the packet to be filtered. The range is 0–255. The default is 0 (which is any port).
[type= ] Type
ICMP type field of packet to be filtered. The range is 0–255. The default is 0 (which is any type).
[code= ] Code
This field applies only if the proto = value is icmp. ICMP code field of packet to be filtered. The range is 0–255. The default is 0 (which is any code).
Delete Filter Command
You use the delete filter command to delete a packet filter from the specified interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip delete filter [name= ] InterfaceName
[filtertype= ] {input | output}
[ [srcaddr= ] IPAddress [srcmask= ] IPMask ]
[ [dstaddr= ] IPAddress [dstmask= ] IPMask ]
{ [proto= ] any | [proto= ] {tcp|udp} [ [srcport= ] Port] / [ [dstport= ] Port] ] | [proto= ] icmp [ [type= ] Type / [code= ] Code] ] }
routemon [\\ComputerName] ip delete filter
[name= ] InterfaceName
[filtertype= ] {input | output}
[srcaddr= ] IPAddress
[srcmask= ] IPMask
[dstaddr= ] IPAddress
[dstmask= ] IPMask
{ [proto= ] any |
[proto= ] {tcp|udp}
[ [srcport= ] Port [dstport= ] Port ] |
[proto= ] icmp
[ [type= ] Type [code= ] Code ] }
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ] InterfaceName
The interface from which the filter is to be deleted.
[filtertype= ] {input | output}
Filter type, either input or output.
[srcaddr= ] IPAddress
Source address field of the packet to be filtered. Enter an address in the form x.x.x.x.
[srcmask= ] IPMask
Source address mask of the packet to be filtered. Enter an address in the form x.x.x.x.
[dstaddr= ] IPAddress
Destination address field of the packet to be filtered. Enter an address in the form x.x.x.x.
[dstmask= ] IPMask
Destination address mask of the packet to be filtered. Enter an address in the form x.x.x.x.
[proto= ] any
[proto= ] {tcp|udp}
[proto= ] icmp
Protocol type of packet to be filtered. Depending on the case, this command element can be any, tcp, udp, or icmp.
[srcport= ] Port
This field applies only if the proto = value is tcp or udp. Source port field of the packet to be filtered. The range is 0–255. The default is 0 (which is any port).
[dstport= ] Port
This field applies only if the proto = value is tcp or udp. Destination port field of the packet to be filtered. The range is 0–255. The default is 0 (which is any port).
[type= ] Type
ICMP type field of packet to be filtered. The range is 0–255. The default is 0 (which is any type).
[code= ] Code
This field applies only if the proto = value is icmp. ICMP code field of packet to be filtered. The range is 0–255. The default is 0 (which is any code).
Set Filter Command
The set filter command has two uses: to enable global packet filtering; and to modify the filtering action on an interface. Each command element is described following the command syntax.
The syntax to enable filters is:
routemon [\\ComputerName] ip set filter [filtering= ] {enable | disable}
In order for the modify command to take effect, you must enable filtering with the previous command. The syntax for modifying the filtering on an interface is:
routemon [\\ComputerName] ip set filter
[name=] InterfaceName
[filtertype= ] {input | output}
[action= ] {drop | forward}
\\
ComputerName
The computer running the router service. The default is the local computer.
[filtering=] {enable | disable}
Whether packet filtering is to be enabled or disabled on this router. This is a global setting. The default is disable.
[name=] InterfaceName
The interface on which the filter action is to be modified.
[filtertype=] {input | output}
Filter type, either input or output.
[action=] {drop | forward}
The filter action: If the packet matches the filter, either drops the packet or forwards it.
Show Protocol Command
You use the show protocol command to view routing protocol information on the specified router. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip show protocol
[ [proto= ] {rip | ospf | bootp} ]
[ [name= ] InterfaceName]
\\
ComputerName
The computer running the router service. The default is the local computer.
[proto= ] {rip | ospf | bootp}
The routing protocol for which information is to be displayed. If you use this option without the name option, global information for the specified protocol is displayed.
[name= ] InterfaceName
The interface for which protocols are to be displayed. If you use this option without the proto option, interface-specific information for all the routing protocols enabled on the interface is displayed.
Note If you do not use either the proto or the name option, global information for all configured routing protocols is displayed.
Add Protocol Command
You use the add protocol command to add a routing protocol to the specified router. In addition, if you specify an interface, the routing protocol is also enabled on that interface. Each command element is described in the list following the syntax.
routemon [\\ ComputerName] ip add protocol
[proto= ] {bootp | rip | ospf}
[ [name= ] InterfaceName]
\\
ComputerName
The computer running the router service. The default is the local computer.
[proto=] {bootp | rip | ospf}
The routing protocol to be added.
[name=]
InterfaceName
The interface to which the protocol is to be added. If not specified, the routing protocol is added to the router, but not enabled on any interface.
Delete Protocol Command
You use the delete protocol command to delete a routing protocol from the router. If the interface is specified, then the routing protocol is removed from only that interface. If the interface is not specified, the protocol is deleted globally as well as from every interface on which it is enabled. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip delete protocol
[proto= ] {bootp | rip | ospf}
[ [name= ] InterfaceName]
\\
ComputerName
The computer running the router service. The default is the local computer.
[proto= ] {bootp | rip | ospf}
The routing protocol to be deleted: bootp, rip, or ospf.
[name= ] InterfaceName
The interface from which the protocol is to be deleted.
Set Protocol Command
You use the set protocol command to configure options for routing protocols that are already configured on the router. The set protocol command consists of six subcommands, two for each routing protocol. The routing protocols are divided into global and per-interface commands.
Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip set protocol
[proto= ] bootp global
{ [server= ] {+|-}IPAddr /
[loglevel= ] {none | error | warn | info} }
routemon [\\ComputerName] ip set protocol
[proto= ] bootp [name= ] InterfaceName
{ [relaymode= ] {enable | disable} /
[maxhop= ] MaximumHops /
[minsecs= ] MinimumSeconds }
routemon [\\Computername] ip set protocol
[proto= ] rip global
{ [loglevel= ] {none | error | warn | info} /
[mintrig= ] MinimumTriggerInterval /
[peermode= ] { include | exclude | disable } /
[server= ] {+|-}IPaddr}
routemon [\\Computername] ip set protocol
[proto= ] rip
[name= ] Interfacename
{ [metric= ] MetricValue /
[updatemode= ] { demand | periodic } /
[announce= ] { none | rip1 | rip1compat | rip2 } /
[accept= ] { none | rip1 | rip1compat | rip2 } /
[flags= ] FlagsBitPattern /
[expire= ] RouteExpirationInterval /
[remove= ] RouteRemovalInterval /
[update= ] FullUpdateInterval /
[tag= ] RouteTag /
[unicast= ] { also | only | disable } /
[accfiltmode= ] { include | exclude | disable } /
[annfiltmode= ] { include | exclude | disable } /
[server= ] {+|-} IPaddr /
[accfilt= ] {+|-} IPaddr Ipmask /
[annfilt= ] {+|-}IPaddr IPmask }
routemon [\\Computername] ip set protocol
[proto= ] ospf global
{ [routerid=] RouterID /
[asborder= ] { yes | no } /
[loglevel= ] { none | error| warn | info } /
[areaid= ] [+|-]AreaID
[[auth= ] { none | password } /
[importas= ] { yes | no } /
[metric= ] StubMetric /
[sumad= ] { yes | no } /
[range= ] {+|-} IPaddr IPmask ] /
[transareaid= ] {+|-}IPaddr [virtnbrid= ] IPaddr [[transdelay= ] TransitDelay / [retrans= ] RetransmissionInterval / [hello= ] HelloInterval / [dead= ] DeadInterval / [password= ] Password] /
[filtproto= ] {+|-}{ rip |snmp |static } /
[protoaction= ] { drop | forward } /
[filtroute= ] {+|-}IPaddr IPmask /
[routeaction= ] { drop | forward } }
routemon [\\Computername] ip set protocol
[proto= ] ospf [name= ] InterfaceName
[ifaddr= ] [+|-]IPaddr
[[ifmask= ] IPmask /
[ifareaid= ] IPaddr /
[iftype= ] { nbma | p2p | broadcast } /
[prio= ] Priority /
[transdelay= ] TransitDelay /
[retrans= ] RetransmissionInterval /
[hello= ] HelloInterval /
[dead=] DeadInterval /
[poll= ] PollInterval /
[metric= ] MetricValue /
[password=] Password /
[mtu= ] MtuSize ] /
[[nbraddr= ] {+|-}IPaddr
[nbrprio= ] Priority ]
\\
ComputerName
The computer running the router service. The default is the local computer.
[proto= ]
The name of the protocol; bootp global or per-interface, rip global or per-interface, or ospf global or per-interface.
[name= ] InterfaceName
The interface on which the protocol settings are to be modified.
[server= ] {+|-}IPAddr
The IP address of the server.
[loglevel= ] {none | error | warn | info}
The level of information to be logged: none, error messages, warnings, or informational.
[relaymode= ] {enable | disable}
The relay mode setting for the DHCP Relay Agent.
[maxhop= ] MaximumHops
The maximum number of hops. After this number of hops, DHCP requests are discarded.
[minsecs= ] MinimumSeconds
The minimum number of seconds before DHCP requests are forwarded.
[mintrig= ] MinimumTriggerInterval
The minimum interval between triggered updates
[peermode= ] { include | exclude | disable }
The setting for unicast peer filters.
[metric= ] MetricValue
The metric value setting.
[updatemode= ] { demand | periodic }
The RIP update mode setting
[announce= ] { none | rip1 | rip1compat | rip2 }
RIP announce mode setting
[accept= ] { none | rip1 | rip1compat | rip2 }
The RIP accept mode setting.
[flags= ] FlagsBitPattern
[expire= ] RouteExpirationInterval
The interval (in seconds) before RIP routes expire.
[remove= ] RouteRemovalInterval
The interval (in seconds) before RIP routes expire.
[update= ] FullUpdateInterval
The RIP periodic update interval.
[tag= ] RouteTag
The route tag field setting in RIP outgoing packets.
[unicast= ] { also | only | disable }
The setting for unicast peer transmission.
[accfiltmode= ] { include | exclude | disable }
The filter mode for routes in incoming updates.
[annfiltmode= ] { include | exclude | disable }
The filter mode for routes in outgoing updates.
[accfilt= ] {+|-} IPaddr IPmask
The route filter range for incoming updates
[annfilt= ] {+|-}IPaddr IPmask
The route filter range for outgoing updates.
[routerid=] RouterID
The router identifier for the OSPF router.
[asborder= ] { yes | no }
Specifies whether the router is an autonomous system border router.
[areaid= ] [+|-]AreaID
The area identifier for the OSPF router.
[auth= ] { none | password }
The type of authentication used by the specified area.
[importas= ] { yes | no }
Specifies whether to import an autonomous segment.
[sumad= ] { yes | no }
Specifies whether to use summary advertisements.
[range= ] {+|-} IPaddr IPmask ]
The area range for the specified area.
[transareaid= ] {+|-}Ipaddr
The transit area ID.
[virtnbrid= ] IPaddr
The virtual neighbor ID.
[transdelay= ] TransitDelay
The transit delay interval.
[retrans= ] RetransmissionInterval
Interval between retransmissions
[hello= ] HelloInterval
The interval between OSPF hellos.
[dead= ] DeadInterval
The dead interval.
[password= ] Password
The clear-text password.
[filtproto= ] {+|-}{ rip |snmp |static }
The routing protocols to be filtered.
[protoaction= ] { drop | forward }
The action to take for routing protocol filters.
[filtroute= ] {+|-}IPaddr IPmask
The routes to be filtered.
[routeaction= ] { drop | forward }
The action to take for filtered routes.
[ifaddr= ] [+|-]IPaddr
The IP address of interface.
[ifmask= ] Ipmas
The IP mask corresponding to the interface address.
[ifareaid= ] IPaddr
The area ID for the interface.
[iftype= ] { nbma | p2p | broadcast }
The type of interface.
[prio= ] Priority
The interface priority.
[poll= ] PollInterval
The poll interva.l
[mtu= ] MtuSize
The size of MTUs sent over the interface.
[nbraddr= ] {+|-}IPaddr
The IP address of the OSPF neighbor.
[nbrprio= ] Priority
The priority of the neighbor.
Show Route Command
The show route command displays the static routes configured on an interface. If the name option is omitted, static routes for all interfaces that have been configured for IP are displayed. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip show route
[ [name= ] InterfaceName]
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ]
InterfaceName
The interface for which the static routes are to be displayed.
Add Route Command
You use the add route command to add a static route to the specified interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip add route
[name= ] InterfaceName
[dstaddr= ] IPAddress
[dstmask= ] IPMask
[nexthop= ] IPAddress
[metric= ] Metric
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ] InterfaceName
The interface on which the static route is to be added.
[dstaddr= ] IPAddress
IP destination address for the route. Enter an address in the form x.x.x.x.
[dstmask= ] IPMask
Subnet mask for the destination address. Enter an address in the form x.x.x.x.
[nexthop= ]
IPAddress
Address of the next-hop router for the route. Enter an address in the form x.x.x.x.
[metric= ]
Metric
Metric associated with the route.
Delete Route Command
You use the delete route command to delete a static route from the specified interface. Each command element is described in the list following the syntax.
routemon [\\ ComputerName] ip delete route
[name= ] InterfaceName
[dstaddr= ] IPAddress
[dstmask= ] IPMask
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ]
InterfaceName
The interface on which the static route is to be deleted.
[dstaddr= ]
IPAddress
Destination address for the route. Enter an address in the form x.x.x.x.
[dstmask= ]
IPMask
Subnet mask for the destination address. Enter an address in the form x.x.x.x.
Set Route Command
You use the set route command to modify a static route on an interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ip set route
[name= ] InterfaceName
[dstaddr= ] IPAddress
[dstmask= ] IPMask
{ [nexthop= ] IPAddress] / [metric= ] Metric}
\\
ComputerName
The computer running the router service. The default is the local computer.
[name= ] InterfaceName
The interface on which the static route is to be modified.
[dstaddr= ] IPAddress
Destination address for the route. Enter an address in the form x.x.x.x.
[dstmask= ] IPMask
Subnet mask for the destination address. Enter an address in the form x.x.x.x.
[nexthop= ] IPAddress
Address of the next hop router for the route. Enter an address in the form x.x.x.x.
[metric= ] Metric
Metric associated with the route.
IPX Commands
IPX commands configure IPX-specific options on a router. The objects operated on by the IPX commands are protocols, LAN and demand-dial interfaces, packet filters, routing protocol interfaces and filters, routes, services, and static routes, services, and NetBIOS names. IPX commands have the following general syntax. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx CommandVerb CommandObject [CommandOption [CommandOption…] ]
CommandVerb
The action intended for the command, such as delete, set, or show.
CommandObject
The object being configured, such as a protocol, interface, or route.
CommandOption
An option for the object being configured. (For more information, see the section "Command Options.")
IPX Command-Line Help
Command-line help is available with all IPX objects. Each help command element is described in the list following the syntax.
routemon [\\ComputerName] ipx help [Object]
Object
The object on which the command is to act, such as a protocol or interface. All commands available for the named object are listed with a brief description of their syntax. By default, the list of available objects appears.
Show Global Command
You use the show global command to view global configuration parameters of IPX transport. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show global
\\ ComputerName
The computer running the router service. The default is the local computer.
Set Global Command
You use the set global command to set global configuration parameters of IPX transport. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set global
[ [loglevel=] {none | errors_only |
warnings_and_errors |
maximum_information} ]
\\
ComputerName
The computer running the router service. The default is the local computer.
[loglevel= ]
{none | errors_only | warnings_and_errors | maximum_information}
Level of the information logged to the event log by the IPX transport. The default is errors_only.
Show Ripglobal Command
You use the show ripglobal command to view global configuration parameters of the IPX RIP protocol. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show ripglobal
\\
ComputerName
The computer running the router service. The default is the local computer.
Set Ripglobal Command
You use the set ripglobal command to set global configuration parameters of IPX RIP protocol. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set ripglobal
[ [loglevel= ] {none | errors_only |
warnings_and_errors |
maximum_information}]
\\
ComputerName
The computer running the router service. The default is the local computer.
[loglevel= ]
{none | errors_only | warnings_and_errors | maximum_information}
Level of the information logged to the event log by the IPX RIP protocol. The default is errors_only.
Show Sapglobal Command
You use the show sapglobal command to view global configuration parameters of the IPX SAP protocol. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show sapglobal
\\
ComputerName
The computer running the router service. The default is the local computer.
Set Sapglobal Command
You use the set sapglobal command to set global configuration parameters of the IPX SAP protocol. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set sapglobal
[ [loglevel= ] {none | errors_only |
warnings_and_errors |
maximum_information}]
\\
ComputerName
The computer running the router service. The default is the local computer.
[loglevel= ]
{none | errors_only | warnings_and_errors | maximum_information}
Level of the information logged to the event log by the IPX SAP protocol. The default is errors_only.
Show Interface Command
You use the show interface command to view per-interface parameters of the IPX transport. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show interface [InterfaceName]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which this command applies. (The reserved name dial-in can be used to display parameters of RAS dial-in client interfaces.) If this option is omitted, routemon displays all IPX interfaces with a shortened parameter list.
Set Interface Command
You use the set interface command to set per-interface parameters of the IPX transport. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set interface InterfaceName
[ [adminstate= ] {enabled | disabled} ]
[ [wanprotocol= ] {ppp | ipxwan} ]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which command applies. (The reserved name dial-in can be used to set parameters of RAS dial-in client interfaces.)
[adminstate= ] {enabled | disabled}
Administrative state of the IPX transport on the interface. The default is enabled.
[wanprotocol= ] {ppp | ipxwan}
The control protocol that negotiates IPX connection parameters on demand-dial interfaces. The default is ppp.
Create Interface Command
You use the create interface command to create the IPX transport interface corresponding to the router demand-dial interface. The create interface command also sets default parameters for the IPX transport and all installed routing protocols. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx create interface InterfaceName
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to be created. InterfaceName must be the name of an existing demand-dial interface that does not yet have an IPX transport on it.
Delete Interface Command
You use the delete interface command to remove IPX transport and all installed routing protocols from a demand-dial interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx delete interface InterfaceName
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to be deleted.
Show Nbinterface Command
You use the show nbinterface command to view per-interface parameters that control propagation of NetBIOS (type 20) packets. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show nbinterface [InterfaceName]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the show nbinterface command applies. (The special name dial-in can be used to display parameters of RAS dial-in client interfaces.) If this option is omitted, routemon displays NetBIOS packet propagation parameters of all interfaces.
Set Nbinterface Command
You use the set nbinterface command to set per-interface parameters that control propagation of NetBIOS (type 20) packets. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set nbinterface InterfaceName
[ [bcastaccept= ] {enabled | disabled} ]
[ [bcastdeliver= ] {enabled | disabled | staticonly | onlywhenup} ]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which this command applies. (The special name dial-in can be used to set parameters of RAS dial-in client interfaces.)
[bcastaccept= ] {enabled | disabled}
Determines whether NetBIOS (type 20) broadcast packets are accepted on the interface. The default is enabled on a LAN and disabled on a WAN.
[bcastdeliver= ] {enabled | disabled | staticonly | onlywhenup}
Determines under which conditions NetBIOS broadcast (type 20) packets are propagated (sent) on the interface. The default is enabled on a LAN and disabled on a WAN. Settings for bcastdeliver have the following meanings:
|
Setting
|
Meaning
|
|
enabled
|
Packets are always sent even if this requires a connection to be established.
|
|
Disabled
|
Packets are never sent.
|
|
staticonly
|
Packets are sent only if they are destined to statically seeded NetBIOS names (addresses).
|
|
onlywhenup
|
Packets are sent only if the interface is already connected.
|
Show Ripinterface Command
You use the show ripinterface command to view per-interface parameters of the IPX RIP protocol. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show ripinterface [InterfaceName]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies. (The reserved name dial-in can be used to display parameters of RAS dial-in client interfaces.) If an interface is not specified, routemon displays a table of the most important parameters for all interfaces.
Set Ripinterface Command
The set ripinterface command sets per-interface parameters of the IPX RIP protocol. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set ripinterface InterfaceName
[ [adminstate= ] {enabled | disabled} ]
[ [advertise= ] {enabled | disabled} ]
[ [listen= ] {enabled | disabled} ]
[ [updatemode= ] {standard | autostatic | none} ]
[ [interval= Interval]
[ [agemultiplier= ] Multiplier]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which this command applies. (The special name dial-in can be used to set parameters of RAS dial-in client interfaces.)
[adminstate= ] {enabled | disabled}
Administrative state of the IPX RIP interface. The default is enabled.
[advertise= ] {enabled | disabled}
Whether IPX RIP advertises routes on the interface. The default is enabled.
[listen= ] {enabled | disabled}
Whether IPX RIP listens for route advertisements on the interface. The default is enabled.
[updatemode= ] {standard | autostatic | none }
The route-update mechanism used by IPX RIP on the interface. The default is standard on a LAN and none on a WAN. Values have the following meanings:
|
Value
|
Meaning
|
|
standard
|
Periodic updates. This is determined by the interval and agemultiplier values.
|
|
autostatic
|
Updates are triggered by a user manually requesting an autostatic update and preserved as static routes.
|
|
none
|
No route updates are performed on the interface.
|
[interval= ]
Interval
Interval in seconds with which periodic route updates are performed by IPX RIP on the interface. (This option only has an effect if updatemode is set to standard.) The range is 0–32,767 seconds. The default is 60 seconds.
[agemultiplier= ]
Multiplier
Aging time (as a multiple of periodic update interval), which is applied to routes learned by IPX RIP on the interface. (This option only has an effect if updatemode is set to standard.) The range is 1–100. The default is 3.
Show Sapinterface Command
You use the show sapinterface command to view per-interface parameters of the IPX SAP protocol. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show sapinterface [InterfaceName]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies. (The special name dial-in can be used to display parameters of RAS dial-in client interfaces.) If an interface is not specified, routemon displays a table of the most important parameters for all interfaces.
Set Sapinterface Command
You use the set sapinterface command to set per-interface parameters of the IPX SAP protocol. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set sapinterface InterfaceName
[ [adminstate= ] {enabled | disabled} ]
[ [advertise= ] {enabled | disabled} ]
[ [listen= ] {enabled | disabled} ]
[ [gsnreply= ] {enabled | disabled} ]
[ [updatemode= ] {standard | autostatic | none} ]
[ [interval= ] Interval]
[ [agemultipler= ] Multiplier]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies. (The special name dial-in can be used to set parameters of RAS dial-in client interfaces.)
[adminstate= ] {enabled | disabled}
The administrative state of the IPX SAP interface. The default is enabled.
[advertise= ] {enabled | disabled}
Whether IPX SAP advertises services on the interface. The default is enabled.
[listen= ] {enabled | disabled}
Whether IPX SAP listens for service advertisements on the interface. The default is enabled.
[gnsreply= ] {enabled | disabled}
Whether IPX SAP replies to Get Nearest Service requests on the interface. The default is enabled.
[updatemode= ] {standard | autostatic | none}
The service-update mechanism used by IPX SAP on the interface. The default is standard for a LAN and none for a WAN. Values have the following meanings:
|
Value
|
Meaning
|
|
standard
|
Periodic updates. This is determined by the interval and agemultiplier values.
|
|
autostatic
|
Updates are triggered by a user manually requesting an autostatic update and preserved as static services.
|
|
none
|
No service updates are performed on the interface.
|
[interval= ]
Interval
The interval, in seconds, with which periodic service updates are performed by IPX SAP on the interface. (This option has an effect only if updatemode is set to standard.)
[agemultiplier= ]
Multiplier
The aging time (as a multiple of Interval) that is applied to services learned by IPX SAP on the interface. (This option only has an effect if updatemode is set to standard.)
Show Trafficfilter Command
You use the show trafficfilter command to view traffic filters configured on IPX interfaces. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show trafficfilter InterfaceName
[input | output]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which this command applies.
input | output
Filter type, either input or output. The default is both types.
Set Trafficfilter Command
You use the set trafficfilter command to set the action taken when an incoming / outgoing packet that passes though the interface matches one of the configured input / output filters. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set trafficfilter InterfaceName
{input | output}
{permit | deny}
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
input | output
Filter type, either input or output. The default is no filter type.
permit | deny
Action taken to matching packets. You must specify one of these actions. The values have the following meanings:
|
Value
|
Meaning
|
|
permit
|
Matching packets are allowed through.
|
|
deny
|
Matching packets are discarded.
|
Opposite action is applied to the packets that do not match any filter configured on the interface.
Create Trafficfilter Command
You use the create trafficfilter command to create a traffic filter on the IPX interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx create trafficfilter InterfaceName
{input | output}
[srcnet= ] Net MASK
[srcnode= ] Node
[srcsocket= ] Socket
[dstnet= ] Net MASK
[dstnode= ] Node
[dstsocket= ] Socket
[pkttype= ] Type
[log]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which command applies.
input | output
The filter type, either input or output. You must specify a filter type.
[srcnet= ] Net MASK
The source address and mask fields of the filter definition (both fields are 4-byte hexadecimal numbers). To match, packets must have the same source address after the mask is applied.
[srcnode= ] Node
The source node field of the filter definition (6-byte hexadecimal number).
[srcsocket= ] Socket
The source socket field of the filter definition (2-byte hexadecimal number).
[dstnet= ] Net MASK
The destination address and mask fields of the filter definition (both fields are 4-byte hexadecimal numbers). To match, packets must have the same destination address after the mask is applied.
[dstnode= ] Node
The destination node field of the filter definition (6-byte hexadecimal number).
[dstsocket= ] Socket
The destination socket field of the filter definition (2-byte hexadecimal number).
[pkttype= ] Type
The packet type field of the filter definition (1-byte hexadecimal number).
log
Whether matching packets are logged. By default, log does not appear and packets are not logged.
Delete Trafficfilter Command
You use the delete trafficfilter command to delete a traffic filter from an IPX interface. The delete trafficfilter options must exactly match the filter definition specified in the create trafficfilter command, except the log option. See the create trafficfilter command for option syntax and semantics.
routemon [\\ComputerName] ipx delete trafficfilter InterfaceName
{input | output}
[srcnet= ] Net MASK
[srcnode= ] Node
[srcsocket= ] Socket
[dstnet= ] Net MASK
[dstnode= ] Node
[dstsocket= ] Socket
[pkttype= ] Type
Show Ripfilter Command
You use the show ripfilter command to view route filters configured on IPX RIP interfaces. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show ripfilter InterfaceName
[ input | output ]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
input | output
Filter type, either input or output. The default is both types.
Set Ripfilter Command
You use the set ripfilter command to set the action taken when an incoming or outgoing RIP announcement that passes though the interface matches one of the configured input/output route filters. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set ripfilter InterfaceName
{input | output}
{permit | deny}
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
input | output
Filter type, either input or output.
permit | deny
The action taken for matching announcements. The values have the following meanings:
|
Value
|
Meaning
|
|
permit
|
Matching announcements are allowed through.
|
|
deny
|
Matching announcements are ignored (incoming) or not sent (outgoing).
|
Opposite action is applied to the announcements that do not match any filter configured on the interface.
Create Ripfilter Command
You use the create ripfilter command to create a route filter on an IPX RIP interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx create ripfilter InterfaceName
{input | output}
Net
MASK
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
input | output
Filter type, either input or output.
Net
Setting for the RIP filter network number field (4-byte hexadecimal number). To match, route announcements must have the same network number after the mask is applied.
MASK
Setting for the RIP filter network mask field.
Delete Ripfilter Command
You use the delete ripfilter command to delete a route filter from an IPX RIP interface. The options must exactly match the filter definition specified in the create ripfilter command. See create ripfilter for option syntax and semantics.
routemon [\\ComputerName] ipx delete ripfilter InterfaceName
{input | output}
Net
MASK
Show Sapfilter Command
The show sapfilter command shows service filters configured on IPX SAP interfaces. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show sapfilter InterfaceName
[ input | output ]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
input | output
Whether this command applies only to input or only to output filters. By default, it applies to both types.
Set Sapfilter Command
You use the set sapfilter command to set the action taken when an incoming / outgoing SAP announcement that passes though the interface matches one of the configured input / output service filters. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set sapfilter InterfaceName
{input | output}
{permit | deny}
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
input | output
Filter type, either input or output.
permit | deny
Action taken for matching announcements. The values have the following meanings:
|
Value
|
Meaning
|
|
permit
|
Matching announcements are allowed through.
|
|
deny
|
Matching announcements are ignored (incoming) or not sent (outgoing).
|
Opposite action is applied to the announcements that do not match any filter configured on the interface.
Create Sapfilter Command
You use the create sapfilter command to create a service filter on IPX SAP interfaces. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx create sapfilter InterfaceName
{input | output}
Type
Name
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
input | output
Filter type, either input or output.
Type
Setting for the SAP filter service type field (2-byte hexadecimal number). The value 0xFFFF can be used to match services of any type.
Name
Setting for the SAP filter service name field. This value can be used to match services with any name.
Delete Sapfilter Command
The delete sapfilter command deletes a service filter from the IPX SAP interface. The delete sapfilter options must exactly match the filter definition specified in the create sapfilter command. See create sapfilter for option syntax and semantics.
routemon [\\ComputerName] ipx delete sapfilter InterfaceName
{input | output}
Type
Name
Show Route Command
You can use the show route command to view the content of the IPX routing table or to view parameters of the specific route. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show route [Net]
\\
ComputerName
The computer running the router service. The default is the local computer.
Net
The route to a specific network is displayed (4-byte hexadecimal number).
Show Service Command
You use the show service command to view the content of an IPX service table or to view parameters of the specific service. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show service [Type] [Name]
\\
ComputerName
The computer running the router service. The default is the local computer.
Type
Only the services of the specified type (2-byte hexadecimal number) are displayed. By default, services of all types are displayed.
Name
Only the service of the specified name is displayed. By default, services of any name are displayed.
Show Staticroute Command
You use the show staticroute command to view static routes configured on an IPX transport interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show staticroute InterfaceName [Net]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Net
Only the route to the specified network is displayed (4-byte hexadecimal number).
Set Staticroute Command
You use the set staticroute command to set parameters of a static route. Each command element is described in the list following the syntax.
routemon [\\ ComputerName] ipx set staticroute InterfaceName
Net
[ [nexthopmacaddress= ] Address]
[ [ticks= ] Ticks]
[ [hops= ] Hops]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Net
Network number (4-byte hexadecimal number) of the route to which the command applies.
[nexthopmacaddress= ]
Address
The MAC address (6-byte hexadecimal number) of the next hop router. (The value 0xFFFFFFFFFFFF — broadcast address — can be used on point-to-point demand-dial interfaces if the address of the next-hop router is not known in advance; that is, if it is not determined during connection establishment.)
[ticks= ]
Ticks
Time (in 1/60 seconds) required to reach the destination network. The range is 1–32,767 seconds.
[hops= ] Hops
The number of routers that need to be crossed to reach the destination network. The range is 1–15.
Create Staticroute Command
You use the create staticroute command to create a static route on an IPX transport interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx create staticroute InterfaceName
Net
[nexthopmacaddress= ] Address
[ticks= ] Ticks
[hops= ] Hops
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Net
Destination network number (4-byte hexadecimal number) to which the route leads.
[nexthopmacaddress= ]
Address
The MAC address (6-byte hexadecimal number) of the next-hop router. The value 0xFFFFFFFFFFFF — broadcast address — can be used on point-to-point demand-dial interfaces if the address of the next-hop router is not known in advance; that is, if it is not determined during connection establishment.
[ticks= ]
Ticks
Time (in 1/60 seconds) required to reach the destination network. The range is 1–32,767 seconds.
[hops= ] Hops
The number of routers that need to be crossed to reach the destination network. The range is 1–15.
Delete Staticroute Command
You use the delete staticroute command to delete a static route from an IPX transport interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx delete staticroute InterfaceName Net
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Net
The route to a specific network (4-byte hexadecimal number) that is deleted.
Show Staticservice Command
You use the show staticservice command to show static services configured on IPX transport interfaces. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show staticservice InterfaceName
[Type]
[Name]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Type
The only type (2-byte hexadecimal number) of service that is displayed. By default, all types of services are displayed.
Name
The name of the only service that is displayed. By default, services of any name are displayed.
Set Staticservice Command
You use the set staticservice command to set parameters of a static route. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx set staticservice InterfaceName
[Type]
[Name]
[ [network= ] Net]
[ [node= ] Node]
[ [socket= ] Socket]
[ [hops= ] Hops]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Type
The only type (2-byte hexadecimal number) of service that is displayed. By default, all types of services are displayed.
Name
The name of the only service to which this command applies. By default, the command applies to services of any name.
[network= ]
Net
Network part (4-byte hexadecimal number) of the service address.
[node= ]
Net
Node part (6-byte hexadecimal number) of the service address.
[socket= ]
Socket
Socket part (2-byte hexadecimal number) of the service address.
[hops= ]
Hops
The number of routers that need to be crossed to reach the service. The range is 1–15.
Create Staticservice Command
You use the create staticservice command to create a static service on an IPX transport interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx create staticservice InterfaceName
[Type]
[Name]
[network= ] Net
[node= ] Node
[socket= ] Socket
[hops= ] Hops
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Type
Type (2-byte hexadecimal number) of the service to be created.
Name
Name of the service to be created.
[network= ] Net
The network part (4-byte hexadecimal number) of the service address.
[node= ] Net
The node part (6-byte hexadecimal number) of the service address.
[socket= ] Socket
The socket part (2-byte hexadecimal number) of the service address.
[hops= ] Hops
The number of routers that need to be crossed to reach the service. The range is 1–15.
Delete Staticservice Command
You use the delete staticservice command to delete static service from the IPX transport interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx delete staticservice InterfaceName
[Type]
[Name]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Type
Type (2-byte hexadecimal number) of the service to be deleted.
Name
Name of the service to be deleted.
Show Nbname Command
You use the show nbname command to show static NetBIOS names (addresses) configured on IPX transport interfaces that are used to optimize NetBIOS (type 20) packet propagation. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx show nbname InterfaceName
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Create Nbname Command
You use the create nbname command to create a static NetBIOS name (address) on IPX transport interface to be used to optimize NetBIOS (type 20) packet propagation. Each command element is described in the list following the syntax.
routemon [\\ ComputerName] ipx create nbname InterfaceName Name [Type]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Name
The 15-byte NetBIOS name (address).
Type
The NetBIOS name (address) type (1-byte hexadecimal number) that identifies the type of an entity represented by the NetBIOS name (address). By default, the type is Space (hexadecimal 20).
Delete Nbname Command
You use the delete nbname to delete a static NetBIOS name from the IPX transport interface. Each command element is described in the list following the syntax.
routemon [\\ComputerName] ipx delete nbname InterfaceName
Name
[Type]
\\
ComputerName
The computer running the router service. The default is the local computer.
InterfaceName
The interface to which the command applies.
Name
The 15-byte NetBIOS name (address).
Type
The NetBIOS name (address) type (1-byte hexadecimal number) that identifies the type of an entity represented by the NetBIOS name (address). By default, this value is Space (hexadecimal 20).