Configuring PW control word on a bridge domain

Configuring control word for pseudowire-related peer devices in a bridge domain enables all pseudowire (PW) packets to follow the same path over an MPLS network.

Before you begin

Before completing the following task, the relevant bridge domain must be configured. An example is provided at the end of this task that shows all the steps in order.

About this task

PW control word configuration enables all packets for a specific PW to follow the same path over the MPLS network supporting, for example, the optimal transport of Ethernet Protocol Data Units (PDUs) over the network.

Perform the following task to configure PW control word for a peer device in a bridge domain.

Procedure

  1. Enable control word for the PW profile.
    device# configure terminal
    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 control word for a PW-related peer device (10.9.9.9) that is configured on the bridge domain.
      device(config-bridge-domain-502)# peer 10.9.9.9 control-word 
  2. Return to privileged EXEC mode.
    device(config-pw-profile-pw_example)# end
  3. 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 
    

Example

The following example shows how to configure a bridge domain on which control word is enabled for a PW-related peer.

device(config)# bridge-domain 502
device(config-bridge-domain-502)# vc-id 8
device(config-bridge-domain-502)# logical-interface ethernet 0/5.15
device(config-bridge-domain-502)# logical-interface port-channel 2.200
device(config-bridge-domain-502)# peer 10.9.9.9 load-balance control-word
device(config-bridge-domain-502)# peer 10.12.12.12 control-word
device(config-bridge-domain-502)# peer 10.12.12.12 lsp lsp1 lsp2
device(config-bridge-domain-502)# local-switching
device(config-bridge-domain-502)# bpdu-drop-enable
device(config-bridge-domain-502)# 
device(config-pw-pw_example)# exit