Allied Telesis AT-S63 User Manual

Page 578

Advertising
background image

Chapter 32: Internet Protocol Version 4 Packet Routing

578

Section VII: Internet Protocol Routing

Note

In version 2.0.0, the routing table supported only these three values
and 255.255.255.255 as a subnet mask for a static route. In version
2.1.0, the switch supports masks of variable length, provided the “1”
bits are consecutive (e.g.,128, 192, 224, etc.).

metric

Specifies the cost of crossing the route. The range is
1 to 16. The default is 1.

preference

Assigns a preference value to the static route. The

switch uses the preference values to select the active
routes when there are more than eight static or
dynamic routes in the routing table to the same
remote destination. The range is 0 to 65535. The
lower the value, the higher the preference. The
default value for a static route is 60. The default value
for the default route is 360. For more information,
refer to “Equal-cost Multi-path (ECMP) Routing” on
page 556.

Description

For AT-9400 Series switches that support IPv4 packet routing, this
command creates a new static route or a default route. For background
information, refer to “Static Routes” on page 552.

The only route that you can define on an AT-9400 Series switch that does
not support IPv4 packet routing is a default route. The default route
specifies the switch’s default gateway. You cannot create any static
routes. The management software uses the default route to communicate
with other network devices, such as syslog and RADIUS servers, on a
remote subnet when performing a management function. For further
information, refer to “Default Gateway” on page 564.

Examples

This command adds a static route to a remote subnet with the IP address
149.124.55.0 and a mask of 255.255.255.0. The IP address of the next
hop is 149.111.12.4. Specifying an interface is unnecessary since the
management software automatically adds the route to whichever interface
is a member of the same subnet as the next hop:

add ip route=149.124.55.0 nexthop=149.111.12.4
mask=255.255.255.0

This command adds a static route to a remote subnet with the IP address
149.14.150.0 and the mask 255.255.224.0. The IP address of the next
hop is 162.76.44.12. The metric for the route is 5 and the preference is 25:

Advertising