DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring the Simple Network Management Protocol (SNMP)

Getting routing information

The getroute(1Msnmp) command is used to retrieve routing information for all IP networks and subnetworks, as seen by the host to which it is addressed. The syntax of getroute is getroute node community.

The following shows sample output from a getroute invocation.

getroute example

   # getroute paris public
   Route to: 0.0.0.0 via: 132.147.246.1  on if: 1 metric: 2 type: 4 proto: 8
   Route to: 127.0.0.1 via: 127.0.0.1  on if: 2 metric: 0 type: 3 proto: 2
   Route to: 132.147.0.0 via: 132.147.246.1  on if: 1 metric: 2 type: 4 proto: 8
   Route to: 132.147.118.0 via: 132.147.246.1  on if: 1 metric: 2 type: 4 proto: 8
   Route to: 132.147.246.0 via: 132.147.246.3  on if: 1 metric: 0 type: 3 proto: 2

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004