Cisco Systems 10000 Network Router User Manual


 
23-14
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 23 Configuring Gigabit EtherChannel Features
Configuring VLAN-Based Load Balancing
Note The primary and secondary links must be configured. If primary and secondary links are not specified
during the configuration of the VLAN-based Load Balancing feature, by default, the primary and
secondary links are selected. When default links are chosen, equal VLAN distribution across links does
not occur. If only a primary link is specified, by default, a secondary link that is different than the
specified primary is selected.
The system allows the user to see the type of port channel load-balancing method that is enabled, using
the show ether-channel load-balancing command. The output of the show vlans command displays
information such as the mapping of VLANs, the member link (primary or secondary) that is currently
used by the traffic for a given VLAN, and the VLANs for which a given member-link is active.
Note The port-channel load-balancing vlan-manual command applies the VLAN-manual load-balancing
method globally to all GEC interfaces.
Configuration Example
This section provides the following configuration examples:
Configuration Example of VLAN-Based Load Balancing, page 23-14
Configuration Example for Applying VLAN QoS on GEC Bundle Subinterfaces, page 23-15
Configuration Example for Using the VLAN Group Feature to Apply QoS, page 23-16
Note When service policy is applied to port channel’s main or subinterface, changing the load balancing mode
from VLAN to flow is not supported.
Configuration Example of VLAN-Based Load Balancing
Example 23-5 shows how to configure the VLAN-based Load Balancing feature on a GEC subinterface:
Step 8
router(config-subif)# encapsulation dot1Q
vlan-id primary member-link secondary
member-link
Enables IEEE 802.1Q encapsulation of
traffic on a specified subinterface in a
VLAN. Specify the VLAN identifier,
primary and secondary links.
Note The primary and secondary links
must be a part of the port channel so
that traffic can be forwarded to these
links. If any of primary or secondary
links are not part of the port channel
at any state, the VLAN sub-interface
gets in a suspended state and traffic
is not forwarded.
Step 9
router(config-subif)# end
Exits to the global configuration mode.
Command Purpose