Configuring a Hard-Pipe VPWS PW

Configuring a hard-pipe VPWS PW to carry leased line services of high-value customers implements P2P services over the hard pipe.

Context

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.

Procedure

  1. Enable MPLS L2VPN.
    1. Run system-view

      The system view is displayed.

    2. Run mpls l2vpn

      MPLS L2VPN is enabled.

    3. Run commit

      The configuration is committed.

    4. Run quit

      Return to the system view.

  2. Create a tunnel policy.
    1. Run tunnel-policy policy-name

      A tunnel policy is created, and the tunnel policy view is displayed.

    2. Run tunnel binding destination dest-ip-address te { tunnel-name | tunnel-type tunnel-number } & <1-32> [ ignore-destination-check ] [ down-switch | include-ldp ]

      The TE tunnel to be bound is specified in the tunnel policy.

    3. Run commit

      The configuration is committed.

    4. Run quit

      Return to the system view.

  3. Configure a hard-pipe VPWS PW.

    Hard pipe only applies to static VPWS PWs. Determine which procedure to take based on the PW type:
    • Static SS-PW
      1. Run interface interface-type interface-number

        The AC interface view is displayed.

      2. Run either of the following commands to create an SVC based on the AC interface type:
        • 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 ] ] *
      3. Run either of the following commands to configure hard pipe based on the AC interface type:
        • 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 ]
      4. Run commit

        The configuration is committed.

      5. Run quit

        Return to the system view.

    • Static MS-PW
      1. 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.

      2. 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.

      3. Run commit

        The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >