Address Group Filter - 3Com LANPLEX 6000 User Manual

Administration console
Hide thumbs Also See for LANPLEX 6000:
Table of Contents

Advertisement

A-12
A
A: P
PPENDIX
ACKET
Address Group
Filter
Port Group Filter
F
O
, E
ILTER
PCODES
XAMPLES
This filter accepts only frames whose source and destination address are in
the same group.
name
"Forward Same Source and Destination"
pushSAGM
pushDAGM
mask
and
destination
pushLiteral.1
0
ne
This filter discards all frames sourced from a port in either group three or
eight.
name
"Discard Port Groups 3 and 8"
pushSPGM
pushLiteral.1
0x0084
and
non-zero
pushLiteral.1
0
eq
forwarded
,
S
E
AND
YNTAX
RRORS
# Get source address group mask
# Get destination addr. group
# Compare if source and
# groups are common members of
# an address group (result is
# either zero or non-zero)
# address group masks
# Put a zero on the stack
# If not equal, returns a "one"
# to stack, resulting in packet
# forwarded
# Get source port group mask
# Select bits 3 and 8
# If port group bits 3 & 8 are
# common with SPGM, then
# value is pushed onto stack
# Push zero
# Only if SPGM is not in port
# groups corresponding to bits
# 3 & 8, then packet is

Advertisement

Table of Contents
loading

Table of Contents