
setpacketfilters(8)
System Administration
253
EXTENDED
DESCRIPTION
■
When the command is executed, a prompt to confirm execution of the command
with the specified options is displayed. Enter "
y
" to execute the command or "
n
"
to cancel the command.
■
The IP packet filtering rules are applied in the order in which they are defined.
■
Rules for permitted senders must be defined before filter restrictions. First,
configure permitted senders; then, configure the setting for dropped packets. If
specified in reverse order, all IP packets will be dropped.
■
Improper filtering rules can prevent normal network functions for the interface.
■
If both the
-i
interface
and the
-s
address
[/
mask
] options are omitted, the rule is
applied to all IP packets received through XSCF-LAN.
■
If the netmask value specified by the
-s
address
[/
mask
] option does not
correspond to any of the following, an error results.
■
Only the most significant bit is 1
■
Repeated 1 from the most significant bit
■
A rule which overlaps with an already-defined IP packet filtering rule cannot be
set.
■
Up to 16 IP packet filtering rules can be set.
■
If a message indicates that the XSCF must be reset, do so using the
rebootxscf
(8) command.
■
Use the
showpacketfilters
(8) command to display the current IP packet
filtering rules.
EXAMPLES
EXAMPLE 1
Drops the IP packet sent from the IP address 10.10.10.10.
-s
address
[/
mask
]
Specifies the sender of the IP packet. Either an IP address or a
network IP address with a netmask (/mask) added can be
specified.
To specify an IP address or a network IP address, use the
standard form of four integer values delimited by "
.
" (periods).
For example, use
xxx
.
xxx
.
xxx
.
xxx
, where
xxx
is an integer from
0-255. Zero suppression can be used to specify the integer.
If the
-s
option is omitted, the filtering rule is applied to all IP
packets received via the specified network interface.
-y
Automatically answers "
y
" (no) to all prompts.
XSCF>
setpacketfilters -c add -s 10.10.10.10 -j DROP
-s 10.10.10.10/255.255.255.255 -j DROP
Summary of Contents for SPARC Enterprise M3000
Page 1: ......
Page 2: ......
Page 6: ......
Page 12: ......
Page 24: ...xviii SPARC Enterprise Mx000 Servers XSCF Reference Manual July 2010 ...
Page 32: ...Intro 8 8 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised July 2010 ...
Page 36: ...addboard 8 12 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 42: ...addfru 8 18 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised September 2008 ...
Page 60: ...clockboard 8 36 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised April 2010 ...
Page 82: ...dumpconfig 8 58 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 86: ...exit 1 62 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised January 2007 ...
Page 142: ...poweron 8 118 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 154: ...reset 8 130 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 172: ...sendbreak 8 148 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 180: ...setad 8 156 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised February 2010 ...
Page 198: ...setcod 8 174 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised July 2010 ...
Page 202: ...setdate 8 178 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised February 2010 ...
Page 208: ...setdcl 8 184 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised September 2008 ...
Page 296: ...setroute 8 272 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised April 2010 ...
Page 302: ...setsmtp 8 278 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 322: ...setssh 8 298 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 346: ...showad 8 322 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised November 2009 ...
Page 444: ...showlocale 8 420 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised March 2008 ...
Page 482: ...showntp 8 458 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised November 2009 ...
Page 502: ...showsnmp 8 478 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised January 2007 ...
Page 510: ...showssh 8 486 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 558: ...who 1 534 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised January 2007 ...
Page 559: ......
Page 560: ......