Accton Technology ES4626 Switch User Manual


 
404
for AS exterior routes introduced; the “no preference [ ase ]” command restores the
default setting.
Parameter: ase means the priority is used when introducing exterior routes outside the
AS; <preference > is the priority value ranging from 1 to 255.
Default: The default priority of OSPF protocol is 110; the default priority to introduce
exterior route is 150.
Command Mode: OSPF protocol configuration mode
Usage Guide: As a layer3 switch may have several dynamic routing protocol running,
there arises the issue of information sharing and selection among routing protocols. For
this reason, each routing protocol has a default priority,. When the same route is
discovered by different protocols, the one with the higher priority overrules. Priority
changes will be applied on newly constructed routes. Due to the nature of OSPF, the
OSPF priority should not be set too low.
Example: Set in OSPF the default priority to introduce ASE route to 20.
Switch(Config- Router-Ospf)#preference ase 20
15.4.2.2.17 redistribute ospfase
Command: redistribute ospfase { bgp |connected | static | rip} [type { 1 | 2 }] [tag
<tag>] [metric <cost_value>]
no redistribute ospfase { bgp |connected | static | rip}
Function: Introduce BGP routes, direct routes, static routes and RIP routes as external
routing information; the “no redistribute ospfase { bgp | connected | static | rip }” command
cancels the introduction of external routing information.
Parameter: bgp stands for introduce BGP routes as the exterior route information source;
connected for direct routes; static for static routes; rip for routes discovered by RIP; type
specifies the type of exterior routes, 1 and 2 represent type1 exterior routes and type2
exterior routes, respectively; tag specifies the tag of the routes, <tag> is the tag value for
the routes, ranging from 0 to 4,294,967,295; metric specifies the weight of the route;
<cost_value> for weight value, ranging from 1 to 16,777,215.
Default: Exterior routes are not introduced in OSPF by default.
Command Mode: OSPF protocol configuration mode
Usage Guide: Routing information can be shared among all dynamic routing protocols in
layer3 switches. Due to the nature of OSPF, the routes discovered by the other routing
protocols are regards as the exterior autonomous system routing information.
Example: introduce RIP routes as type1 exterior routes in OSPF, with a tag value of 3 and
an introducing cost of 20.
Switch(Config-Router-Ospf)#redistribute ospfase rip type 1 tag 3 metric 20
15.4.2.2.18 router id