Configuring the Pipe/Short Pipe Mode for VPNs

This section describes how to configure the DiffServ mode for VPNs so that VPN packets can be scheduled to different queues based on their service classes.

Usage Scenario

  1. This feature can be deployed on the ingress PE, egress PE, or both.
    • If both BA classification and the Pipe mode are configured on the user-side interface of the ingress PE, the Pipe mode takes effect.

    • If the DiffServ mode is set to Pipe on the PE, BA classification is not required.

    • If the DiffServ mode is set to Uniform on the PE, BA classification also needs to be configured.

  2. The DiffServ mode takes effect only on the L3VPN that meets the following conditions:
    • When the DiffServ mode is set to Pipe/Short Pipe on the egress PE and BA classification is configured on the outbound interface in the downstream direction, you must run the qos phb disable command on the outbound interface of the egress PE.
    • When the DiffServ mode is set to Uniform on the egress PE and BA classification is configured on the outbound interface in the downstream direction, you do not need to run the qos phb disable command on the outbound interface of the egress PE.
  3. To allow the P node to schedule packets according to their service classes, you are also advised to configure BA classification on the P node in the following situations:
    • The performance of the P node is limited, and congestion may occur.
    • LDP over TE is implemented on the P node. The TE tunnel interface resides on the P node, and the tunnel is configured with a priority.

Pre-configuration Tasks

Before configuring the Pipe/Short Pipe mode for VPNs, complete the following tasks:

  • Configure an MPLS TE tunnel between two PEs. For details, see "MPLS TE Configuration" in HUAWEI NetEngine 8000 F Series Router Configuration Guide - MPLS.

  • Configure L2VPN or L3VPN services as required. For details, see HUAWEI NetEngine 8000 F Series Router Configuration Guide - VPN.

  • Configure BA or MF classification on the user-side interface of the ingress PE. For details, see "Class-based QoS Configuration" in HUAWEI NetEngine 8000 F Series Router Configuration Guide - QoS.

Procedure

  • Configure an L3VPN DiffServ mode.

    1. Run system-view

      The system view is displayed.

    2. Run ip vpn-instance vpn-instance-name

      The VPN instance view is displayed.

  • Configure a VLL DiffServ mode.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number
      The user-side interface view is displayed.

      This interface is the user-side interface to which an L2VPN is bound.

  • Configure a VPLS DiffServ mode.

    1. Run system-view

      The system view is displayed.

    2. Run vsi vsi-name

      The VSI view is displayed.

  • Configure an EVPN DiffServ mode.

    • Configure a DiffServ mode in the EVPN instance view and BD-EVPN instance view.
      1. Run system-view

        The system view is displayed.

      2. Configure an EVPN instance. For details, see Configuring an EVPN Instance.
      3. Run diffserv-mode { pipe service-class color | short-pipe service-class color [ domain ds-name ] | uniform } or diffserv-mode ingress { uniform | pipe service-class | short-pipe service-class } egress { uniform | pipe | short-pipe [ trust { inner-vlan-8021p | ip-dscp } ] [ domain ds-name ] }

        An EVPN DiffServ mode is configured.

    • Configure a DiffServ mode in the MPLS mode view of the EVPL instance.
      1. Run system-view

        The system view is displayed.

      2. Configure an EVPL instance. For details, see Configuring an EVPL Instance.
    • Configure a DiffServ mode in the SRv6 view of the EVPL instance.
      1. Run system-view

        The system view is displayed.

      2. Configure an EVPL instance. For details, see Configuring an EVPL Instance.

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