
The Packet Filtering Language
325
pushTop (continued)
1 byte
Rather than use multiple
pushField .w 12
commands to look at the 12th offset where the
Ethernet type field resides, use multiple
pushTop
commands, as shown here:
Original Filter:
pushField.w 12
pushLiteral.w 0x6004
eq
reject
pushField.w 12
pushLiteral.w 0x0800
eq
reject
pushField.w 12
pushLiteral.w 0x0806
ne
Shortened Filter:
PushField.w 12
pushTop
pushTop
pushLiteral.w 0x6004
eq
reject
pushLiteral.w 0x0800
eq
reject
pushLiteral.w 0x0806
ne
pushSPGM
1 byte
Pushes the source port group mask (SPGM) onto the
top of the stack. The SPGM is a bitmap representing
the groups to which the source port of a packet
belongs. This instruction pushes 4 bytes on to the
stack.
Each port group mask is represented by a single bit in
the SPGM bitmap. Port group masks are assigned to
the bitmap in sequence, starting with port group mask
1 as the least significant bit through port group mask
32 as the most significant bit.
Use
pushSPGM
to filter by port groups. See “Using
Port Groups in Custom Packet Filters” for more
information.
Table 66
Packet Filtering Opcodes (continued)
Opcode
Memory
Requirements
Description
Summary of Contents for 4007
Page 36: ...36 ABOUT THIS GUIDE ...
Page 37: ...I UNDERSTANDING YOUR SWITCH 4007 SYSTEM Chapter 1 Configuration Overview ...
Page 38: ......
Page 50: ...50 CHAPTER 1 CONFIGURATION OVERVIEW ...
Page 52: ......
Page 70: ...70 CHAPTER 3 INSTALLING MANAGEMENT MODULES ...
Page 110: ...110 CHAPTER 4 CONFIGURING AND USING EME OPTIONS ...
Page 130: ...130 CHAPTER 5 MANAGING THE CHASSIS POWER AND TEMPERATURE ...
Page 222: ...222 CHAPTER 11 IP MULTICAST FILTERING WITH IGMP ...
Page 240: ...240 CHAPTER 13 RESILIENT LINKS ...
Page 304: ...304 CHAPTER 14 VIRTUAL LANS VLANS ...
Page 350: ...350 CHAPTER 15 PACKET FILTERING ...
Page 506: ...506 CHAPTER 19 OPEN SHORTEST PATH FIRST OSPF ROUTING ...
Page 534: ...534 CHAPTER 20 IPX ROUTING ...
Page 612: ...612 CHAPTER 22 QOS AND RSVP ...
Page 656: ...656 CHAPTER 23 DEVICE MONITORING ...
Page 657: ...IV REFERENCE Appendix A Technical Support Index ...
Page 658: ......
Page 664: ......