Posted on May 17, 2021 3:37 am
 |  Asked by Waleed Alsaeed
Print Friendly, PDF & Email


I’m using 7504R switch as tap aggregation mode, and want to steer/filter the traffic from tap ports to a tool ports based on source and destination IP addresses.

As the list has more than 400+ subnets (example below), steering or filtering the traffic using policy-map or class-map within a policy-map, requires applying 20,000+ rule:
1- source:, destination: or or or
2- source:, destination: or or or
3- source:, destination: or or or
4- source:, destination: or or
5- source:, destination: or or
6- source:, destination: or or
7- source:, destination: or or

As egress ACL is not compatible with 7504R switches in tap aggregation mode, I’m wondering if is there a way to steer the traffic on the tap interface then filter it in the tool interface or have a two layer of steering and filtering in the same policy-map.

Note: I was able to do it in 7150 switch, by apply steering rules in policy-map on the tap port then the ACL in the tool port.

Thanks in advance,

Posted by Alexis Dacquay
Answered on October 18, 2021 7:04 pm

The R-series does support egress ACL since 4.22. What version are you running currently?

Is it possible to narrow down to the most interesting, or is 20,000 combinations really the MINORITY you find the most interesting?
What I mean is that generally the "interesting traffic" is a small portion of the traffic, and the rest goes to a default group.

You can play with the ACL mask to combine multiple addresses in a single entry.
For example and can be summarized as
If the subnets are discontinuous, I am afraid to say the addressing was designed without consideration for how the hardware works (TCAM).

Are you interested in everything "IP" from these subnets, or some specific ports that could help you narrow down?

How much throughput does all these 20,000 combinations represent? 10Gbps, 100Gbps, 1Tbps? More?
If it's not too much then you could create a loop:
TOOL ==> back to the switch. The there apply your tap 2nd layer of filtering like you do today on the 7150.

But all that would be simply resolved by an upgrade to a recent EOS version.

Post your Answer

You must be logged in to post an answer.