
334
C
HAPTER
15: P
ACKET
F
ILTERING
Type Filter
This filter operates on the type field of a frame. It allows packets to be
forwarded that are IP frames. To customize this filter to another type
value, change the literal value loaded in the pushLiteral.w instruction.
Ethernet Type IPX and
Multicast Filter
This filter
rejects
frames that have either a Novell IPX Ethernet type field
(8134 hex) or a multicast destination address.
Multiple Destination
Address Filter
This filter operates on the destination address field of a frame. It allows
packets to be forwarded that are destined for one of four different
stations. To tailor this filter to other destinations, change the literal values.
name
“Forward IP frames”
pushField.w
12
# Get type field.
pushLiteral.w
0x0800
# Load IP type value.
eq
# Check for match.
name
“Type > 900 or Multicast”
pushField.w
12
# Get type field.
pushLiteral.w
0x900
# Push type value to test
# against.
gt
# Is type field > 900 (hex)?
reject
# If yes: reject frame (done).
pushLiteral.b
0x01
# Multicast bit is low-order
pushField.b
0
# bit
and
# Get 1 st byte of destination
not
# Isolate multicast bit
# Top of stack 1 to accept,
# 0 to reject
name
“Forward to four stations”
pushField.a
0
# Get destination address.
pushTop
# Make 3 copies of address.
pushTop
#
pushTop
#
pushLiteral.a
0x367002010203 # Load allowed destination
# address.
eq
# Check for match.
accept
# Forward if valid address.
pushLiteral.a
0x468462236526 # Load allowed destination
# address.
eq
# Check for match.
accept
# Forward if valid address.
pushLiteral.a
0x347872927352 # Load allowed destination
# address.
eq
# Check for match.
accept
# Forward if valid address.
pushLiteral.a
0x080239572897 # Load allowed destination
# address.
eq
# Check for match.
Содержание 4007
Страница 1: ...http www 3com com Switch 4007 Implementation Guide Release 3 0 5 Part No 10013673 Published May 2000 ...
Страница 36: ...36 ABOUT THIS GUIDE ...
Страница 37: ...I UNDERSTANDING YOUR SWITCH 4007 SYSTEM Chapter 1 Configuration Overview ...
Страница 38: ......
Страница 50: ...50 CHAPTER 1 CONFIGURATION OVERVIEW ...
Страница 52: ......
Страница 70: ...70 CHAPTER 3 INSTALLING MANAGEMENT MODULES ...
Страница 110: ...110 CHAPTER 4 CONFIGURING AND USING EME OPTIONS ...
Страница 130: ...130 CHAPTER 5 MANAGING THE CHASSIS POWER AND TEMPERATURE ...
Страница 222: ...222 CHAPTER 11 IP MULTICAST FILTERING WITH IGMP ...
Страница 240: ...240 CHAPTER 13 RESILIENT LINKS ...
Страница 304: ...304 CHAPTER 14 VIRTUAL LANS VLANS ...
Страница 350: ...350 CHAPTER 15 PACKET FILTERING ...
Страница 506: ...506 CHAPTER 19 OPEN SHORTEST PATH FIRST OSPF ROUTING ...
Страница 534: ...534 CHAPTER 20 IPX ROUTING ...
Страница 612: ...612 CHAPTER 22 QOS AND RSVP ...
Страница 656: ...656 CHAPTER 23 DEVICE MONITORING ...
Страница 657: ...IV REFERENCE Appendix A Technical Support Index ...
Страница 658: ......
Страница 664: ......