Rgetrif: Displaying the Source Routing RIF
Cache
Use NCL’s Rgetrif command to format and display the source routing
Routing Information Field (RIF) cache.
Syntax
rgetrif X.X.X.X
X.X.X.X is the IP address of the local or remote router in
dotted decimal notation.
Example
rgetrif 15.2.1.94
Displays the source routing RIF cache for the node whose IP
address is 15.2.1.94:
MAC Src Addr MAC Dst Addr Cct Grp RIF
10005a9631e7 10005a95fb1a G_T31 0820001120011001
10005a95fb1a 10005a9631e7 WAN1G 0820001170010021
The fields in the table are as follows:
– MAC Src Addr lists the station address of the source
interface.
– MAC Dst Addr lists the station address of the destination
interface.
– Cct Grp lists the circuit group that connects the source
interface to the token ring.
– RIF describes the path used to source route packets between
the source and destination nodes, in hexadecimal format.
The first two bytes are the routing control (RC) field. These 16
bits (such as 0000 1000 0010 0000 for the first example
of 0820h above), from most to least significant, have the
following functions:
2 bits for RIF type:
00=Specifically Routed Frame
NCL
Commands
16
Using the Network Control Language
Accessing Bridging and Routing Tables
16-67