Route, Syntax keywords and variables – Amer Networks WLO220T CLI User Manual
Page 70

. . . . .
C O M M A N D D E S C R I P T I O N S
route
CLI Reference Guide
67
route
Use the route commands to display entries in the static route table and add entries to the static
route table.
The get route command displays the IP address, netmask, interface, gateway, protocol,
preference, and metric.
Use the get route command to see if the device has a route to the IP address on the correct
interface.
Syntax
Keywords and Variables
ip
get route ip ip_addr/mask
ip
Displays a specific route for the target IP address (ip_addr).
Example
The following command displays the route information to a machine with the IP address
172.16.60.1:
get route ip 172.16.60.1/24
prefix
get route prefix ip_addr/mask
prefix
Displays routes within a specified subnet (ip_addr/mask).
Example
The following command displays the routes within the subnet 1.1.1.1/24:
get route prefix 1.1.1.1/24
get
get route
[
ip ip_addr/mask
]
set
set route ip_addr/mask
{
interface interface
gateway ip_addr ]
}
unset
unset route ip_addr/mask