SNC 5100

rm

To remove a file, use the rm command and specify the file name in quotes:

SN60023 > rm "file.ext"

route

The route utilities maintain a route file, nvfs:/mgmt/route, which is used at system startup to initialize the network routing table. Each route entry is a single line of the format:

destination:gateway

where

destination is an IP address (for a subnet or host) or the name of a host that is described in the hosts file.

gatewayis an IP address or the name of a gateway to a host. The gateway must be a device on the local subnet.

An IP address is a text string in standard IP Address format (i.e., 10.0.0.2). A host or gateway name must be listed in the hosts file.

Here is an example of the contents of the route file.

socrates:bruno

10.0.0:bruno

The first line instructs the system to reach the host “socrates” by directing the IP packets to the host “bruno”. The second example shows how all traffic for the subnet 10.0.0 (implied netmask is 255.255.255.0) is sent to the host “bruno” for forwarding. By default, no routes are defined in the route file.

The route command is invoked to add, remove, and list the route table.

route add,destination,gateway

The route addcommand adds a route to the destination through the gateway.

SN60023 > route "add","200.0.0","bruno"

SN60023 >

Commands 153

6-00020-02

Page 161
Image 161
ADIC SNC 5100, Scalar 1000 manual Route add,destination,gateway