Source Address And Type Filter - 3Com LANPLEX 6000 User Manual

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

Advertisement

Source Address and
Type Filter
Accept XNS or IP
Filter
XNS Routing Filter
This filter operates on the source address and type fields of a frame. It
allows XNS packets to be forwarded that are from stations with an OUI of
08-00-02. To customize this filter to another OUI value, change the literal
value loaded in the last
padded with an additional 00 to fill out the literal to 4 bytes. To customize
this filter to another type value, change the literal value loaded into the
instruction.
pushLiteral.w
name
"XNS from 08-00-02"
pushField.w
12
pushLiteral.w
0x0600
ne
reject
pushLiteral.1
0xffffff00
pushField.1
6
and
pushLiteral.1
0x09000200
eq
This filter operates on the type field of a frame. It allows packets to be
forwarded that are XNS or IP frame. Note the use of the
to make a copy of the type field.
name
"Forward IP or XNS"
pushField.w
12
pushTop
pushLiteral.w
0x0800
eq
pushLiteral.w
0x0600
eq
This filter operates on the type and data fields of a frame. It discards all XNS
Routing packets.
name
"Drop XNS Routing"
pushField.w
12
pushLiteral.w
0x0600
ne
accept
pushLiteral.b
0x01
pushField.b
19
ne
packet
instruction. Note that the OUI must be
pushLiteral.l
# Get type field
# Load type value
# Check for mis-match
# Toss any non-XNS frames
# Set up mask to isolate first 3
# bytes
# Get first 4 bytes of source
# address
# Top of stack now has OUI
# Load OUI value
# Check for match
# Get type field
# Push copy of type
# Load IP type value
# Check for match
# Load XNS type value
# Check for match
# Get type field
# Load XNS type value
# Check for non-XNS packet
# Forward if non-XNS packet
# Load XNS routing type
# Get XNS type
# Check for non-XNS routing
Packet Filter Examples
instruction
pushTop
A-11

Advertisement

Table of Contents
loading

Table of Contents