Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring VLAN Tag Based Subscriber Load Balancing over LAG Bundle

    You can configure the scheduler hierarchy in the static QoS profile to perform subscriber load balancing on the basis of VLAN tag feature.

    To configure VLAN tag based load balancing over LAG bundle:

    1. Create QoS profiles and configure the queues, nodes, and tags.
      host1(config)#qos-profile vlan-qos-profile-10Mbhost1(config-qos-profile)#vlan queue traffic-class best-efforthost1(config-qos-profile)#vlan node scheduler-profile 10Mbhost1(config-qos-profile)#vlan load-distribution-tag 1host1(config-qos-profile)#exithost1(config)#qos-profile vlan-qos-profile-512Mbhost1(config-qos-profile)#vlan queue traffic-class best-efforthost1(config-qos-profile)#vlan node scheduler-profile 512Mbhost1(config-qos-profile)#vlan load-distribution-tag 2host1(config-qos-profile)#exithost1(config)#qos-profile vlan-qos-profile-100Mbhost1(config-qos-profile)#vlan queue traffic-class best-efforthost1(config-qos-profile)#vlan node scheduler-profile 100Mbhost1(config-qos-profile)#vlan load-distribution-tag 3host1(config-qos-profile)#end
    2. (Optional) Verify the new QoS profile configurations.
      host1#show qos-profile vlan-qos-profile-10Mb
      qos-profile vlan-qos-profile-10Mb: 
      vlan load distribution: tag 1
      t-class interface rule    traffic   scheduler  queue   drop   statistics
       group    type    type     class     profile  profile profile  profile
      ------- --------- ----- ----------- --------- ------- ------- ----------
              vlan      node              10Mb
              vlan      queue best-effort default   default default default
      
      host1#show qos-profile vlan-qos-profile-512Mb
      qos-profile vlan-qos-profile-512Mb: 
      vlan load distribution: tag 2
      t-class interface rule    traffic   scheduler  queue   drop   statistics
       group    type    type     class     profile  profile profile  profile
      ------- --------- ----- ----------- --------- ------- ------- ----------
              vlan      node              512Mb
              vlan      queue best-effort default   default default default
      
      host1#show qos-profile vlan-qos-profile-100Mb
      qos-profile vlan-qos-profile-100Mb: 
      vlan load distribution: tag 3
      t-class interface rule    traffic   scheduler  queue   drop   statistics
       group    type    type     class     profile  profile profile  profile
      ------- --------- ----- ----------- --------- ------- ------- ----------
              vlan      node              100Mb
              vlan      queue best-effort default   default default default
      
    3. Create a LAG interface and assign member interfaces.
      host1#configure terminalhost1(config)#interface lag 1host1(config-if)#member-interface GigabitEthernet 2/0/2host1(config-if)#member-interface GigabitEthernet 2/0/3
    4. Configure the encapsulation method for the LAG interface.
      host1(config-if)#encapsulation vlan
    5. Configure LAG subinterfaces and attach the QoS profiles to the subinterfaces.
      host1(config-if)#interface lag 1.1host1(config-subif)#qos-profile vlan-qos-profile-512Mbhost1(config-subif)#vlan id 1host1(config-subif)#ip address 1.1.1.1 255.255.255.0host1(config-subif)#exithost1(config-if)#interface lag 1.2host1(config-subif)#qos-profile vlan-qos-profile-10Mbhost1(config-subif)#vlan id 2host1(config-subif)#ip address 1.2.1.1 255.255.255.0host1(config-subif)#exithost1(config-if)#interface lag 1.3host1(config-subif)#qos-profile vlan-qos-profile-512Mbhost1(config-subif)#vlan id 3host1(config-subif)#ip address 1.3.1.1 255.255.254.0host1(config-subif)#exithost1(config-if)#interface lag 1.4host1(config-subif)#qos-profile vlan-qos-profile-10Mbhost1(config-subif)#vlan id 4host1(config-subif)#ip address 1.4.1.1 255.255.254.0host1(config-subif)#exithost1(config-if)#interface lag 1.5host1(config-subif)#qos-profile vlan-qos-profile-100Mbhost1(config-subif)#vlan id 5host1(config-subif)#ip address 1.5.1.1 255.255.254.0host1(config-subif)#end
    6. (Optional) Display the scheduler hierarchy for the LAG member-links.
      host1#show qos scheduler-hierarchy inter gi 2/0/2
      Scheduler hierarchy for the default traffic-class group
                                                                       assured
                                                               shared   rate
                                                      shaping  shaping   or
          interface               resource             rate     rate   weight
      ----------------- ---------------------------- --------- ------- -------
      ethernet Eth2/0/2 ethernet port                                    wgt 8
      ethernet Eth2/0/2   ethernet queue best-effort                     wgt 8
      vlan lag1.1         vlan node                  512000000           wgt 8
      vlan lag1.1           vlan queue best-effort                       wgt 8
      vlan lag1.2         vlan node                   10000000           wgt 8
      vlan lag1.2           vlan queue best-effort                       wgt 8
      vlan lag1.5         vlan node                  100000000           wgt 8
      vlan lag1.5           vlan queue best-effort                       wgt 8
      
      host1#show qos scheduler-hierarchy inter gi 2/0/3
      Scheduler hierarchy for the default traffic-class group
                                                                       assured
                                                               shared   rate
                                                      shaping  shaping   or
          interface               resource             rate     rate   weight
      ----------------- ---------------------------- --------- ------- -------
      ethernet Eth2/0/3 ethernet port                                    wgt 8
      ethernet Eth2/0/3   ethernet queue best-effort                     wgt 8
      vlan lag1.3         vlan node                  512000000           wgt 8
      vlan lag1.3           vlan queue best-effort                       wgt 8
      vlan lag1.4         vlan node                   10000000           wgt 8
      vlan lag1.4           vlan queue best-effort                       wgt 8
      

    Published: 2014-08-11