setroute(8)
System Administration 191
OPERANDS The following operand is supported:
EXTENDED
DESCRIPTION
■ In a duplicated configuration, a takeover IP address can be used without a need
to determine whether XSCF has been switched. By setting the LAN ports of the
active XSCF unit as lan#0 and lan#1, they can be accessed with the names
lan#0 and lan#1. As default values, lan#0 is set to xscf#0 - lan#0 and lan#1 is
set to xscf#0 - lan#1.
■ When the XSCF unit is not duplicated configuration, the value of the lan#0 is
fixed with xscf#0-lan#0, and the lan#1 is fixed with xscf#0-lan#1.
■ Specifying an interface between XSCF units causes an error.
■ If the specified address is the same as the DSCP address, an error occurs.
■ To reflect routing information that has been set, execute the applynetwork(8)
command and reset XSCF.
■ The showroute(8) command can display the current routing information that is
set for the XSCF network.
EXAMPLES
EXAMPLE 1 Adds the routing of destination 192.168.1.0 and net mask 255.255.255.0 for
XSCF-LAN#0 on XSCF unit 0.
EXAMPLE 2 Adds the routing of destination 192.168.1.0 and net mask 255.255.255.0 for
XSCF-LAN#0 on XSCF unit 0 in the midrange server.
EXAMPLE 3 Adds the routing of destination 192.168.1.0 and gateway 192.168.1.1 for
XSCF-LAN#1 on XSCF unit 0.
interface Specifies the network interface to be set with routing
information. One of the following values can be specified:
For XSCF unit 0:
xscf#0-lan#0 XSCF-LAN#0
xscf#0-lan#1 XSCF-LAN#1
For XSCF unit 1 (when a duplicated configuration is used)
xscf#1-lan#0 XSCF-LAN#0
xscf#1-lan#1 XSCF-LAN#1
For takeover IP address:
lan#0 takeover IP address for XSCF-LAN#0
lan#1 takeover IP address for XSCF-LAN#1
XSCF> setroute -c add -n 192.168.1.0 -m 255.255.255.0 xscf#0-lan#0
XSCF> setroute -c add -n 192.168.1.0 -m 255.255.255.0 lan#0
XSCF> setroute -c add -n 192.168.1.0 -g 192.168.1.1 xscf#0-lan#1