HP Routing Services -UX 11i v2 manual Accessing the Ospf MIB

Page 86

Configuring gated

Configuring the OSPF Protocol

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 Management Network 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:

/usr/sbin/ospfagt

gated must be running before ospfagt is started. Both gated and ospfagt must be running to retrieve OSPF MIB objects.

To load the OSPF MIB, select Load/Unload SNMP:MIBS ... from the

Options menu of OpenView.

86

Chapter 3

Image 86
Contents Edition Manufacturing Part Number B2355-90777 AugustCopyright Notice WarrantyGovernment License Trademark Notices Page Contents Contents Index Contents Intended Audience HP-UX Release Name and Release IdentifierDocument Organization Chapter Description What Is in This DocumentPublishing History HP-UX Internet Services Administrator’s Guide Related DocumentationMbone FAQ Typographical ConventionsHP Encourages Your Feedback BoldVersion of HP-UX that you are using Overview Overview Dvmrp Protocol Mrouted Routing DaemonMulticasting Overview Endpoint Dvmrp TunnelDvmrp Tunnel Multicast IP Multicast Addresses Class D IP Multicast Address FormatMulticast Groups Mrouted Routing Daemon Gated Routing Daemon AdvantagesDeciding When to Use gated Routing Protocols Comparison of RIP and Ospf Protocols RIP OspfRIP Ospf Gated Routing Daemon Gated Routing Daemon Chapter Configuring mrouted Configuring mrouted How to Configure mrouted Configuration CommandsTunnel Multicast Network Example Configuration How to Configure mrouted How to Configure mrouted Starting mrouted Verifying mrouted Operation Displaying mrouted Routing Tables HUP Displaying mrouted Routing Tables Map-mbone Tool Multicast Routing Support ToolsMrinfo Tool Netstat ToolMulticast Routing Support Tools Chapter Configuring gated Configuring gated Configuration Overview Configuring gated Protocol statements follow Converting the Configuration File from 3.0 to Cp /etc/gated.conf /etc/gated.conf.30 Configuring the RIP Protocol RIP Protocol StatementDefault Range 1 Configuration Options End Systems Simple RIP ConfigurationExample of Simple RIP Configuration RoutersExample of a Large RIP Configuration RIP RouterRoot Server Major RouterCluster Node Isolated Node Single NodeCluster or Root Server Node Controlling RIP Traffic Major RouterConfiguring the RIP Protocol Configuring the Ospf Protocol Network Router Area Areas Defined in an Autonomous SystemArea Configuring the Ospf Protocol Planning Your Ospf Configuration Enabling Ospf Area To Network a 193.2.1.33 Border Router To Network B Defining AreasArea Border Router Configuration Example Networks Statement Network Configuration ExampleInterface Statement Configuring the Ospf Protocol Default None Multicast Router Interface Example Router 193.2.1.35 NetworkRouter Network 193.2.1.35 193.2.1.33 Internet 193.2.1.46 Range 0Non-Broadcast Router Interface Example Hellointerval value must be the same for all Ospf routers Configuring the Ospf Protocol Stub Areas Point-to-Point Router Interface ExampleRouter 193.2.1.1 193.2.1.2 Area Router 193.2.1.20 193.2.1.17 193.2.1.18 193.2.1.19Defining Backbones Area 15.13.115.156 Router a Router BAuthentication Authkey travis Authkey pepeCost Cost LAN 1 LAN 2AS External Routes AS Boundary Routers Only Default Configuring the Ospf Protocol Sample Ospf Configuration Internal Router Non-Stub AreaArea Border Router Internal Router Stub Area Accessing the Ospf MIB Configuring RDP RDP ServerRDP Client Server RDP ClientCustomizing Routes Specifying a Default RouterInstalling Static Routes Setting Interface States Specifying Tracing Options Files Option EffectRoute Type Preference Default Preference Values of RoutesSpecifying Route Preference BGP Specifying Route Preference Export Statement Importing and Exporting RoutesImport Statement Examples of import and export Statements Flag Effect Command Line Options for gatedStarting gated Verifying That gated Is Running 100Tracing gated Activity Troubleshooting gatedChecking for Syntax Errors in the Configuration File Operational User Interface for gated gdc 102Ospfmonitor Tool Gated Routing TableRipquery Tool 104 Common ProblemsProblem 1 gated does not act as expected Chapter 105 Problem 2 gated deletes routes from the routing table 106Problem 3 gated adds routes that appear to be incorrect Problem 4 gated does not add routes that you think it must 108Index 109110 111 112 TOS 113