Director
25
Chapter 3
Conguring Filters Using the CLI
This chapter describes how to use the CLI to determine which monitoring tools are connected to which Network ports.
It also explains how to create lters to limit the amount of trafc copied to Monitor ports, so the monitoring tools
receive only the trafc that is of interest to them.
In this chapter, you will learn to:
Copy trafc from any Network port to any Monitor port•
Aggregate trafc from any set of Network ports to any Monitor port•
Regenerate trafc from any aggregated set of Network ports to any set of Monitor ports•
Create lters•
Create complex lters•
View lters•
Work with congurable 10 Gigabit ports•
Understand lter interactions•
For a complete listing of lter commands in the CLI, see Appendix B.
Syntax
In the CLI, Director ports are specied by alpha-numeric names as follows:
n1.1, n1.2, n1.3 .. n1.12 – Network ports in the rst DNM (the slot on the left); for in-line DNM models, port •
n1.1, n1.2 are an in-line link pair; so are n1.3, n1.4, and so on.
n2.1, n2.2, n2.3 .. n2.12 – Network ports in the second DNM (the slot on the right); for in-line DNM models, •
port n2.1, n2.2 are an in-line link pair; so are n2.3, n2.4, and so on.
m.1, m.2, m.3 .. m.10 – Monitor ports•
t1.1, t1.2 – Congurable 10 Gigabit ports (on the front panel)•
t2.1, t2.2 – Congurable 10 Gigabit ports (on the rear panel)•
Most commands accept lists of ports. In port lists, port names are separated by commas and a dash (-) desig-
nates a range. Do not include any space characters in the list (do not put a space after the comma). For example,
n1.1,n1.2,n1.3,n1.4,n1.5-n1.10 is a list that includes Network Ports 1 through 10 on DNM 1.
When you dene a lter, you specify an action to be taken when the lter conditions are met. The action can be either
drop or redir (meaning redirect). If the action is drop, then packets which meet the lter criteria are dropped, that is,
they are not copied to any Monitor port. If the action is redir, then packets which meet the lter criteria are copied to
all Monitor ports listed in the redir_ports=<portlist> argument.