How many filters can you create?
How to see the current filter resource usage on the switch
The show switch command outputs a number of counters that display the current usage of filtering resources. A typical output from this command, and a discussion of each of the values it outputs, is shown below:
Command output | Description | |
|
| |
Traffic Control Unit,hardware | Total number of classifiers/filter rules available in the system. | |
resource usage: | This is the sum of the rules available on the base system and | |
Total system rule space ... 2048 | ||
the rules available on the IPv6 accelerator. | ||
| ||
|
| |
Total number of rules used .... 8 | Number of classifiers currently being used | |
|
| |
Total rule space usage ........ 24 | Number of rules reserved, accounting for block size of 8. | |
| Even though there are only 8 rules in use, there have actually | |
| been 3 blocks of 8 rules allocated from the rule table, as the | |
| rules in the rule table must be allocated in blocks of 8. The | |
| blocks are: | |
| z one block on the base system for packets arriving into the | |
| switch via port 1 (which has had a QoS policy applied to it) | |
| z one block on the base system for packets arriving in via | |
| any other port | |
| z one block allocated on the IPv6 accelerator. | |
|
| |
Number of rules per application: | Splitting the rule allocation out on a | |
MLD Snooping ................ 4 | z 2 rules on port 1 for MLD, 2 for MLD on all the other | |
ports | ||
Accel. Card(IPv6) ........... 1 | ||
Switch HwFilter ............. 2 | z 1 default rule in the IPv6 card | |
QOS ......................... 1 | z 1 hardware filter rule for port 1, and one for all the other | |
| ports | |
| z 1 QoS rule for port 1 | |
|
| |
Total number of actions ... 1024 | Total number of actions available for hardware filters or QoS | |
|
| |
Number of actions used ........ 10 | 8 actions in use by the 8 rules, and 2 default actions (for | |
| packets that match no rules) | |
|
| |
Device Resource, device #0: | Resource being used by the first device, which is the base | |
Number of rules used ........ 7 | board | |
Rule space usage ............ 16 | ||
z Same as the 8 above, except for the one that is on the IPv6 | ||
| ||
| card | |
| z Two | |
|
| |
Number of rules per application: | Splitting the rule allocation out on a | |
MLD Snooping .............. 4 | z 2 rules on port 1 for MLD and 2 for MLD on all the other | |
Switch HwFilter ........... 2 | ||
ports | ||
QOS ....................... 1 | ||
Device rule space limit .. 1024 | z 1 hardware filter rule for port 1, and one for all the other | |
| ports | |
| z 1 QoS rule for port 1 | |
| z Total number of rules in the rule table on the base system | |
|
|
Page 12 AlliedWare™ OS How To Note: Hardware Filters