Configuring a VLL instance

Prior to completing the following task, the Ethernet logical interface and pseudowire profiles must be created. There is an example at the end of this task that shows all the steps in order.
You can configure a VLL instance by completing the following task.
  1. From privileged EXEC mode, enter global configuration mode.
    device# configure terminal
    
  2. Create a point-to-point bridge domain to use VLL services.
    device(config)# bridge-domain 3 p2p
    
    In this example, bridge domain 3 is created as a point-to-point service. By default, the bridge-domain service type is multipoint.
  3. Configure a virtual connection identifier for the bridge domain.
    device(config-bridge-domain-3)# vc-id 500
    
  4. Bind the logical interfaces for attachment circuit endpoints to the bridge domain.
    device(config-bridge-domain-3)# logical-interface ethernet 0/5.15
    
    In this example, the Ethernet logical interface 0/5.15 is bound to bridge domain 3.
  5. Configure peer IP addresses to create pseudowire (PW) endpoints.
    device(config-bridge-domain-3)# peer 10.10.10.10
    
  6. Configure a PW profile under the bridge domain.
    device(config-bridge-domain-3)# pw-profile to-mpls-nw
    
    The following example configures a PW profile 2 under bridge domain 3.
  7. Repeat this configuration on the other peer device with appropriate parameters.
  8. Enter Privileged EXEC mode.
    device(config-bridge-domain-3)# end
    
  9. (Optional) Display information about the configured VLL instance.
    device# show bridge-domain 3
    
    Bridge-domain Type: P2P , VC-ID: 3
    Number of configured end-points:2 , Number of Active end-points: 2
    VE if-indx: 0, Local switching: FALSE, bpdu-drop-enable: FALSE
    PW-profile: default, mac-limit: 0
    VLAN: 3, Tagged ports: 1(1 up), Un-tagged ports: 0 (0 up)
    Tagged Ports: eth0/5.15
    Un-tagged Ports:
    Total VLL peers: 1 (1 Operational):
    VC id: 3, Peer address: 10.10.10.10, State: Operational, uptime: 18 sec
    Load-balance: True , Cos Enabled: False,
    Tunnel cnt: 4
    rsvp p105 (cos_enable:Falsecos_value:0)
    rsvp p106 (cos_enable:Falsecos_value:0)
    rsvp p107 (cos_enable:Falsecos_value:0)
    rsvp p108 (cos_enable:Falsecos_value:0)
    Assigned LSPs count:4 Assigned LSPs:p105 p106 p107 p108
    Local VC lbl: 851968, Remote VC lbl: 985331,
    Local VC MTU: 1600, Remote VC MTU: 1500,
    Local VC-Type: 5, Remote VC-Type: 5
    

The following example shows the creation of a logical interface and a pseudowire profile in addition to the bridge domain and VLL instance configuration.

device# configure terminal
device(config)# interface ethernet 0/5
device(conf-if-eth-0/5)# switchport
device(conf-if-eth-0/5)# switchport mode trunk
device(conf-if-eth-0/5)# switchport trunk tag native-vlan
device(conf-if-eth-0/5)# shutdown
device(conf-if-eth-0/5)# logical-interface ethernet 1/5.15
device(conf-if-eth-lif-0/5.15)# vlan 200
device(conf-if-eth-lif-0/5.15)# exit
device(conf-if-eth-0/5)# exit
device(config)# pw-profile to-mpls-nw
device(config-pw-profile-to-mpls-nw)# mtu 1600
device(config-pw-profile-to-mpls-nw)# mtu-enforce true vc-mode tag
device(config-pw-profile-to-mpls-nw)# exit
device(config)# bridge-domain 3 p2p
device(config-bridge-domain-3)# vc-id 500
device(config-bridge-domain-3)# logical-interface ethernet 0/5.15
device(config-bridge-domain-3)# peer 10.10.10.10
device(config-bridge-domain-5)# pw-profile to-mpls-nw