Configuring a hard-pipe VPWS PW to carry leased line services of high-value customers implements P2P services over the hard pipe.
VPWS enables carriers to provide L2VPN services on an IP hard pipe network over different media, implementing P2P services over the hard pipe and enhancing leased line services of high-value customers.
Run interface interface-type interface-number
The AC interface view is displayed.
If the AC interface is an Ethernet interface, run:
mpls static-l2vc { { destination ip-address | pw-template pw-template-name vc-id } * | destination ip-address [ vc-id ] } transmit-vpn-label transmit-label-value receive-vpn-label receive-label-value [ tunnel-policy tnl-policy-name [ endpoint endpoint-address color color-value ] | access-port | [ control-word | no-control-word ] | [ raw | tagged | ip-interworking ] ] *
If the AC interface is an Ethernet interface, run:
mpls l2vpn hard-pipe bandwidth bandwidth [ burst-time burst-time ] [ expand-ratio expand-ratio ]
If the AC interface is a non-Ethernet interface, run:
mpls l2vpn hard-pipe [ expand-ratio expand-ratio ]
Run commit
The configuration is committed.
Run quit
Return to the system view.
Run mpls switch-l2vc [ instance-name instance-name ] ip-address vc-id trans trans-label recv received-label [ tunnel-policy policy-name ] [ oam-packet pop flow-label ] between ip-address vc-id trans trans-label recv received-label [ tunnel-policy policy-name ] [ oam-packet pop flow-label ] encapsulation { cesopsn-basic | satop-e1 | ethernet | ip-interworking | ip-layer2 | satop-e3 | satop-t1 | vlan } [ control-word | no-control-word ]
A static MS-PW is configured.
Run mpls switch-l2vc hard-pipe peer-ip vc-id { ethernet | ip-interworking | ip-layer2 | satop-e1 | satop-e3 | satop-t1 | vlan } hard-pipe [ bandwidth bandwidth expand-ratio expand-ratio ]
Hard pipe is configured for the static MS-PW.
Run commit
The configuration is committed.