Parameters for the Windows route Command Flashcards
-f
-f This option clears gateway entries from the routing table. If this option is used with
another option, the clearing of gateways from the routing table occurs before any other
specified action.
-p
-p This option can be used with the add command to make a statically configured route
persistent, meaning that the route will remain in a PC’s routing table even after a reboot.
command
command Supported commands include print, add, delete, and change. The print command lists
entries in a PC’s routing table. The add command adds a route entry. The delete
command removes a route from the routing table, while the change command can modify
an existing route.
destination
destination This option specifies the destination host or subnet to add to a PC’s routing table.
This option specifies the destination host or subnet to add to a PC’s routing table.
mask
netmask
mask
netmask
This option, used in conjunction with the destination option, specifies the subnet mask of
the destination. If the destination is the IP address of a host, the netmask parameter is
255.255.255.255.
gateway
gateway This option specifies the IP address of the next-hop router used to reach the specified
destination.
metric
metric
metric
metric
This option specifies the cost to reach a specified destination. If a routing table contains
more than one route to reach the destination, the route with the lowest cost is selected.
if interface
if interface If you want to forward traffic to a specified destination out of a specific interface, use
this option.