Configuring PW flow label on a bridge domain

Prior to completing the following task, the bridge domain on which flow label is to be enabled must be configured. There is an example at the end of this task that shows all the steps in order.

Flow label configuration improves load balancing of PW traffic over an MPLS network, particularly in the context of PWs that transport high volumes of traffic that are comprised of multiple individual traffic flows (for example, the same source-destination pair for a Transport Control Protocol (TCP) connection is an individual traffic flow).

Perform the following task to configure PW flow label on a bridge domain.

  1. From privileged EXEC mode, enter global configuration mode.
    device# configure terminal
  2. Enter bridge domain configuration mode. The following example shows how to enter configuration mode for bridge domain 502.
    device(config)# bridge-domain 502
  3. Enable flow label for the PW-related peer devices that are configured on the bridge domain.
    device(config-bridge-domain-502)# peer 10.9.9.9 flow-label 
  4. Verify the configuration.
    show bridge-domain 502
    
    Bridge-domain 502 
    ------------------------------- 
    Bridge-domain Type: MP, VC-ID: 502 MCT Enabled: FALSE  
    Number of configured end-points:  3, Number of Active end-points: 1 
    VE if-indx: 0, Local switching: TRUE, bpdu-drop-enable: TRUE 
    MAC Withdrawal: Disabled 
    PW-profile: default, mac-limit: 0 
    VLAN: 502, Tagged ports: 1(1 up), Un-tagged ports: 0 (0 up) 
    Tagged Ports: eth0/5.502  
    Un-tagged Ports:  
    Total VPLS peers: 2 (0 Operational): 
    VC id: 502, Peer address: 10.9.9.9, State: Wait for LSP tunnel to Peer, uptime: -  
    Load-balance: True, Cos Enabled: False,  
    Tunnel cnt: 0 
    Assigned LSPs count:2 Assigned LSPs:q502 q752  
    Local VC lbl: 0, Remote VC lbl: 0,  
    Local VC MTU: 1500, Remote VC MTU: 0,  
    Local VC-Type: 5, Remote VC-Type: 0  
    Local PW preferential Status: Active, Remote PW preferential Status: Active 
    Local Flow Label Tx: Enabled, Local Flow Label Rx: Enabled 
    Remote Flow Label Tx: Enabled, Remote Flow Label Rx: Enabled 
    Local Control Word: Enabled, Remote Control Word: Enabled 
    

The following example shows how to configure a bridge domain on which flow label is enabled for the PW-related peers.

device# configure terminal
device(config)# bridge-domain 5
device(config-bridge-domain-5)# vc-id 8
device(config-bridge-domain-5)# logical-interface ethernet 0/5.15
device(config-bridge-domain-5)# logical-interface port-channel 2.200
device(config-bridge-domain-5)# peer 10.15.15.15 load-balance flow-label
device(config-bridge-domain-5)# peer 10.12.12.12 flow-label
device(config-bridge-domain-5)# peer 10.12.12.12 lsp lsp1 lsp2 
device(config-bridge-domain-5)# local-switching
device(config-bridge-domain-5)# bpdu-drop-enable
device(config-bridge-domain-5)# 
device(config-pw-pw_example)# exit