3Com corebuilder 3500 Implementation Manual page 255

Hide thumbs Also See for corebuilder 3500:
Table of Contents

Advertisement

Name
"Optimized IP XNS ticker bcast filter"
pushField.a
0
pushLiteral.a
0xffffffffffff#
ne
accept
pushField.w
12
pushTop
pushLiteral.w
0x0600
eq
pushLiteral.w
0x76c
pushField.w
30
ge
pushLiteral.w
0x0898
pushField.w
30
lt
and
and
reject
pushLiteral.w
0x0800
ne
accept
pushLiteral.w
0x76c
pushField.w
24
ge
pushLiteral.w
0x0898
pushField.w
24
lt
and
not
# Assign this filter in the multicast path
# of a port only--this is very important.
#
# XNS FILTERING SECTION (Assuming more XNS traffic)
#
#
#
# Get the type field of the packet and
# place it on top of the stack.
# push copy of type
# Put the type value for XNS on top of
# the stack.
# If the two values on the top of the
# stack are equal, then return a non-zero
# value.
# Put the lowest socket value on top of
# the stack.
# Put the value of the socket from the
# packet on top of the stack.
# Compare if the value of the socket is
# greater than or equal to lower bound.
# Put the highest socket value on top of
# the stack.
# Put the value of the socket from the
# packet on top of the stack.
# Compare if the value of the socket is
# less than the upper bound
# "and" together with "ge" and "lt" test
# to determine if the socket value is
# "within" the range. If it is, place a
# "one" on the stack
#
# Compare if XNS & in range
# reject if XNS and in
#
# IP FILTERING SECTION
#
# The type field of the packet was
# place on top of the stack by the PushTop command.
#
# Put the type value for IP on top of
# the stack.
# not IP
# go no further
#
# Put the lowest socket value on top of
# the stack (1900).
# Put the value of the socket from the
# packet on top of the stack.
# Compare if the value of the socket is
# greater than or equal to lower bound.
# Put the highest socket value on top of
# the stack (2200).
# Put the value of the socket from the
# packet on top of the stack.
# Compare if the value of the socket is
# less than the upper bound
# "and" together with "ge" and "lt".
# Test to determine if the socket value is
# "within" the range. If it is in range,
# place a "one" will on the stack.
# Discard (IP & in range)
Long Custom Filter Example
range
255

Advertisement

Table of Contents
loading

Table of Contents