config route preference
Purpose Used to configure the route preference of each route type.
Syntax config route preference [static | rip | ospfIntra | ospfInter | ospfExt1 | ospfExt2] <value 1-
999>
Description This command is used to set the route preference value for each routing protocol listed.A lower value will
denote a better chance that the specified protocol is the best path for routing packets.
Parameters The user may set a preference value for a specific route by first choosing one of the following and then adding
an alternate preference value:
static – Choose this parameter if you wish to configure the preference value for the static route.
rip – Choose this parameter if you wish to configure the preference value for the RIP route.
ospfIntra – Choose this parameter if you wish to configure the preference value for the OSPF
Intra-area route.
ospfInter – Choose this parameter if you wish to configure the preference value for the OSPF
Inter-area route.
ospfExtT1 – Choose this parameter if you wish to configure the preference value for the
OSPF AS External route type-1.
ospfExtT2 – Choose this parameter if you wish to configure the preference value for the
AS External route type-2 route.
<value 1-999> – Enter a value between 1 and 999 to set the route preference for a particular route.The lower
the value, the higher the chance the specified protocol will be chosen as the best path for routing packets.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure the route preference value for RIP as 50:
AT-9724TS:4# config route preference rip 50
Command: config route preference rip 50
S u c c e s s .
A T - 9 7 2 4 T S : 4 #
269
Allied Telesyn AT-9724TS High-Density Layer 3 Stackable Gigabit Ethernet Switch • Command Line Interface Reference Manual