Allied Telesis x900-24 series manual How to see the current filter resource usage on the switch

Page 12

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 per-application basis:

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 8-rule blocks have been allocated on the base system

 

 

Number of rules per application:

Splitting the rule allocation out on a per-application basis

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

Image 12
Contents AlliedWareTM OS IntroductionWhat information will you find in this document? This document contains the followingConfiguring packet classification Creating dedicated hardware filtersConfiguring inner parameters for nested VLANs Core port 1st tag 2nd tag Nested VLANs disabledCustomer port 1st tagThen, enter the following command Creating hardware filtersFor example, imagine you have the following set of filters Logic of the operation of the hardware filters Effects of the action parametersCombining hardware filters and QoS How many filters can you create?Filter rules table Extra rules used when combining QoS and hardware filters Rule Empty Rule tableProfile mask Following figure shows the copies of these rulesRule Are there enough bytes for your set of filters? Disabled by default Some protocols also use filters, so use some of the lengthOkay length For example, this set of filters would work How to see the current filter resource usage on the switch Appendix a How to use the layer 4 mask in classifiers Default maskBinary 07D0 in hexadecimalExample 1 ports Points to rememberExample 2 ports Example 3 portsNow it is really easy to write the classifiers 128 256512 024Following table shows the port ranges for the largest blocks 65536C613-16058-00 REV C