{"id":4070,"date":"2024-03-12T13:46:23","date_gmt":"2024-03-12T13:46:23","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=4070"},"modified":"2024-03-12T13:46:36","modified_gmt":"2024-03-12T13:46:36","slug":"extreme-networks-bandwidth-throttling","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=4070","title":{"rendered":"Extreme Networks Bandwidth Throttling"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You may need to limit bandwidth, perhaps for a customer, or for an area of your network to avoid issues that occur when they saturate links, knowingly or unknowingly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this example we&#8217;ll create a 20MBit Limit with a 250Kb burst, and we&#8217;ll make the switch drop anything that exceeds that limit. So in effect the VLAN that we&#8217;re applying to will be limited to 20Mbit of download and upgrade (ingress and egress) depending on how you look at it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"BICTenantandCampusTenantBandwidthLimiting-Configuration\">Configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You need to perform three main steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create the Meter, specifying the limits.<\/li>\n\n\n\n<li>Create the Policy, specifying the matching criteria and meter.<\/li>\n\n\n\n<li>Apply the Policy to the required ports, either as Ingress or Egress or both.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 &#8211; Create the Meter<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create the meter with the required limits.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>create meter Customer20G\r\nconfigure meter Customer20G committed-rate 2 Gbps max-burst-size 250 Kb out-actions drop<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 &#8211; Create Bandwidth Policy<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create the Bandwidth Limit policy file. You don&#8217;t need one per tenant, you can coexist many in a single file.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vi LimitBandwidth.pol<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create the entry with the matching criteria.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>entry Custerom20G {\r\n  if match all {\r\n    vlan-id 4077;\r\n}\r\n then {\r\n    meter Customer20G;\r\n}\r\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 &#8211; Apply the Policy<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Apply the policy to the port to start the bandwidth trottling.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>configure access-list LimitBandwidth ports 40 ingress\r\nconfigure access-list LimitBandwidth ports 40 egress<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Monitor Metering<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To see it in action:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>show access-list meter \"Customer20G\" port 40 ingress\r\n \r\nswitch1.1 # show access-list meter \"Customer20G\" port 40 ingress\r\nPolicy Name      Vlan Name        Port\r\n                       Committed   Max Burst  Out-of-Profile  Out-of-Profile\r\n    Meter              Rate (Kbps) Size (K)   Action    DSCP  Packet Count\r\n===============================================================================\r\nLimitBandwidth   *                40\r\n    Customer20G         2000000     250000     Drop            675022569<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You may need to limit bandwidth, perhaps for a customer, or for an area of your network to avoid issues that occur when they saturate links, knowingly or unknowingly. In this example we&#8217;ll create a 20MBit Limit with a 250Kb burst, and we&#8217;ll make the switch drop anything that exceeds that limit. So in effect &#8230; <a title=\"Extreme Networks Bandwidth Throttling\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=4070\" aria-label=\"Read more about Extreme Networks Bandwidth Throttling\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[],"class_list":["post-4070","post","type-post","status-publish","format-standard","hentry","category-extreme-networks"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4070"}],"version-history":[{"count":4,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4070\/revisions"}],"predecessor-version":[{"id":4075,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4070\/revisions\/4075"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}