Configuring a VPLS instance

A virtual private LAN Service (VPLS) instance provides multipoint LAN services.

Prior to completing the following task, the underlying L3 configuration of MPLS tunnels must be completed. In addition, the logical interfaces to be attached the VPLS instance (bridge domain) should be configured. For information on configuring logical interfaces, refer to Logical Interfaces.
You can configure a VPLS instance by completing the following task.
  1. From privileged EXEC mode, enter global configuration mode.
    device# configure terminal
    
  2. Create a multipoint bridge domain.
    device(config)# bridge-domain 5
    
    By default, the bridge-domain service type is multipoint. In this example, bridge domain 5 is configured as a multipoint service.
  3. Configure a virtual connection identifier for the bridge domain.
    device(config-bridge-domain-5)# vc-id 8
    
  4. Note

    Note

    Logical interfaces representing bridge-domain endpoints must be created before they can be bound to a bridge domain.
    Bind the logical interfaces for attachment circuit endpoints to the bridge domain.
    device(config-bridge-domain-5)# logical-interface ethernet 0/6.400
    
    In this example, Ethernet logical interface 0/6.400 is bound to bridge domain 5.
  5. Repeat Step 4 to bind other logical interfaces for attachment circuit endpoints to the bridge domain.
    device(config-bridge-domain-5)# logical-interface port-channel 2.200
    
    In this example, port channel logical interface 2.200 is bound to bridge domain 5.
  6. Configure peer IP addresses to create pseudowire (PW) endpoints.
    device(config-bridge-domain-5)# peer 10.15.15.15 load-balance
    
    In this example, a peer IP address of 10.15.15.15 is configured under bridge domain 5 and specifies load balancing.
  7. Repeat Step 6 to configure more peer IP addresses to create PW endpoints.
    device(config-bridge-domain-5)# peer 10.12.12.12 lsp lsp1 lsp2
    
    In this example, a peer IP address of 10.12.12.12 under bridge domain 5 and specifies two label-switched paths (lsp1 and lsp2).
  8. (Optional) Configure local switching for bridge domain 5.
    device(config-bridge-domain-5)# local-switching
    
  9. (Optional) Enable dropping L2 bridge protocol data units (BPDUs) for bridge domain 5.
    device(config-bridge-domain-5)# bpdu-drop-enable
    
  10. (Optional) Configure a PW profile under the bridge domain 5.
    device(config-bridge-domain-5)# pw-profile 2
    

Example

The following example creates bridge domain 5 and configures virtual connection identifier 8 for the bridge domain. It binds ethernet and port-channel logical interfaces to the bridge domain and configures peer IP addresses under the domain. It configures local switching, enables dropping of L2 BPDUs, and configures a PW profile for the domain.

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/6.400
device(config-bridge-domain-5)# logical-interface port-channel 2.200
device(config-bridge-domain-5)# peer 10.15.15.15 load-balance
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)# pw-profile 2