Cisco 10000 User Manual

Page 475

Advertising
background image

20-13

Cisco 10000 Series Router Software Configuration Guide

OL-2226-23

Chapter 20 Configuring Gigabit EtherChannel Features

Configuring 8 Member Links per GEC Bundle

Configuration Example for Using the VLAN Group Feature to Apply QoS

Assume that the following configurations need to be performed on a port channel bundle

Police ingress traffic for VLAN 2 at 100 mbps

Police ingress traffic for VLAN 3 at 150 mbps

Shape egress traffic for VLAN 3 at 50 mbps

Shape egress traffic for VLAN 2 & 4 together at 150 mbps

Step 1

Create a port-channel bundle as follows:

interface port-channel 1

load-balancing vlan

no sh

Step 2

Create VLAN subinterfaces as follows:

interface port-channel 1.1

encapsulation dot1q 2 primary gig2/0/0 secondary gig3/0/0

ip add 3.0.0.1 255.255.255.0

no sh

interface port-channel 1.2

encapsulation dot1q 3 primary gig2/0/0 secondary gig3/0/0

ip add 3.1.0.1 255.255.255.0

no sh

interface port-channel 1.3

encapsulation dot1q 4 primary gig2/0/0 secondary gig3/0/0

ip add 3.2.0.1 255.255.255.0

no sh

Step 3

Create match-any vlan class-maps as follows:

Class-map match-any vlan_2

Match vlan 2

Class-map match-any vlan_3

Match vlan 3

Class-map match-any vlan_4

Match vlan 4

Class-map match-any vlan_2_4

Match vlan 2 4

Step 4

Create policy-maps as follows:

Policy-map mega_ingress

Class vlan_2

Police 100 mbps

Class vlan_3

Police 150 mbps

Policy-map mega_egress

Class vlan_3

Shape 50 mpbs

Class vlan_2_4

Shape 150 mbps

Step 5

Apply the policy on the port-channel bundle

Advertising