Configuring gated

 

 

 

Specifying Route Preference

Table 3-3

Default Preference Values of Routes (Continued)

 

 

 

 

 

 

Route Type

Preference

/etc/gated.config Configuration

 

 

 

 

 

 

 

Static routes

60

Can be changed in static statement

 

 

 

 

in Static class.

 

 

 

 

 

 

 

RIP

100

Can be changed with import

 

 

 

 

statement in Control class.

 

 

 

 

 

 

 

Point-to-point

110

Can be changed with interface

 

 

interface

 

statement in Interface class.

 

 

 

 

 

 

 

“Down”

120

Can be changed with interface

 

 

interface

 

statement in Interface class.

 

 

 

 

 

 

 

OSPF ASE

150

Can be changed in defaults

 

 

 

 

statement in OSPF protocol

 

 

 

 

definition and with import

 

 

 

 

statement in Control class.

 

 

 

 

 

 

 

BGP

170

Can be changed with import

 

 

 

 

statement in Control class.

 

 

 

 

 

 

 

EGP

200

Can be changed with import

 

 

 

 

statement in Control class.

 

 

 

 

 

 

 

Kernel

254

These are the static routes that are

 

 

remnant

 

retained in the kernel after gated is

 

 

 

 

stopped. Preference value cannot be

 

 

 

 

configured.

 

 

 

 

 

 

You can define preference in the /etc/gated.conf file configuration file in the following instances:

In the static route definition in the Static class. This preference definition sets the preference for static routes. (See “Customizing Routes” on page 90 for more information.) If this option is not set, the preference values for static routes is 60.

In the interface statement options in the Interface class. This preference definition sets the preference for routes to this interface. If this option is not set, the preference value is 0. For more information, type man 4 gated.conf at the HP-UX prompt.

Chapter 3

95

Page 95
Image 95
HP Routing Services -UX 11i v2 manual Bgp