3com 2200 User Manual

Page of 200
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:
Create the definition in a text file.
From a networked workstation, ftp the file to the Switch 2200 on which you 
want to load the filter.
Load the filter as described in “Loading Packet Filters” on page 12-22.
Deleting Packet 
Filters
Deleting a packet filter removes the filter from the Switch 2200 system.
To delete a packet filter:
From the top level of the Administration Console, enter:
bridge packetFilter delete
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.
Enter 
y
 (yes) to delete or 
n
 (no) to return to the previous menu. 
Editing, Checking 
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 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.
Top-Level Menu
system
ethernet
fddi
bridge
ip
snmp
analyzer
script
logout
display
ipFragmentation
ipxSnapTranslation
addressThreshold
agingTime
stpState
stpPriority
stpMaxAge
stpHelloTime
stpForwardDelay
stpGroupAddress
port
packetFilter
list
display
create
delete
edit
load
assign
unassign
addressGroup
portGroup