beautypg.com

FUJITSU SPARC ENTERPRISE M9000 User Manual

Page 294

background image

setroute(8)

270

SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised April 2010

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.

EXAMPLES

EXAMPLE 1

Adds the routing of destination 192.168.1.0 and netmask 255.255.255.0 for
XSCF-LAN#0 on XSCF unit 0.

EXAMPLE 2

Adds the routing of destination 192.168.1.0 and gateway 192.168.1.1 for
XSCF-LAN#1 on XSCF unit 0.

EXAMPLE 3

Adds the routing of destination 192.168.1.0 and default netmask
(255.255.255.0) for XSCF-LAN#1 on XSCF unit 0.

EXAMPLE 4

Deletes the routing of destination 192.168.1.0 and default netmask
(255.255.255.0) from XSCF-LAN#1 on XSCF unit 0.

EXAMPLE 5

Adds the routing of destination 192.168.1. 4 for XSCF-LAN#1 on XSCF unit 0.

EXAMPLE 6

Deletes the routing of destination 192.168.1. 4 from XSCF-LAN#1 on XSCF
unit 0.

EXAMPLE 7

Adds routing information for the default gateway 192.168.10.1 for XSCF-
LAN#1 on XSCF unit 0.

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 -g 192.168.1.1 xscf#0-lan#1

XSCF>

setroute -c add -n 192.168.1.0 xscf#0-lan#1

XSCF>

setroute -c del -n 192.168.1.0 -m 255.255.255.0 xscf#0-lan#1

XSCF>

setroute -c add -n 192.168.1.4 xscf#0-lan#1

XSCF>

setroute -c del -n 192.168.1.4 xscf#0-lan#1

XSCF>

setroute -c add -n 0.0.0.0 -g 192.168.10.1 xscf#0-lan#1