< Home

Setting the DiffServ Mode Supported by MPLS L2VPN

Context

To provide QoS guarantee for VPN traffic on an MPLS VPN network, set the DiffServ mode according to your needs.
  • If you want to differentiate priorities of different services in a VPN, set the DiffServ mode to uniform. You can also set the DiffServ mode to pipe or short pipe, but you need to specify the DiffServ domain in which the mode applies.

  • If you want to differentiate priorities of services in different VPNs but not priorities of services in a VPN, set the DiffServ mode to pipe or short pipe and specify EXP values in private labels.

If you do not want to change priorities carried in original packets, you are advised to set the DiffServ mode to pipe or short pipe. In uniform and pipe modes, the egress node determines the per-hop behavior (PHB) based on the EXP priorities of packets. In short pipe mode, the egress node determines the PHB based on the 802.1p priorities of packets.

Procedure

  • In VLL networking
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The AC-side interface view is displayed.

    3. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

    4. Run diffserv-mode { pipe { mpls-exp mpls-exp | domain ds-name } | short-pipe [ mpls-exp mpls-exp ] domain ds-name | uniform [ domain ds-name ] }

      The DiffServ mode applied to the VLL network is set.

      By default, the DiffServ mode applied to the VLL network is uniform.

      • If the mpls-qos ingress trust upstream none or mpls-qos egress trust upstream none command is configured, the device on the private network does not perform EXP priority mapping even if you run the diffserv-mode command.

      • When the DiffServ mode is set to uniform on the ingress node, the ingress node performs priority mapping in the DiffServ domain specified by the domain parameter in this command. If the domain parameter is not specified, the ingress node performs priority mapping in the DiffServ domain specified by the mpls-qos ingress trust upstream { ds-name | default } command.

      • In a non-PHP scenario, the egress node performs priority mapping in the DiffServ domain specified by the mpls-qos egress trust upstream { ds-name | default } command. In a PHP scenario, the egress node performs priority mapping in the DiffServ domain specified by the domain parameter in this command. If the domain parameter is not specified, the egress node performs priority mapping in the DiffServ domain specified by the mpls-qos egress trust upstream { ds-name | default } command.

      This command must be run before the VC is set up; otherwise, you must unbind the bound AC interface and bind the AC interface again to make the command take effect.

  • In VPLS networking
    1. Run system-view

      The system view is displayed.

    2. Run vsi vsi-name

      The VSI view is displayed.

    3. Run diffserv-mode { pipe { mpls-exp mpls-exp | domain ds-name } | short-pipe [ mpls-exp mpls-exp ] domain ds-name | uniform [ domain ds-name ] }

      The DiffServ mode applied to the VPLS network is set.

      By default, the DiffServ mode applied to the VPLS network is uniform.

      • If the mpls-qos ingress trust upstream none or mpls-qos egress trust upstream none command is configured, the device on the private network does not perform EXP priority mapping even if you run the diffserv-mode command.

      • When the DiffServ mode is set to uniform on the ingress node, the ingress node performs priority mapping in the DiffServ domain specified by the domain parameter in this command. If the domain parameter is not specified, the ingress node performs priority mapping in the DiffServ domain specified by the mpls-qos ingress trust upstream { ds-name | default } command.

      • In a non-PHP scenario, the egress node performs priority mapping in the DiffServ domain specified by the mpls-qos egress trust upstream { ds-name | default } command. In a PHP scenario, the egress node performs priority mapping in the DiffServ domain specified by the domain parameter in this command. If the domain parameter is not specified, the egress node performs priority mapping in the DiffServ domain specified by the mpls-qos egress trust upstream { ds-name | default } command.

      This command must be configured before the instance takes effect; otherwise, you must enable or disable the VSI to make the configuration take effect.

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