Chapter 23
Configuring Gigabit EtherChannel Features
Example 23-5 Configuring The VLAN-Based Load Balancing Feature
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
interface port-channel 1
load-balancing vlan
lacp max-bundle 2
exit
!
interface gigabitethernet2/1/0
no ip address
channel-group 1 mode active
exit
!
interface gigabitethernet8/0/0
no ip address
channel-group 1 mode active
exit
!
interface port-channel 1.1
encapsulation dot1q 2 primary gigabitethernet2/1/0 secondary gigabitethernet8/0/0
ip address 3.0.0.1 255.255.255.0
no sh
Configuration Example for Applying VLAN QoS on GEC Bundle Subinterfaces
Example 23-6
Example 23-6 Applying VLAN QoS on GEC Bundle Subinterfaces
Class-map match-any dscp_20_30
Class-map match-any dscp_40
Policy-map police_dscp
Class dscp_20_30
Class dscp_40
Policy-map customer_A
Class class-default
Policy-map customer_B
Class class-default
Interface Port-channel 1.1
Interface Port-channel 1.2
OL-2226-23
shows how VLAN QoS is applied on GEC bundle subinterfaces:
Match dscp 20 30
Match dscp 40
Police 50 3000 3000 conform-action transmit exceed-action drop
Set ip dscp af22
Police 10 3000 3000 conform-action transmit exceed-action drop
Police 100 mpbs
service-policy police_dscp
Police 150 mbps
Service-policy police_dscp
Service-policy input customer_A
encapsulation dot1q 1 primary gigabitethernet2/1/0 secondary gigabitethernet8/0/0
Service-policy input customer_B
Configuring VLAN-Based Load Balancing
Cisco 10000 Series Router Software Configuration Guide
23-15