Using Groups In Packet Filters - 3Com SUPERSTACK 2200 User Manual

Switch administration console
Table of Contents

Advertisement

13
Using Groups in
Packet Filters
Address group packet
filter example
C
ONFIGURING
P
G
ORT
ROUPS TO
P
F
ACKET
This chapter describes how to use address and port groups as filtering
criteria in a packet filter, and how to administer address and port groups.
You can use address groups (a list of MAC addresses) and port groups (a list
of Switch 2200 Ethernet and FDDI ports) as filtering criteria in a packet filter.
For more information about address and port group concepts, see Chapter
7: User-defined Packet Filtering in the SuperStack™ II Switch 2200
Operation Guide.
A packet filter uses a group to make filtering decisions by accessing the
group's source group mask and destination group mask. You reference these
group masks using the opcodes SAGM (source address group mask), DAGM
(destination address group mask), SPGM (source port group mask), and
DPGM (destination port group mask). Here are some examples of using
address and port groups in packet filters.
In this example, the filter only forwards packets among stations that are
within the same address group.
Name
"Accept Same Source and Destination"
pushSAGM
pushDAGM
and
pushLiteral.l
0
ne
A
DDRESS AND
U
ILTERS
# Get source address group mask
# Get destination address
# group mask
# Compare if source address and
# destination address are common
# members of an address group (result
# is either zero or non-zero)
# Put a zero on the stack
# If not equal, returns a "one" to
# stack, resulting in packet
# forwarded
SE IN

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SUPERSTACK 2200 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Superstack ii 2200

Table of Contents