Allied Telesis AT-8100 Series User Manual
Page 1839
AT-8100 Switch Command Line User’s Guide
1839
The switch uses the default route to route packets to remote destination
networks that are not listed in its routing table. Here are the guidelines for
creating the default route:
The switch can have only one default route.
The IP address and mask of the destination network for the default
route in the command is 0.0.0.0/0.
The switch must already have a routing interface with an IP
address that is a member of the same network as the next hop of
the default route.
Confirmation Command
Examples
This example adds a route to the destination network 149.67.101.0 and
mask 255.255.255.0 to the routing table. The next hop of the route is
149.67.87.3. The example specifies the mask in IP notation:
awplus> enable
awplus# configure terminal
awplus(config)# ip route 149.67.101.0 255.255.255.0
149.67.87.3
This example adds the same route, but the mask is specified in decimal
notation:
awplus> enable
awplus# configure terminal
awplus(config)# ip route 149.67.101.0/24 149.67.87.3
This example adds a route to the destination network 115.203.0.0 and
mask 255.255.0.0 to the routing table. The next hop is 149.101.201.45
and the administrative distance is 10:
awplus> enable
awplus# configure terminal
awplus(config)# ip route 115.203.0.0 25.255.0.0
149.101.201.45 10
This example adds the same route, but the mask is specified in decimal
notation:
awplus> enable
awplus# configure terminal
awplus(config)# ip route 115.203.0.0/16 149.101.201.45 10