Library Table of Contents Index Previous Next Comments

Displaying the routing table

About the routing table  Top

The routing table contains the current routes that have been established and are currently in use. The routing table also contains a default route that is used if Data ONTAP cannot find an explicit route for a particular destination in its routing table.

Displaying the routing table  Top

To display the Data ONTAP routing table, complete the following step.

Step

Action

1

Enter the following command:

netstat -nr

Example of displaying a routing table  Top

The following example displays a routing table:


 
toaster> netstat -nr
Routing tables

 
Internet:
Destination      Gateway            Flags     Refs     Use  Interface
default          172.28.50.1        UGS         5     5860  e0
127.0.0.1        127.0.0.1          UH          1      262  lo
172.28           link#1             UC          0        0  e0
172.28.50.1      0:e0:52:1:dd:66    UHL         1        0  e0
172.28.50.3      8:0:20:9b:37:e6    UHL         0        4  e0
172.28.50.18     8:0:20:94:1c:ce    UHL         0        0  e0
172.28.50.255    ff:ff:ff:ff:ff:ff  UHL         0     3903  e0
172.28.255.255   ff:ff:ff:ff:ff:ff  UHL         1     1733  e0

Note
For more information about netstat, see the na_netstat(1) man page.

Library Table of Contents Index Previous Next Comments