peer exp-mode

Function

The peer exp-mode command specifies the mode in which a BGP label inherits the QoS priority in the outer tunnel label carried in packets.

The undo peer exp-mode command restores the default mode.

The default QoS priority inheriting mode varies according to the outer MPLS tunnel type:

  • LDP: By default, the BGP label inherits the QoS priority carried in the outer MPLS tunnel label.
  • TE: By default, the BGP label does not inherit the QoS priority carried in the outer MPLS tunnel label.
  • LDP over TE: By default, the BGP label inherits the QoS priority carried in the outer MPLS tunnel label.

Format

peer ipv4-address exp-mode { pipe | uniform }

undo peer ipv4-address exp-mode

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a BGP peer.

The value is in dotted decimal notation.

pipe

Allows the BGP label to use its own QoS priority.

-

uniform

Allows the BGP label to inherit the QoS priority carried in the outer MPLS tunnel label.

-

Views

BGP-IPv4 unicast address family view, BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In the inter-AS seamless MPLS or inter-AS seamless MPLS+HVPN networking, each packet arriving at a CORE ASBR or AGG ASBR carries an inner private label, a BGP LSP label, and an outer MPLS tunnel label. The core ASBR and AGG ASBR remove outer MPLS tunnel labels from packets before sending the packets to each other. If the BGP LSP label in a packet carries a QoS priority different from that in the outer MPLS tunnel label in the packet, run the peer exp-mode command on the core ASBR or AGG ASBR to determine whether the BGP LSP label inherits the QoS priority carried in the outer MPLS tunnel label to be removed.

Example

# Allow the BGP label to inherit the QoS priority carried in the outer MPLS tunnel label.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 10.2.3.4 as-number 200
[*HUAWEI-bgp] peer 10.2.3.4 exp-mode uniform
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >