<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Developing a PPS inbound rate limit for N-Series in FAQs</title>
    <link>https://community.extremenetworks.com/t5/faqs/developing-a-pps-inbound-rate-limit-for-n-series/m-p/45836#M352</link>
    <description>Article ID: 7537 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
Matrix N-Series DFE &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Goals&lt;/B&gt;&lt;BR /&gt;
Inbound Rate Limiting (IRL) to a maximum number of Packets Per Second (PPS).&lt;BR /&gt;
Sample configuration for rate limit at 100 PPS. &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution&lt;/B&gt;&lt;BR /&gt;
This configuration uses an LLC frame as an example of a packet to rate limit to no more than 100 packets per second. It is classified via a policy rule to a Class of Service, and then rate limited accordingly. Other packet types may as desired be controlled by varying the policy classification rule(s), and all of this configuration of course is highly tailorable as well. &lt;BR /&gt;
&lt;BR /&gt;
In this config breakout, the sequence of the various command groups has been rearranged (from the order seen in the output of a 'show config') to present the commands in a more readily explainable, logical sequence. &lt;BR /&gt;
&lt;BR /&gt;
&lt;U&gt;Invoke the Class of Service from a Policy Profile/Role&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
This Role (3) assigns a Class of Service (4) to all LLC traffic entering port fe.1.48.&lt;BR /&gt;
# policy&lt;BR /&gt;
set policy profile 3 name LLC&lt;BR /&gt;
set policy rule admin-profile port fe.1.48 mask 16 port-string fe.1.48 admin-pid 3&lt;BR /&gt;
set policy rule 3 llcDsapSsap 0a-0a-00-0000 mask 16 forward cos 4 syslog enable&lt;BR /&gt;
!&lt;BR /&gt;
 &lt;U&gt;Assign the Class of Service to the features it will provide&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
This command sets the Class of Service (4) so that it maps to a Reference# (5). The associated 802.1p priority is left unstated, so defaults to the same value as the cos (4).&lt;BR /&gt;
# cos settings&lt;BR /&gt;
set cos settings 4 irl-reference 5&lt;BR /&gt;
!&lt;BR /&gt;
 &lt;U&gt;Map the Reference# to the Inbound Rate Limiter&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
Group/Index 0.0 will affect the few blade models for which rate limiters 0-31 are available, and0.1 will affect the remaining blade models for which rate limiters 0-7 are available ('show cos port-type irl'). If you only have one type of hardware, you may omit the otherwise-unused commands. &lt;BR /&gt;
&lt;BR /&gt;
This command maps the Group/Index and Reference# (5) to the hardware-based Inbound Rate Limiter (6).&lt;BR /&gt;
# cos reference&lt;BR /&gt;
set cos reference irl 0.0 5 rate-limit 6&lt;BR /&gt;
set cos reference irl 0.1 5 rate-limit 6&lt;BR /&gt;
!&lt;BR /&gt;
 &lt;U&gt;Define the characteristics of the Inbound Rate Limiter&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
This command reiterates the Group/Index and hardware Inbound Rate Limiter (6), defining the combination to not exceed 100 PPS (the specified range must be within 1-100 pps) and to syslog when the limit is exceeded.&lt;BR /&gt;
# cos port-resource&lt;BR /&gt;
set cos port-resource irl 0.0 6 unit pps rate 100 syslog enable&lt;BR /&gt;
set cos port-resource irl 0.1 6 unit pps rate 100 syslog enable&lt;BR /&gt;
!&lt;BR /&gt;
 &lt;U&gt;Enable Class of Service processing&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
This command overrides the Port-based Rate Limiting concept in which for each port all priorities are each mapped to a defined inbound or outbound rate limiter (&lt;A href="http://bit.ly/1b2X7Aa" target="_blank" rel="nofollow noreferrer noopener"&gt;7345&lt;/A&gt;) - thus allowing all of the above structure to function as expected.&lt;BR /&gt;
# cos state&lt;BR /&gt;
set cos state enable&lt;BR /&gt;
!&lt;BR /&gt;
 See also: &lt;A href="http://bit.ly/1c7iK72" target="_blank" rel="nofollow noreferrer noopener"&gt;11731&lt;/A&gt;.</description>
    <pubDate>Wed, 27 Nov 2013 04:37:00 GMT</pubDate>
    <dc:creator>FAQ_User</dc:creator>
    <dc:date>2013-11-27T04:37:00Z</dc:date>
    <item>
      <title>Developing a PPS inbound rate limit for N-Series</title>
      <link>https://community.extremenetworks.com/t5/faqs/developing-a-pps-inbound-rate-limit-for-n-series/m-p/45836#M352</link>
      <description>Article ID: 7537 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
Matrix N-Series DFE &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Goals&lt;/B&gt;&lt;BR /&gt;
Inbound Rate Limiting (IRL) to a maximum number of Packets Per Second (PPS).&lt;BR /&gt;
Sample configuration for rate limit at 100 PPS. &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution&lt;/B&gt;&lt;BR /&gt;
This configuration uses an LLC frame as an example of a packet to rate limit to no more than 100 packets per second. It is classified via a policy rule to a Class of Service, and then rate limited accordingly. Other packet types may as desired be controlled by varying the policy classification rule(s), and all of this configuration of course is highly tailorable as well. &lt;BR /&gt;
&lt;BR /&gt;
In this config breakout, the sequence of the various command groups has been rearranged (from the order seen in the output of a 'show config') to present the commands in a more readily explainable, logical sequence. &lt;BR /&gt;
&lt;BR /&gt;
&lt;U&gt;Invoke the Class of Service from a Policy Profile/Role&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
This Role (3) assigns a Class of Service (4) to all LLC traffic entering port fe.1.48.&lt;BR /&gt;
# policy&lt;BR /&gt;
set policy profile 3 name LLC&lt;BR /&gt;
set policy rule admin-profile port fe.1.48 mask 16 port-string fe.1.48 admin-pid 3&lt;BR /&gt;
set policy rule 3 llcDsapSsap 0a-0a-00-0000 mask 16 forward cos 4 syslog enable&lt;BR /&gt;
!&lt;BR /&gt;
 &lt;U&gt;Assign the Class of Service to the features it will provide&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
This command sets the Class of Service (4) so that it maps to a Reference# (5). The associated 802.1p priority is left unstated, so defaults to the same value as the cos (4).&lt;BR /&gt;
# cos settings&lt;BR /&gt;
set cos settings 4 irl-reference 5&lt;BR /&gt;
!&lt;BR /&gt;
 &lt;U&gt;Map the Reference# to the Inbound Rate Limiter&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
Group/Index 0.0 will affect the few blade models for which rate limiters 0-31 are available, and0.1 will affect the remaining blade models for which rate limiters 0-7 are available ('show cos port-type irl'). If you only have one type of hardware, you may omit the otherwise-unused commands. &lt;BR /&gt;
&lt;BR /&gt;
This command maps the Group/Index and Reference# (5) to the hardware-based Inbound Rate Limiter (6).&lt;BR /&gt;
# cos reference&lt;BR /&gt;
set cos reference irl 0.0 5 rate-limit 6&lt;BR /&gt;
set cos reference irl 0.1 5 rate-limit 6&lt;BR /&gt;
!&lt;BR /&gt;
 &lt;U&gt;Define the characteristics of the Inbound Rate Limiter&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
This command reiterates the Group/Index and hardware Inbound Rate Limiter (6), defining the combination to not exceed 100 PPS (the specified range must be within 1-100 pps) and to syslog when the limit is exceeded.&lt;BR /&gt;
# cos port-resource&lt;BR /&gt;
set cos port-resource irl 0.0 6 unit pps rate 100 syslog enable&lt;BR /&gt;
set cos port-resource irl 0.1 6 unit pps rate 100 syslog enable&lt;BR /&gt;
!&lt;BR /&gt;
 &lt;U&gt;Enable Class of Service processing&lt;/U&gt; &lt;BR /&gt;
&lt;BR /&gt;
This command overrides the Port-based Rate Limiting concept in which for each port all priorities are each mapped to a defined inbound or outbound rate limiter (&lt;A href="http://bit.ly/1b2X7Aa" target="_blank" rel="nofollow noreferrer noopener"&gt;7345&lt;/A&gt;) - thus allowing all of the above structure to function as expected.&lt;BR /&gt;
# cos state&lt;BR /&gt;
set cos state enable&lt;BR /&gt;
!&lt;BR /&gt;
 See also: &lt;A href="http://bit.ly/1c7iK72" target="_blank" rel="nofollow noreferrer noopener"&gt;11731&lt;/A&gt;.</description>
      <pubDate>Wed, 27 Nov 2013 04:37:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/faqs/developing-a-pps-inbound-rate-limit-for-n-series/m-p/45836#M352</guid>
      <dc:creator>FAQ_User</dc:creator>
      <dc:date>2013-11-27T04:37:00Z</dc:date>
    </item>
  </channel>
</rss>

