3Com 2200 Switch User Manual


 
12-20 CHAPTER 12: CREATING AND USING PACKET FILTERS
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
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
described in “Listing Packet Filters” on page 12-2.
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
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