User Tools

Site Tools


wiki:tower_networking_inc:commands:route

This is an old revision of the document!


ROUTE

route (Netsh Routine)

route management

route routine

The route routine is a routine on netsh. Its manual can be accessed by inputting

man route

. It is used to manage network routers.

The routine uses traffic type [color=palegreen]tcp/23</color> to access and configure the routers.

route show

route show on <color purple><address-of-target-router> using <address-of-debugger></color> This command shows the routing information on the target router. Examples: \

route show on 123 using 456\

\

route show on @rt1\

route add

route add <color purple><destination-addr-prefix> via <port-id> on <address-of-target-router> using <address-of-debugger></color> This command adds a new route on the target router. The added route will send traversals to port-id if the destination address prefix is the longest matched. Port-id accepts the port number (e.g., 0, 1) or the name of the port (e.g., port0, port1). Examples: \

route add @net1- via port0 on 123 using 456\

\

route add 8183 via 1 on @rt1\

route default

route default via <color purple><port-id> on <address-of-target-router> using <address-of-debugger></color> This command sets the default port on the target router, such that when no address prefixes are matched, it sends the traversal to port-id. Port-id accepts the port number (e.g., 0, 1) or the name of the port (e.g., port0, port1). Examples: \

route default via port0 on 123 using 456\

\

route default via 1 on @rt1\

route remove

route remove <color purple><route-id> on <address-of-target-router> using <address-of-debugger></color> This command removes the route specified by route-id on the target router. The list of route-id is obtained using the \

route show\

command. Multiple routes can be removed in the same command. Examples: \

route remove #0 on 123 using 456\

\

route remove #1 #2 on @rt1\
wiki/tower_networking_inc/commands/route.1758639642.txt.gz · Last modified: 2025/09/23 15:00 by poco