User Guide
OmniAccess SafeGuard OS Administration Guide
193
Chapter 5: Setting Up SafeGuard Switches
no ip route distance
This example sets the administrative distance to 2 hops for all static routes.
(SafeGuardOS) #configure terminal
(SafeGuardOS) (config) #ip route distance 2
(SafeGuardOS) (config) #
Creating a Default Route
The switch uses a default route when a more specific route is unavailable. To create a
default route, use the ip route default command in Global Configuration mode. Use the
no version of the command to delete the default route.
ip route default next_hop {distance}
no ip route default {next_hop}
For example:
(SafeGuardOS) #configure terminal
(SafeGuardOS) (config) #ip route default 192.38.28.5 1
(SafeGuardOS) (config) #
Syntax Description distance
Specifies the
administrative distance of all
new static routes. Among routes to the
same destination, the route with the
lowest metric value is the route entered
into the forwarding database. A route
with a metric of 255 cannot be used to
forward traffic. The default is 1.
Syntax Description next_hop Specifies the IP address of the next hop router.
If next_hop is specified in the no form, the
default route with that next hop will be
deleted. If next_hop is not specified, all the
static default routes are deleted
distance
Specifies the
administrative distance of this
individual static route.
Among routes to the
same destination, the route with the lowest
metric value is the route entered into the
forwarding database. A route with a metric of
255 cannot be used to forward traffic. The
default is 1.
For more details, see Setting an Administrative
Distance or Preference on page 192.










