setpacketfilters(8)
254 SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised April 2010
EXAMPLE 2 On M3000/M4000/M5000 servers, communication to xscf#0-lan#0 exclu-
sively accepts those IP packets sent from the 192.168.100.0/255.255.255.0 network.EXAMPLE 3 Deletes the IP packet drop setting which has been set in the IP address
10.10.10.10..NOTE: applied IP packet filtering rules.
Continue? [y|n] :y
XSCF>
XSCF> setpacketfilters -c add -s 192.168.100.0/255.255.255.0 -i
xscf#0-lan#0 -j ACCEPT
-s 192.168.100.0/255.255.255.0 -i xscf#0-lan#0 -j ACCEPT
NOTE: applied IP packet filtering rules.
Continue? [y|n] :y
XSCF> setpacketfilters -c add -i xscf#0-lan#0 -j DROP
-s 192.168.100.0/255.255.255.0 -i xscf#0-lan#0 -j ACCEPT
-i xscf#0-lan#0 -j DROP
NOTE: applied IP packet filtering rules.
Continue? [y|n] :y
XSCF>
XSCF> showpacketfilters -a
-s 172.16.0.0/255.255.0.0 -i xscf#0-lan#0 -j DROP
-s 10.10.10.10/255.255.255.255 -j DROP
XSCF>
XSCF> setpacketfilters -c del -s 10.10.10.10 -j DROP
-s 172.16.0.0/255.255.0.0 -i xscf#0-lan#0 -j DROP
NOTE: applied IP packet filtering rules.
Continue? [y|n] :y
XSCF>