Cisco 10000 Series Configuration Manual page 347

Router line card
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Chapter 18
Configuration Examples
Example 3: Quality of Service Policy Propagation Using Border Gateway Protocol
Define the access list.
Router(config)# access-list 69 permit 69.0.0.0
Router B Running Configuration
RouterB(config)# router bgp 10
RouterB(config-router)# neighbor 30.30.30.1 remote-as 30
RouterB(config-router)# neighbor 30.30.30.1 send-community
RouterB(config-router)# neigh 30.30.30.1 route-map send_community out
!
RouterB(config)# ip bgp-community new-format
Match prefix 10 and set community to 60:1.
RouterB(config)# route-map send_community permit 10
RouterB(config-route-ma)# match ip address 10
RouterB(config-route-ma)# set community 60:1
Match prefix 20 and set community to 60:2.
RouterB(config)# route-map send_community permit 20
RouterB(config-route-ma)# match ip address 20
RouterB(config-route-ma)# set community 60:2
Match prefix 30 and set community to 60:3.
RouterB(config)# route-map send_community permit 30
RouterB(config-route-ma)# match ip address 30
RouterB(config-route-ma)# set community 60:3
Match prefix 40 and set community to 60:4.
RouterB(config)# route-map send_community permit 40
RouterB(config-route-ma)# match ip address 40
RouterB(config-route-ma)# set community 60:4
Match prefix 50 and set community to 60:5.
RouterB(config)# route-map send_community permit 50
RouterB(config-route-ma)# match ip address 50
RouterB(config-route-ma)# set community 60:5
Match prefix 60 and set community to 60:6.
RouterB(config)# route-map send_community permit 60
RouterB(config-route-ma)# match ip address 60
RouterB(config-route-ma)# set community 60:6
Match prefix 70 and set community to 60:7.
RouterB(config)# route-map send_community permit 70
RouterB(config-route-ma)# match ip address 70
RouterB(config-route-ma)# set community 60:7
For all others, set community to 60:8.
RouterB(config)# route-map send_community permit 80
RouterB(config-route-ma)# set community 60:8
Define the access lists.
RouterB(config)# access-list 10 permit 61.0.0.0
RouterB(config)# access-list 20 permit 62.0.0.0
RouterB(config)# access-list 30 permit 63.0.0.0
RouterB(config)# access-list 40 permit 64.0.0.0
Cisco 10000 Series Router Line Card Configuaration Guide
18-7
OL-8834-04

Advertisement

Table of Contents
loading

Table of Contents