DETAILED STEPS
Step 1 configure
Example:
RP/0/RSP0/CPU0:router# configure
Enters the Global Configuration mode.
Step 2 l2vpn
Example:
RP/0/RSP0/CPU0:router(config)# l2vpn
Enters L2VPN configuration mode.
Step 3 load-balancing flow {src-dst-mac | src-dst-ip}
Example:
RP/0/RSP0/CPU0:router(config-l2vpn)# load-balancing flow src-dst-ip
Enables flow based load balancing.
• src-dst-mac—Uses source and destination MAC addresses for hashing.
• src-dst-ip—Uses source and destination IP addresses for hashing.
It is recommended to use the load-balancing flow command with the src-dst-ip keyword.
Note
Step 4 pw-class { class - name }
Example:
RP/0/RSP0/CPU0:router(config-l2vpn)# pw-class class1
Associates the pseudowire class with this pseudowire.
Step 5 encapsulation mpls
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-pwc)# encapsulation mpls
Configures the pseudowire encapsulation to MPLS.
Step 6 load-balancing flow-label { both | code | receive | transmit } [ static ]
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-pwc-mpls)# load-balancing flow-label both
Enables load-balancing on ECMPs. Also, enables the imposition and disposition of flow labels for the pseudowire.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
290
Implementing Multipoint Layer 2 Services
Enabling Load Balancing with ECMP and FAT PW for VPLS