HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)

Figure 14 Simple Password Authentication
The following example shows an authtype statement that enables a simple password authentication
for the routers in the area and an authkey statement in the interface definition that defines a
password (travis) to validate protocol packets received by the router:
area 0.0.0.1 {
authtype simple ;
networks {
193.2.1.16 mask 0xfffffff0 ;
193.2.1.32 mask 0xfffffff0 ;
} ;
interface 193.2.1.35 nonbroadcast cost 5 {
routers {
193.2.1.33 eligible ;
193.2.1.46 eligible ;
} ;
priority 15 ;
enable ;
hellointerval 5 ;
routerdeadinterval 20 ;
retransmitinterval 10 ;
pollinterval 20 ;
authkey " travis " ;
} ;
} ;
Cost
The outbound side of each router interface is associated with a configurable cost. Lower cost
interfaces are more likely to be used in forwarding data traffic. Cost values are assigned at the
discretion of the network or system administrator. While the value is arbitrary, it must be a function
of throughput or capacity of the interface: the higher the value, the lower the throughput or capacity.
Thus, the interfaces with the highest throughput or capacity must be assigned lower cost values
than other interfaces. Interfaces from networks to routers have a cost of 0.
Figure 15 shows an example network where costs are specified for each interface.
38 Configuring gated