beautypg.com

Showpacketfilters – FUJITSU SPARC ENTERPRISE M9000 User Manual

Page 483

background image

showpacketfilters(8)

System Administration

459

NAME

showpacketfilters - show the IP packet filtering rules that are set in the XSCF
network

SYNOPSIS

showpacketfilters

{-a | -l} [-M]

showpacketfilters

-h

DESCRIPTION

showpacketfilters

(8) command shows the IP packet filtering rules that are set

in the XSCF network.

Privileges

No privileges are required to run this command.

Refer to setprivileges(8) for more information.

OPTIONS

The following options are supported:

EXTENDED

DESCRIPTION

Th

e setpacketfilters(8)

command can be used to set the IP filtering rules.

EXAMPLES

EXAMPLE 1

On M8000/M9000 servers, shows the IP packet filtering rules that are set in
the XSCF network.

EXAMPLE 2

On M8000/M9000 servers, shows the operation status of the IP packet filter-

-a

Shows the IP packet filtering rules that are set in XSCF.

-h

Displays usage statement. When used with other options or
operands, an error occurs.

-l

Shows the operation status of the IP packet filtering rules that
are set in XSCF.

-M

Displays text by page.

XSCF>

showpacketfilters -a

-s 172.16.0.0/255.255.0.0 -i xscf#0-lan#0 -j DROP

-s 172.16.0.0/255.255.0.0 -i xscf#1-lan#0 -j DROP

-s 10.10.10.10/255.255.255.255 -j DROP

-s 192.168.100.0/255.255.255.0 -i xscf#0-lan#1 -j ACCEPT

-s 192.168.100.0/255.255.255.0 -i xscf#1-lan#1 -j ACCEPT

-i xscf#0-lan#1 -j DROP

-i xscf#1-lan#1 -j DROP