A virtual leased line (VLL) instance provides point-to-point (peer) LAN services.
device# configure terminal
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-3)# pw-profile to-mpls-nw
device(config-bridge-domain-3)# end
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