Rgeti: Displaying the MIB IP Address Table
Use NCL’s Rgeti command to format and display the Internet MIB IP
address table for a local or remote network node.
Syntax
rgeti [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
rgeti 192.32.1.94
Displays the MIB IP address table for the node whose IP address
is 192.32.1.94:
IP Address Net Mask Bcast IF
192.32.1.94 255.255.255.224 1 1
192.32.1.194 255.255.255.224 1 2
The fields in the table are as follows:
– IP Address lists the network address (in dotted decimal
notation).
– Net Mask lists the subnet mask (in dotted decimal notation)
associated with that IP address. The subnet mask is an IP
address with all the network bits set to 1 and all the host bits
set to 0.
– Bcast lists the value of the least-significant bit in the IP broad-
cast address for that IP address. In most cases the broadcast
address type (all 0s or all 1s) can be determined by examining
a single bit. In the event of an explicitly assigned broadcast ad-
dress, however, this single bit is not significant.
– IF lists the sequential number the router assigned to the
network interface.
Using the Network Control Language
Accessing the Internet Management Information Base
16-42