Attaching a PW profile to a bridge domain

A pseudowire (PW) profile is applied by attaching it to a bridge domain.

Before it is attached to a bridge domain, the PW profile must be configured.
Perform the following task to attach a PW profile to a bridge domain.
  1. From privileged EXEC mode, enter the global configuration mode.
    device# configure terminal
  2. Enter bridge domain configuration mode.
    device(config)# bridge-domain 501
  3. Configure a PW profile for the bridge domain.
    device(config-bridge-domain-501)# pw-profile pw_example
  4. Return to privileged EXEC mode.
    device(config-bridge-domain-501)# end
  5. Verify the configuration.
    device# show bridge-domain 501
    
    Bridge-domain 501
    -------------------------------
    Bridge-domain Type: MP , VC-ID: 501
    Number of configured end-points:  2 , Number of Active end-points: 2
    VE if-indx: 0, Local switching: TRUE, bpdu-drop-enable: TRUE
    PW-profile: pw_example, mac-limit: 0
    VLAN: 501, Tagged ports: 1(1 up), Un-tagged ports: 0 (0 up)
    Tagged Ports: eth1/6.501 
    Un-tagged Ports: 
    Total VPLS peers: 1 (1 Operational):
    
    VC id: 501, Peer address: 10.9.9.9, State: Operational, uptime: 4 sec           
          Load-balance: True , Cos Enabled: False, 
          Tunnel cnt: 4
          rsvp  p101(cos_enable:False cos_value:0) 
          rsvp  p102(cos_enable:False cos_value:0) 
          rsvp  p103(cos_enable:False cos_value:0) 
          rsvp  p104(cos_enable:False cos_value:0) 
          Assigned LSPs count:4 Assigned LSPs:p101 p102 p103 p104 
          Local VC lbl: 989041, Remote VC lbl: 983040, 
          Local VC MTU: 1500, Remote VC MTU: 1500, 
          Local VC-Type: 5, Remote VC-Type: 5 

Example

The following example shows how to attach a PW profile named pw_example to bridge domain 501.

device# configure terminal
device(config)# bridge-domain 501
device(config-bridge-domain-501)# pw-profile pw_example