Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Displaying the routing table and default route information

Displaying the routing table at the command line  Top

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

Step

Action

1

Enter the following command at your storage system command line:

netstat -rn

Displaying default route information at the command line  Top

To display information about whether routed is on or off, default route information, and routing protocols at the command line, complete the following step.

Step

Action

1

Enter the following command at your storage system command line:

routed status

Displaying routing information with FilerView  Top

To display the routing table, the default route information, and routing protocols using FilerView, complete the following steps.

Step

Action

1

In FilerView, click Network in the list on the left.

2

In the list under Network, click Report.

The Routing section of the Network Report shows the default route and protocols in effect, and then shows routing tables.

Example of a routing table  Top

The following example shows a routing table output as a response to the command:

netstat -rn


 
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.100/24 	 	    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

 

In the previous example, the destination can be a host, 172.28.50.1, a network, 172.28.100/24, or the default route. If the destination is a subnet on a network, the network number is followed by a forward slash (/) and a number that describes the network mask for that network.

Routing table flags  Top

The following table describes the Flags column in the netstat -rn output.

Flag

Description

U

Up--Route is valid

G

Gateway--Route is to a gateway router rather than to a directly connected network or host

H

Host name--Route is to a host rather than to a network, where the destination address is a complete address

R

Reject--Set by ARP when an entry expires (for example, the IP address could not be resolved into a MAC address)

D

Dynamic--Route added by a route redirect

M

Modified--Route modified by a route redirect

C

Cloning--A new route is cloned from this entry when it is used

L

Link--Link-level information, such as the Ethernet MAC address, is present

S

Static--Route added with the route command

2

Proxy ARP--Host is configured to respond to ARP requests for a host other than itself

For more information about the routing table display, see the na_netstat(1) man page.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments