Information Technology Reference
In-Depth Information
Figure 4-9
Example of QoS Policy Propagation
AS 100
172.16.0.0/16
AS 200
AS 300
FastEthernet
10/0
GigabitEthernet
6/0
R1
R2
R3
R4
Example 4-31 shows a sample BGP configuration on R3. The router number is used as the
host address. The route map Set-policy sets the FIB QoS-group ID to 2 for prefixes
matching the community 100:200, which is tagged for 172.16.0.0/16 by R2.
Example 4-31 Sample BGP Configuration on R3
router bgp 100
table-map Set-policy
neighbor 192.168.23.2 remote-as 100
neighbor 192.168.34.4 remote-as 300
!
ip community-list 1 permit 100:200
!
route-map Set-policy permit 10
match community 1
set ip qos-group 2
Examples 4-32 and 4-33 show the IP RIB and FIB entries, respectively. Note that prefix
172.16.0.0/16 is now set with qos-group 2.
Example 4-32 IP RIB Entry for 172.16.0.0
R3#show ip route 172.16.0.0
Routing entry for 172.16.0.0/16
Known via "bgp 200", distance 200, metric 0, qos-group 2, type internal
Last update from 192.168.23.2 00:32:34 ago
Routing Descriptor Blocks:
* 192.168.23.2, from 192.168.23.2, 00:32:34 ago
Route metric is 0, traffic share count is 1
AS Hops 1, BGP network version 0
qos-group 2
 
Search WWH ::




Custom Search