Setroute – FUJITSU SPARC ENTERPRISE M4000 User Manual

Page 225

Advertising
background image

setroute(8)

System Administration

245

NAME

setroute - set routing information for an XSCF network interface

SYNOPSIS

setroute -c

{add | del} -n address [-m address] [-g address] interface

setroute -h

DESCRIPTION

setroute

(8) command sets routing information for an XSCF network interface.

Up to eight routing information items can be registered for each network interface.
Any attempt to register more than eight items causes an error.

Privileges

You must have platadm privilege to run this command.

Refer to setprivileges(8) for more information.

OPTIONS

The following options are supported:

-c

{add|del}

Specifies a function for routing information. One of the
following values can be specified. If none of them is specified, an
error occurs.

add

Adds routing information.

del

Deletes routing information.

-g

address

Specifies a gateway address used for routing. The specified
value of address is a set of four integer values delimited by the
period (.). If this option is omitted, the gateway address is not
set.The following address form is accepted:

xxx.xxx.xxx.xxx
xxx

An integer from 0–255. Zero suppression
can be used to specify the integer.

Advertising