setpacketfilters(8)
EXAMPLES
254
SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised April 2010
Drops the IP packet sent from the IP address 10.10.10.10.
EXAMPLE 1
setpacketfilters -c add -s 10.10.10.10 -j DROP
XSCF>
-s 10.10.10.10/255.255.255.255 -j DROP
NOTE: applied IP packet filtering rules.
y
Continue? [y|n] :
XSCF>
On M3000/M4000/M5000 servers, communication to xscf#0-lan#0 exclusive-
EXAMPLE 2
ly accepts those IP packets sent from the 192.168.100.0/255.255.255.0 net-
work.
setpacketfilters -c add -s 192.168.100.0/255.255.255.0 -i
XSCF>
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.
y
Continue? [y|n] :
setpacketfilters -c add -i xscf#0-lan#0 -j DROP
XSCF>
-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.
y
Continue? [y|n] :
XSCF>
Deletes the IP packet drop setting which has been set in the IP address
EXAMPLE 3
10.10.10.10..
showpacketfilters -a
XSCF>
-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>
setpacketfilters -c del -s 10.10.10.10 -j DROP
XSCF>
-s 172.16.0.0/255.255.0.0 -i xscf#0-lan#0 -j DROP
NOTE: applied IP packet filtering rules.
y
Continue? [y|n] :
XSCF>
Need help?
Do you have a question about the Sun SPARC Enterprise M3000 and is the answer not in the manual?
Questions and answers