• Route

    Route is particularly useful for troubleshooting incorrect static routes or for adding a route to a route table to temporarily bypass a problem gateway. Static routes can be used in place of implicit routes specified by a default gateway. Use Route to add static routes to forward packets going to a gateway specified by default to avoid loops, improve traffic time, and so on.

    The parameters for Route are as follows:

    . -add—Adds a route to a table. Use –p to make the route persistent for subsequent sessions.

    . -Delete—Deletes a route from the table.

    . -Print—Prints a route.

    . -change—Modifies an existing route.

    . -destination—Specifies the host address.

    . -gateway—Specifies the address of gateway for Route.

    . IF interface—Specifies the interface for the routing table to modify.

    . -mask Netmask—Uses the subnet mask specified by Netmask. If mask is not used, it defaults to 255.255.255.255.

    . -METRIC Metric—Specifies the metric, or cost, for the route using the value Metric.

    . -f—Clears the routing table of all gateway entries.

    . -p—Used with -add to create a persistent route.

    Source of Information : Sams - Windows Server 2008 R2 Unleashed (2010)


0 comments:

Leave a Reply