API Guide

Table Of Contents
Creating PVLAN ports.............................................................................................................................................. 612
Creating a Primary VLAN.........................................................................................................................................612
Creating a Community VLAN..................................................................................................................................613
Creating an Isolated VLAN...................................................................................................................................... 614
Private VLAN Configuration Example.........................................................................................................................615
Inspecting the Private VLAN Configuration..............................................................................................................616
Chapter 39: Per-VLAN Spanning Tree Plus (PVST+).................................................................. 618
Protocol Overview...........................................................................................................................................................618
Implementation Information.......................................................................................................................................... 619
Configure Per-VLAN Spanning Tree Plus................................................................................................................. 620
Enabling PVST+...............................................................................................................................................................620
Disabling PVST+..............................................................................................................................................................620
Influencing PVST+ Root Selection.............................................................................................................................. 621
Modifying Global PVST+ Parameters........................................................................................................................ 622
Modifying Interface PVST+ Parameters................................................................................................................... 622
Configuring an EdgePort...............................................................................................................................................623
PVST+ in Multi-Vendor Networks.............................................................................................................................. 624
Enabling PVST+ Extend System ID............................................................................................................................ 624
PVST+ Sample Configurations.................................................................................................................................... 625
Chapter 40: Quality of Service (QoS)........................................................................................ 627
Implementation Information......................................................................................................................................... 629
Port-Based QoS Configurations..................................................................................................................................629
Setting dot1p Priorities for Incoming Traffic......................................................................................................629
Honoring dot1p Priorities on Ingress Traffic.......................................................................................................630
Configuring Port-Based Rate Policing................................................................................................................. 630
Configuring Port-Based Rate Shaping..................................................................................................................631
Policy-Based QoS Configurations...............................................................................................................................632
Classify Traffic...........................................................................................................................................................632
Create a QoS Policy................................................................................................................................................. 635
Create Policy Maps...................................................................................................................................................637
DSCP Color Maps........................................................................................................................................................... 640
Creating a DSCP Color Map...................................................................................................................................640
Displaying DSCP Color Maps.................................................................................................................................. 641
Displaying a DSCP Color Policy Configuration .................................................................................................. 641
Enabling QoS Rate Adjustment................................................................................................................................... 642
Enabling Strict-Priority Queueing............................................................................................................................... 642
Weighted Random Early Detection.............................................................................................................................643
Creating WRED Profiles.......................................................................................................................................... 643
Applying a WRED Profile to Traffic...................................................................................................................... 644
Displaying Default and Configured WRED Profiles........................................................................................... 644
Displaying WRED Drop Statistics.......................................................................................................................... 644
Displaying egress–queue Statistics...................................................................................................................... 645
Pre-Calculating Available QoS CAM Space..............................................................................................................645
Configuring Weights and ECN for WRED ................................................................................................................646
Configuring WRED and ECN Attributes.................................................................................................................... 647
Guidelines for Configuring ECN for Classifying and Color-Marking Packets................................................... 648
Sample configuration to mark non-ecn packets as β€œyellow” with Multiple traffic class..........................648
Contents
19