Microsoft Windows XP Professional Administrators Guide

Route

Configures routing tables.

Syntax

route [-f] [-p] [command [destination] [mask subnetmask] [gateway] [metric costmetric]] [if interface]]

Parameters

 

Parameter

Purpose


[−f]

Clears the routing tables of gateway entries.

[−p]

Makes routes persistent across system restarts.

[command]

Prints, adds, deletes, or changes the destination.

[destination]

Specifies the computer where the command will be sent.

[mask subnetmask]

Specifies a subnet mask for the route entry.

[gateway]

Specifies a gateway.

[metric costmetric]

Assigns an integer cost metric.

[if interface]

Specifies the interface index for the interface.

Категории