Fujitsu SPARC Enterprise M3000 Xscf Reference Manual page 286

For xcp version 1110
Hide thumbs Also See for SPARC Enterprise M3000:
Table of Contents

Advertisement

setroute(8)
EXAMPLES
EXIT STATUS
SEE ALSO
272
SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised February 2011
To reflect the routing information to XSCF, execute the applynetwork(8)
command. After reflected the information, use the rebootxscf(8) command to
reset XSCF to complete the setting.
The showroute(8) command can display the current routing information that is
set for the XSCF network.
Adds the routing of destination 192.168.1.0 and netmask 255.255.255.0 for
EXAMPLE 1
XSCF-LAN#0 on XSCF unit 0.
XSCF> setroute -c add -n 192.168.1.0 -m 255.255.255.0 xscf#0-lan#0
Adds the routing of destination 192.168.1.0 and gateway 192.168.1.1 for
EXAMPLE 2
XSCF-LAN#1 on XSCF unit 0.
XSCF> setroute -c add -n 192.168.1.0 -g 192.168.1.1 xscf#0-lan#1
Adds the routing of destination 192.168.1.0 and default netmask
EXAMPLE 3
(255.255.255.0) for XSCF-LAN#1 on XSCF unit 0.
XSCF> setroute -c add -n 192.168.1.0 xscf#0-lan#1
Deletes the routing of destination 192.168.1.0 and default netmask
EXAMPLE 4
(255.255.255.0) from XSCF-LAN#1 on XSCF unit 0.
XSCF> setroute -c del -n 192.168.1.0 -m 255.255.255.0 xscf#0-lan#1
Adds the routing of destination 192.168.1. 4 for XSCF-LAN#1 on XSCF unit
EXAMPLE 5
0.
XSCF> setroute -c add -n 192.168.1.4 xscf#0-lan#1
Deletes the routing of destination 192.168.1. 4 from XSCF-LAN#1 on XSCF
EXAMPLE 6
unit 0.
XSCF> setroute -c del -n 192.168.1.4 xscf#0-lan#1
Adds routing information for the default gateway 192.168.10.1 for XSCF-
EXAMPLE 7
LAN#1 on XSCF unit 0.
XSCF> setroute -c add -n 0.0.0.0 -g 192.168.10.1 xscf#0-lan#1
The following exit values are returned:
Successful completion.
0
An error occurred.
>0
applynetwork(8), showroute(8)

Advertisement

Table of Contents
loading

Table of Contents