User Tools

Site Tools


wiki:tower_networking_inc:commands:route

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:tower_networking_inc:commands:route [2025/09/23 15:00] – created pocowiki:tower_networking_inc:commands:route [2025/09/23 15:02] (current) – removed poco
Line 1: Line 1:
-====== ROUTE ====== 
- 
-route (Netsh Routine) 
- 
-===== route management ===== 
- 
-route routine  
- 
-The <color blue>route routine</color> is a routine on <color blue>netsh</color>. Its manual can be accessed by inputting <code>man route</code>. It is used to manage <color blue>network routers</color>. 
- 
-The routine uses traffic type [color=palegreen]tcp/23</color> to access and configure the routers. 
- 
-route show 
- 
-<color blue>route show on <color purple><address-of-target-router></color> using <color purple><address-of-debugger></color></color> This command shows the routing information on the <color purple>target router</color>. Examples: \<code>route show on 123 using 456\</code> \<code>route show on @rt1\</code> 
- 
-route add 
- 
-<color blue>route add <color purple><destination-addr-prefix></color> via <color purple><port-id></color> on <color purple><address-of-target-router></color> using <color purple><address-of-debugger></color></color> This command adds a new route on the <color purple>target router</color>. The added route will send traversals to <color purple>port-id</color> if the <color purple>destination address prefix</color> 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: \<code>route add @net1- via port0 on 123 using 456\</code> \<code>route add 8183 via 1 on @rt1\</code> 
- 
-route default 
- 
-<color blue>route default via <color purple><port-id></color> on <color purple><address-of-target-router></color> using <color purple><address-of-debugger></color></color> This command sets the default port on the <color purple>target router</color>, such that when no address prefixes are matched, it sends the traversal to <color purple>port-id</color>. Port-id accepts the port number (e.g., 0, 1) or the name of the port (e.g., port0, port1). Examples: \<code>route default via port0 on 123 using 456\</code> \<code>route default via 1 on @rt1\</code> 
- 
-route remove 
- 
-<color blue>route remove <color purple><route-id></color> on <color purple><address-of-target-router></color> using <color purple><address-of-debugger></color></color> This command removes the route specified by <color purple>route-id</color> on the <color purple>target router</color>. The list of route-id is obtained using the \<code>route show\</code> command. Multiple routes can be removed in the same command. Examples: \<code>route remove #0 on 123 using 456\</code> \<code>route remove #1 #2 on @rt1\</code> 
  
wiki/tower_networking_inc/commands/route.1758639642.txt.gz · Last modified: 2025/09/23 15:00 by poco