beautypg.com

Ip route commands – Eicon Networks 1530 User Manual

Page 132

background image

Command Line Interface

132

IP Route Commands

ADD IP ROUTE Ipaddr maskLen[:metric] [gwAddr]

Adds a static IP route.

Ipaddr: Defines the IP address of datagrams that should be routed.

maskLen: Defines the number of bits that are checked when comparing the address of a
datagram to that specified by the lpaddr parameter. Range: 0-32.

metric: Defines the weight of a route. If two identical routes exist, the route with the lower
metric is used. Range: 1-15. Specify 16 to indicate that the route should never be used. Default:
1.

gwAddr: Defines the IP address of the device where datagrams are to be forwarded, if a match
is found.

DELETE IP ROUTE Ipaddr

Deletes the specified IP route.

SET IP ROUTE Ipaddr metric [gwAddr]

Modifies the metric and gateway address for an existing IP route.

See ADD IP ROUTE for more information.

Ipaddr: IP address of the existing route.

metric: Determine the weight of a route.
Range: 1-16. Unchanged if zero (0) specified.

gwAddr: New gateway address.

SHOW IP ROUTE

Displays all defined static and dynamic IP routes.