Displaying Packet Filters; Creating Packet Filters - 3Com SUPERSTACK 2200 User Manual

Switch administration console
Table of Contents

Advertisement

Displaying
Packet Filters
Top-Level Menu
system
list
display
ethernet
display
ipFragmentation
fddi
create
ipxSnapTranslation
bridge
delete
addressThreshold
ip
edit
agingTime
snmp
load
stpState
analyzer
assign
stpPriority
script
unassign
stpMaxAge
logout
addressGroup
stpHelloTime
portGroup
stpForwardDelay
stpGroupAddress
port
packetFilter
Creating Packet
Filters
When displaying the contents of a single packet filter, you select the packet
filter using the filter id (which you can obtain by listing the packet filters
as described in the previous section). The packet filter instructions are
displayed; however, any comments in the original packet filter definition
file are not displayed because they are not saved with the packet filter.
To display the contents of a packet filter:
1 From the top level of the Administration Console, enter:
bridge packetFilter display
You are prompted for the number of the packet filter you want to display.
2 Enter the packet filter id number.
The contents of the packet filter are displayed. An example of the output
generated by this command is shown next. The packet filter id and name
are displayed, followed by a listing of the packet filter instructions.
Select packet filter to be displayed [1-n]:
Packet filter 2 - Type > 900 or Multicast
name "Type > 900 or Multicast"
pushLiteral.w
pushField.w
gt
reject
pushField.b
pushLiteral.b
and
not
You create custom packet filters by writing a packet filter definition. Each
packet-processing path on a port may have a unique packet filter definition
or may share a definition with other ports. Packet filter definitions are
written in the packet filter language. This language allows you to construct
complex logical expressions.
After writing a packet filter definition, you load it into a Switch 2200 and the
corresponding port assignments are preserved in the nonvolatile memory
(NVRAM) of the system. This ensures that the packet filter configuration for
each system is saved across system reboots and power failures.

Displaying Packet Filters

2
0x900
12
0
0x01
12-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Superstack ii 2200

Table of Contents