
Tools for Writing Filters
313
Tools for Writing
Filters
The following tools can be used to create packet filters.
■
ASCII Text Editor
■
Built-in Line Editor
■
Web Management Filter Builder Tool
ASCII Text Editor
You can create a new custom packet filter using an ASCII-based text
editor (such as EMACS, vi, or Notepad). By using an ASCII-based text
editor on a networked workstation, you can create multiple copies of the
packet filter definition, which you can then store and copy onto one or
more systems from the workstation. This method also allows you to
archive copies of filter definitions and put them under source code
control.
Built-in Line Editor
You can create a new custom packet filter using the line editor that is
built into the Administration Console. The built-in text editor provides a
minimal set of EMACS-style editing functions that you can use to edit a
packet filter definition one line at a time. A single line is limited to no
more than 79 characters. The number of lines is limited only by available
memory.
Because the built-in editor is deliberately limited in scope, this method is
most suited to making small temporary changes to a running filter.
The built-in editor assumes a terminal capability no higher than a glass tty
(that is, it does not assume an addressable screen). You can place any
ASCII printable character into the editing buffer at the cursor position. If
the number of characters in the line buffer exceed the maximum number
of characters permitted for the line, the characters that fall outside
maximum line length are discarded. The built-in editor initially operates in
insert
mode.
Table 62 summarizes the commands that the editor supports.
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: ......