Counter and Policer Set Size and Indexing
The number of prefix-specific actions (counters or policers) implicitly created for a
prefix-specific action is determined by the length of the address prefix and the length of
the subnet prefix:
SizeofCounterandPolicerSet=2^(
source-or-destination-prefix-length
-
subnet-prefix-length
)
shows examples of counter and policer set size and indexing.
Table 8: Examples of Counter and Policer Set Size and Indexing
Indexing of Instances
Calculation of Counter or Policer
Set Size
Example Prefix Lengths
Specified in the
Prefix-Specific Action
x
.
x
.0.0
Instance 0:
Size=2^(32-16)=2^16=65,536instances
NOTE:
This calculation shows the
largest counter or policer set size
supported.
source-prefix-length
= 32
subnet-prefix-length
= 16
x
.
x
.0.1
Instance 1:
x
.
x
.255.255
Instance
65535:
x
.
x
.
x
.0
Instance 0:
Size = 2^(32 - 24) = 2^8 = 256 instances
source-prefix-length
= 32
subnet-prefix-length
= 24
x
.
x
.
x
.1
Instance 1:
x
.
x
.
x
.255
Instance 255:
x
.
x
.
x
.0
Instance 0:
Size = 2^(32 - 25) = 2^7 = 128 instances
source-prefix-length
= 32
subnet-prefix-length
= 25
x
.
x
.
x
.1
Instance 1:
x
.
x
.
x
.127
Instance 127:
x
.
x
.0.
x
Instance 0:
Size = 2^(24 - 20) = 2^4 = 16 instances
source-prefix-length
= 24
subnet-prefix-length
= 20
x
.
x
.1.
x
Instance 1:
x
.
x
.15.
x
Instance 15:
Related
Documentation
Two-Color Policer Configuration Overview on page 49
•
•
Filter-Specific Counter and Policer Set Overview on page 100
•
Example: Configuring Prefix-Specific Counting and Policing on page 100
•
Prefix-Specific Counting and Policing Configuration Scenarios on page 107
•
prefix-action (Configuring) on page 235
•
prefix-action (Firewall Filter Action) on page 236
99
Copyright © 2016, Juniper Networks, Inc.
Chapter 10: Prefix-Specific Counting and Policing Actions
Summary of Contents for EX9200 Series
Page 8: ...Copyright 2016 Juniper Networks Inc viii Traffic Policers Feature Guide for EX9200 Switches ...
Page 10: ...Copyright 2016 Juniper Networks Inc x Traffic Policers Feature Guide for EX9200 Switches ...
Page 12: ...Copyright 2016 Juniper Networks Inc xii Traffic Policers Feature Guide for EX9200 Switches ...
Page 20: ...Copyright 2016 Juniper Networks Inc 2 Traffic Policers Feature Guide for EX9200 Switches ...
Page 32: ...Copyright 2016 Juniper Networks Inc 14 Traffic Policers Feature Guide for EX9200 Switches ...
Page 34: ...Copyright 2016 Juniper Networks Inc 16 Traffic Policers Feature Guide for EX9200 Switches ...
Page 42: ...Copyright 2016 Juniper Networks Inc 24 Traffic Policers Feature Guide for EX9200 Switches ...
Page 54: ...Copyright 2016 Juniper Networks Inc 36 Traffic Policers Feature Guide for EX9200 Switches ...
Page 56: ...Copyright 2016 Juniper Networks Inc 38 Traffic Policers Feature Guide for EX9200 Switches ...
Page 72: ...Copyright 2016 Juniper Networks Inc 54 Traffic Policers Feature Guide for EX9200 Switches ...
Page 132: ...Copyright 2016 Juniper Networks Inc 114 Traffic Policers Feature Guide for EX9200 Switches ...
Page 152: ...Copyright 2016 Juniper Networks Inc 134 Traffic Policers Feature Guide for EX9200 Switches ...
Page 162: ...Copyright 2016 Juniper Networks Inc 144 Traffic Policers Feature Guide for EX9200 Switches ...
Page 178: ...Copyright 2016 Juniper Networks Inc 160 Traffic Policers Feature Guide for EX9200 Switches ...
Page 186: ...Copyright 2016 Juniper Networks Inc 168 Traffic Policers Feature Guide for EX9200 Switches ...
Page 188: ...Copyright 2016 Juniper Networks Inc 170 Traffic Policers Feature Guide for EX9200 Switches ...
Page 202: ...Copyright 2016 Juniper Networks Inc 184 Traffic Policers Feature Guide for EX9200 Switches ...
Page 212: ...Copyright 2016 Juniper Networks Inc 194 Traffic Policers Feature Guide for EX9200 Switches ...
Page 214: ...Copyright 2016 Juniper Networks Inc 196 Traffic Policers Feature Guide for EX9200 Switches ...
Page 278: ...Copyright 2016 Juniper Networks Inc 260 Traffic Policers Feature Guide for EX9200 Switches ...