Nortel Networks 5510, 5520, 5530 manual Interface Shaper, Meter Bucket Size and Duration

Page 23

Filters and QoS Configuration for ERS 5500

 

 

Technical Configuration Guide

v2.0

NN48500-559

The following table displays all various bucket size and duration values available using the committed and maximum burst values used in this example.

Table 8: Meter Bucket Size and Duration

 

 

 

 

Value to enter

Bucket Size

Max burst rate

Committed rate

Duration

(mSec)

4,096

15000000

10000000

0.0065536

7

8,192

15000000

10000000

0.0131072

13

16,384

15000000

10000000

0.0262144

26

32,768

15000000

10000000

0.0524288

52

65,536

15000000

10000000

0.1048576

105

131,072

15000000

10000000

0.2097152

210

262,144

15000000

10000000

0.4194304

419

524,288

15000000

10000000

0.8388608

839

1,048,576*

15000000

10000000

1.6777216

1678

2,097,152*

15000000

10000000

3.3554432

3355

8,388,608*

15000000

10000000

13.4217728

13422

* ERS5530 10GE only

5.3 Interface Shaper

When configuring interface shaping, the shape rate, burst rate, and burst duration can be configured using the following command:

5530-24TFD(config)#interface fastEthernet all

5530-24TFD(config-if)#qos if-shaper port <port #> shape-rate <64-10230000

Kbits/sec> max-burst-rate <64-4294967295 Kbits/sec> max-burst-duration <1- 4294967295 milliseconds>

QoS interface shaping parameters:

Parameter

Description

 

 

<portlist>

Ports to configure shaping parameters.

<WORD>

Specify name for if-shaper; maximum is 16 alphanumeric characters.

 

 

shape-rate

Shaping rate in kilobits/sec; range is 64-10230000 kilobits/sec.

<64-10230000>

 

max-burst-rate

Maximum burst rate in kilobits/sec; range is 64-4294967295Kbits/sec.

<64-4294967295>

 

max-burst-duration

Maximum burst duration in milliseconds; range is 1 to 4294967295 ms.

<1-4294967295>

 

When configuring interface shaping on an interface, please note the following:

The maximum burst rate cannot be configured the same as the shape rate. You must always specify a higher maximum burst rate than the shape rate

The maximum burst rate and burst duration is used to calculate the bucket size or committed burst in bytes

The maximum burst rate and burst duration is used to calculate the bucket size or committed burst in bytes

oDuration = ((bucketSize*8) / (max-burst-ratecommitted-rate))

Bucket sizes in bytes are 4K, 8K, 16k, 32K, 64K, 128K, 256K, and 512K

___________________________________________________________________________________________________________________________

Nortel Confidential Information Copyright © 2008 Nortel Networks. All Rights Reserved.

 

External Distribution

22

Image 23
Contents Ethernet Routing Switch NN48500-559 Abstract Table of Contents List of Tables List of FiguresText Document UpdatesSymbols ConventionsOverview Ethernet Routing Switch 5500 QoS and Filtering ƒ Layer 2 Classifier Elements ClassificationUntrusted Ports Unrestricted PortsStatistics Actions SupportedQoS Flow Chart Classifier Block Functionality Filter FunctionalityOverall Classification Functionality 7, 15, 31, 63 255, 511, 1025 4095, 8191 32762, or Min = Port Range FunctionalityPolicies Default Policy Drop ActionNN48500-559 Queue Sets 5520-24T-PWRconfig#qos agent buffer large maximum regular5520-24T-PWRconfig#default qos agent buffer Egress CoS Queuing Ethernet Routing Switch 5500 Egress CoS QueuingCoS 5520-24T-PWRconfig#qos agent queue set 5520-24T-PWRconfig#show qos queue-set-assignmentEgress Queue Recommendations 5520-24T-PWRconfig#default qos agent queue-set5520-24T-PWRconfig#qos agent reset-default Bucket Size Traffic Meter and ShapingParameter Description Actual Bucket SizePolicing Traffic Actual Bucket Size in Bytes Actual size in bytes InterfaceExample Bucket Size Max burst rate Committed rate Duration MSec Interface ShaperMeter Bucket Size and Duration 5530-24TFDconfig#show qos if-shaper port Hex Decimal Default Nortel Class of ServiceDefault Nortel CoS Markings BinaryConfig#qos ip-acl name 1..16 character string ? QoS Access Lists ACLACL Configuration IP-ACL ConfigurationConfig#qos l2-acl name 1..16 character string ? 2 L2-ACL ConfigurationACL-Assign Configuration ACL Configuration Example5530H-24TFD#show qos ip-acl Verification5530H-24TFD#show qos acl-assign 5530H-24TFD#show qos policy Changing ACL 5500config#no qos acl-assign5500config#no qos acl-assign 1 port 1/19 5500config#no qos ip-aclDhcp Snooping IP Security FeaturesDhcp Snooping Configuration Dynamic ARP Inspection ConfigurationIP Source Guard IP Source Guard ConfigurationBpdu Filtering Bpdu Filtering ConfigurationQoS Interface Applications QoS Applications Number of Classifiers Used FeatureARP Spoofing Configuration ExampleDhcp Snooping Dhcp Attacks10.3 DoS Bpdu Blocking ERS5500-48T#show qos if-group Configuration Steps Policy ConfigurationRole Combination ERS5500-48T#show qos if-assignIP Element ERS5500-48Tconfig#qos ip-element 1-64000?Classification Adding IP and L2 ElementAdding a Classifier Block Adding a ClassifierParameters and variables Description MetersAdd a New Policy QoS Action Configuration ExamplesPre-defined Values Configure the IP elements Configuration Example 1 Traffic Meter Using Policies12.2.1 ERS5500 Configuration Using Policies Configure the Interface Role CombinationERS5500 Create the classifier block Configure MetersConfigure the Classifier Block Verify the Role Combination Configure the PolicyVerify Operations ERS5500 Create the policyName m1 Verify Classifier and Classifier Block ConfigurationERS5500-24T#show qos classifier-block Verify Policy Configuration Verify that the QoS Policy IP ACL, Dhcp Snooping, ARP Inspection, and Source Guard 12.3.1 ERS5500 ConfigurationERS5500 Add IP address to Vlan 700 and enable Ospf ERS5500 Enable ARP-Inspection for VLAN’s 110 Verify DHCP-Snooping ERS5500 Assign the IP-ACL’s to portsVID Verify ARP InspectionVerify IP Source Guard Verify ACL ConfigurationNN48500-559 NN48500-559 ERS5500-24T#show qos acl-assign TCP Port Range Configuration Example 3 Port Range Using ACL or PolicyERS5500 Create IP elements for UDP port range Configuration Using PoliciesConfigure the Policies ERS5500 Remark all other traffic to Bronze Configuration Using IP-ACL’sCreate Policy 12.5.1 ERS5500 Configuration Using PoliciesERS5500 Assign the L2-ACL’s to ports 12.5.2 ERS5500 Configuration Using IP-ACL’sERS5500 Pass all other traffic with standard CoS 12.6.1 ERS5500 Configuration Using Policies Configuration Example 5 L2 and L3 ClassificationERS5500 Add L2 elements for Vlan 110 Configure Classifier and Classifier BlocksDscp Mapping via Un-restricted Port Role 12.7.1 ERS5500 ConfigurationPolicy Configuration ACL ConfigurationID ID View the Queue AssignmentsVerify Shape Rate Configuration Configuration Example 7 Interface ShapingEnable Shaping on Port Reference Documentation Software BaselineContact us