Network requirements, Configuration procedure, Qppb configuration example in an ipv6 network – H3C Technologies H3C S10500 Series Switches User Manual
Page 90
82
QPPB configuration example in an IPv6 network
Network requirements
As shown in
, all routers run BGP. Device B receives routes, sets the QPPB IP precedence, and
uses the QoS policy to limit the traffic from Device B to Device A to 512 kbps.
Figure 26 Network diagram for QPPB configuration in an IPv6 network
Configuration procedure
1.
Enable IPv6 globally, and configure IP addresses for each interface (omitted)
2.
Configure Device A
# Configure BGP.
[DeviceA] bgp 1000
[DeviceA-bgp] ipv6-family
[DeviceA-bgp-af-ipv6] peer 168::2 as-number 2000
[DeviceA-bgp-af-ipv6] network 1:: 64
[DeviceA-bgp-af-ipv6] quit
[DeviceA-bgp] quit
3.
Configure Device B
# Configure BGP.
[DeviceB] bgp 2000
[DeviceB-bgp] ipv6-family
[DeviceB-bgp-af-ipv6] peer 168::1 as-number 1000
[DeviceB-bgp-af-ipv6] peer 168::1 route-policy qppb import
[DeviceB-bgp-af-ipv6] network 2:: 64
[DeviceB-bgp-af-ipv6] quit
[DeviceB-bgp] quit
# Configure a routing policy.
[DeviceB] route-policy qppb permit node 0
[DeviceB-route-policy] apply ip-precedence 4
[DeviceB-route-policy] quit
# Configure a QoS policy.
[DeviceB] traffic classifier qppb
[DeviceB-classifier-qppb] if-match ip-precedence 4
[DeviceB-classifier-qppb] quit
[DeviceB] traffic behavior qppb
[DeviceB-behavior-qppb] car cir 512 green pass red discard