peer exp-mode (BGP view) (group)

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 group-name exp-mode { pipe | uniform }

undo peer group-name exp-mode

Parameters

Parameter Description Value
group-name

Specifies the name of a BGP peer group.

The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

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] group test external
[*HUAWEI-bgp] peer test as-number 200
[*HUAWEI-bgp] peer test exp-mode uniform
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >