3com 2200 用户手册
12-20
C
HAPTER
12: C
REATING
AND
U
SING
P
ACKET
F
ILTERS
Using an External Text Editor
To use an ASCII-based editor to create a packet filter:
1 Create the definition in a text file.
2 From a networked workstation, ftp the file to the Switch 2200 on which you
want to load the filter.
3 Load the filter as described in “Loading Packet Filters” on page 12-22.
Deleting Packet
Filters
Filters
Deleting a packet filter removes the filter from the Switch 2200 system.
To delete a packet filter:
1 From the top level of the Administration Console, enter:
bridge packetFilter delete
2 Enter the id of the filter to delete. To find the id of the filter, list the filters as
You are prompted to confirm the deletion.
3 Enter
y
(yes) to delete or
n
(no) to return to the previous menu.
Editing, Checking
and Saving
Packet Filters
and Saving
Packet Filters
You can use the Switch 2200 system line editor to edit packet filters. Once
you save the packet filter, it is checked for syntax errors. The Switch 2200
system software will not allow you to assign the packet filter to a port until
the filter is error-free.
you save the packet filter, it is checked for syntax errors. The Switch 2200
system software will not allow you to assign the packet filter to a port until
the filter is error-free.
You can also edit a packet filter using an ASCII-based text editor such as
EMACS or vi. You can then use ftp to send the filter text to the Switch 2200
system from a networked workstation.
EMACS or vi. You can then use ftp to send the filter text to the Switch 2200
system from a networked workstation.
Top-Level Menu
system
ethernet
fddi
ethernet
fddi
➧
bridge
ip
snmp
analyzer
script
logout
ip
snmp
analyzer
script
logout
display
ipFragmentation
ipxSnapTranslation
addressThreshold
agingTime
stpState
stpPriority
stpMaxAge
stpHelloTime
stpForwardDelay
stpGroupAddress
port
ipFragmentation
ipxSnapTranslation
addressThreshold
agingTime
stpState
stpPriority
stpMaxAge
stpHelloTime
stpForwardDelay
stpGroupAddress
port
➧
packetFilter
list
display
create
display
create
➧
delete
edit
load
assign
unassign
addressGroup
portGroup
edit
load
assign
unassign
addressGroup
portGroup