beautypg.com

Setroute – FUJITSU SPARC ENTERPRISE M9000 User Manual

Page 291

background image

setroute(8)

System Administration

267

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. To specify address,
use the standard form of four integer values delimited by "."
(periods). For example, use xxx.xxx.xxx.xxx, where xxx is an
integer from 0-255. Zero suppression can be used to specify the
integer.

You cannot specify the loopback address (127.0.0.0/8), the
network address, or a broadcast address.