HP Routing Services -UX 11i v2 manual Gated Routing Table, Ripquery Tool, Ospfmonitor Tool

Page 103

Configuring gated

Troubleshooting gated

gdc determines the state of gated and produces a reliable exit status during errors, which is useful in shell scripts that manipulate gated. The syslogd facility is used to log all the commands and error messages generated during gdc operation. gated uses these log messages to provide an audit trail of operations performed on the daemon.

For more information, type man 1M gated at the HP-UX prompt.

The gated Routing Table

Sending gated a SIGINT signal causes gated to write information about interface configurations, task information, and routing tables to the /var/tmp/gated_dump file.

The ripquery Tool

You can use the /usr/sbin/ripquery support tool to query gated for RIP routing information. ripquery sends two types of commands: a POLL command and a RIP request command. gated responds to a POLL command by listing all routes learned from RIP that are in its routing table. This does not include the interface routes for the local network or routes from other protocols that are announced through RIP. When gated receives a RIP request command on a interface, it announces routes via RIP on that interface. This includes routes from other protocols that are imported by gated on the node.

You can use ripquery with the -poption to query other non-gatedRIP routers. With this option, ripquery initially sends POLL commands and then, if there is no response, sends RIP request commands. The default query (POLL commands) sent by ripquery may not be supported by all RIP routers. For more information, type man 1M ripquery at the HP-UX prompt.

The ospf_monitor Tool

You can use the /usr/sbin/ospf_monitor support tool to query OSPF routers for information on OSPF routing tables, interfaces, and neighbors, as well as data on AS external databases, link-state databases, error logs, and input/output statistics. Running the ospf_monitor command displays a prompt that allows you to enter interactive commands. For details on using this tool, type man 1M ospf_monitor at the HP-UX prompt.

Chapter 3

103

Image 103
Contents Manufacturing Part Number B2355-90777 August EditionGovernment License WarrantyCopyright Notice Trademark Notices Page Contents Contents Index Contents HP-UX Release Name and Release Identifier Intended AudiencePublishing History What Is in This DocumentDocument Organization Chapter Description Related Documentation HP-UX Internet Services Administrator’s GuideTypographical Conventions Mbone FAQBold HP Encourages Your FeedbackVersion of HP-UX that you are using Overview Overview Multicasting Overview Mrouted Routing DaemonDvmrp Protocol Dvmrp Tunnel Multicast Dvmrp TunnelEndpoint Class D IP Multicast Address Format IP Multicast AddressesMulticast Groups Mrouted Routing Daemon Advantages Gated Routing DaemonDeciding When to Use gated Routing Protocols RIP Ospf Comparison of RIP and Ospf ProtocolsRIP Ospf Gated Routing Daemon Gated Routing Daemon Chapter Configuring mrouted Configuring mrouted Configuration Commands How to Configure mroutedTunnel 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 Netstat Tool Multicast Routing Support ToolsMrinfo Tool Map-mbone 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 RIP Protocol Statement Configuring the RIP ProtocolDefault Range 1 Configuration Options Routers Simple RIP ConfigurationExample of Simple RIP Configuration End SystemsRIP Router Example of a Large RIP ConfigurationSingle Node Major RouterCluster Node Isolated Node Root ServerCluster or Root Server Node Major Router Controlling RIP TrafficConfiguring the RIP Protocol Configuring the Ospf Protocol Area Areas Defined in an Autonomous SystemNetwork Router Area Configuring the Ospf Protocol Planning Your Ospf Configuration Enabling Ospf Area Border Router Configuration Example Defining AreasArea To Network a 193.2.1.33 Border Router To Network B Network Configuration Example Networks StatementInterface Statement Configuring the Ospf Protocol Default None Router 193.2.1.35 Network Multicast Router Interface ExampleNon-Broadcast Router Interface Example Range 0Router Network 193.2.1.35 193.2.1.33 Internet 193.2.1.46 Hellointerval value must be the same for all Ospf routers Configuring the Ospf Protocol Router 193.2.1.1 193.2.1.2 Point-to-Point Router Interface ExampleStub Areas 193.2.1.20 193.2.1.17 193.2.1.18 193.2.1.19 Area RouterArea 15.13.115.156 Router a Router B Defining BackbonesAuthentication Authkey pepe Authkey travisCost LAN 1 LAN 2 CostAS External Routes AS Boundary Routers Only Default Configuring the Ospf Protocol Internal Router Non-Stub Area Sample Ospf ConfigurationArea Border Router Internal Router Stub Area Accessing the Ospf MIB RDP Server Configuring RDPRDP Client RDP Client ServerInstalling Static Routes Specifying a Default RouterCustomizing Routes Setting Interface States Specifying Tracing Options Option Effect FilesSpecifying Route Preference Default Preference Values of RoutesRoute Type Preference BGP Specifying Route Preference Import Statement Importing and Exporting RoutesExport Statement Examples of import and export Statements Starting gated Command Line Options for gatedFlag Effect 100 Verifying That gated Is RunningChecking for Syntax Errors in the Configuration File Troubleshooting gatedTracing gated Activity 102 Operational User Interface for gated gdcRipquery Tool Gated Routing TableOspfmonitor Tool Problem 1 gated does not act as expected Common Problems104 Chapter 105 106 Problem 2 gated deletes routes from the routing tableProblem 3 gated adds routes that appear to be incorrect 108 Problem 4 gated does not add routes that you think it must109 Index110 111 112 113 TOS