FUJITSU SPARC ENTERPRISE M4000 User Manual
Page 228

setroute(8)
248
XSCF Reference Manual • Last Revised June 2007
EXAMPLE 4
Deletes the routing of destination 192.168.1.0 and default net mask
(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.
EXIT STATUS
The following exit values are returned:
SEE ALSO
applynetwork(8)
, rebootxscf(8), showroute(8)
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
0
Successful completion.
>0
An error occurred.