Qppb Commands; Bgp-Policy - HP HSR6800 Command Reference Manual

Acl and qos
Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

QPPB commands

bgp-policy

Use bgp-policy to enable the QPPB function, which transmits the apply ip-precedence and apply
qos-local-id configuration through BGP routing policies.
Use undo bgp-policy to cancel the configuration.
Syntax
bgp-policy { destination | source } { ip-prec-map | ip-qos-map } *
undo bgp-policy { destination | source } [ ip-prec-map | ip-qos-map ] *
Default
QPPB is disabled.
Views
Interface view
Default command level
2: System level
Parameters
destination: Searches the routing table by destination IP address.
source: Searches the routing table by source IP address.
ip-prec-map: Sets IP precedence for matching packets.
ip-qos-map: Sets a QoS-local ID for matching packets.
Usage guidelines
The bgp-policy command applies to only the incoming traffic.
In an MPLS L3VPN, the bgp-policy command is executed after the QoS features are performed in the
inbound direction of the public network interface of the PE. In any other case, the bgp-policy command
is executed prior to the QoS features.
If the source keyword is specified, the source IP address is used as the destination address for inverse
lookup.
If two bgp-policy commands are executed, one with the source keyword and the other with the
destination keyword, the last command entered applies.
Examples
# Configure interface GigabitEthernet 1/0/1 to get the QoS-local ID by looking up routes based on IP
precedence and source IP address.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] bgp-policy source ip-prec-map ip-qos-map
135

Advertisement

Table of Contents
loading

Table of Contents