Rgetr: Displaying the MIB IP Routing Table
Use NCL’s Rgetr command to format and display the Internet MIB IP
routing table for a local or remote network node.
Syntax
rgetr [X.X.X.X] [community]
[X.X.X.X] (optional) is the IP address of the local or remote
node in dotted decimal notation. If you omit this field, an IP
address on the local router will be used.
[community] (optional) is the name of the SNMP community
that grants access to that node. If you omit the name, “public” is
used. If you include a name, the IP address must also be included.
Example
rgetr 192.32.1.94
Displays the MIB IP routing table for the node whose IP address
is 192.32.1.94 (with subnet mask 255.255.255.224):
Destination Mtr Next Hop T/P Age IF
192.32.1.32 1 192.32.1.193 R/R 23 2
192.32.1.64 1 192.32.1.94 D/L 12846 1
192.32.1.160 1 192.32.1.193 R/L 12850 2
192.32.10.0 2 192.32.1.193 R/R 25 2
192.32.1.0 2 192.32.1.193 R/R 26 2
NCL
Commands
16
Using the Network Control Language
Accessing the Internet Management Information Base
16-45