HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)
OSPF yes {
defaults {
cost 5 ;
} ;
area 0.0.0.1 {
interface 193.2.1.33 cost 5 {
priority 15 ;
enable ;
hellointerval 5 ;
routerdeadinterval 20 ;
retransmitinterval 10 ;
} ;
} ;
area 0.0.0.2 {
interface 193.2.1.17 cost 5 {
priority 15 ;
enable ;
hellointerval 5 ;
routerdeadinterval 20 ;
retransmitinterval 10 ;
} ;
} ;
backbone {
interface 15.13.115.156 cost 5 {
enable ;
priority 10 ;
hellointerval 5 ;
routerdeadinterval 20 ;
retransmitinterval 10 ;
} ;
} ;
} ;
C: Internal Router (Stub Area)
Set up /etc/gated.conf as follows:
OSPF yes {
area 0.0.0.2 {
stub cost 5 ;
interface 193.2.1.20 cost 5 {
priority 5 ;
enable ;
hellointerval 5 ;
routerdeadinterval 20 ;
retransmitinterval 10 ;
} ;
} ;
} ;
The routing table on node A contains routes to 193.2.1.32 and 193.2.1.16. The routing table on
node C in the stub area contains routes only to LAN 1 and a default router.
Accessing the OSPF MIB
HP’s gated also provides ospfagt, an OSPF Simple Network Management Protocol (SNMP)
subagent that supports the OSPF MIB (Management Information Base) (see RFC 1253). The ospfagt
subagent works with the HP SNMP Agent, snmpdm. If you use an SNMP manager utility to manage
your network, such as HP’s OpenView Network Node Manager, you can also use HP’s OSPF
SNMP subagent.
To start ospfagt automatically during system bootup, set the environment variable OSPFMIB to
1 in the file /etc/rc.config.d/netdaemons.
To manually start ospfagt, type the following command at the command prompt:
42 Configuring gated