Configuring The Bgp Cost Community - Cisco NCS 6000 Series Configuration Manual

Ios xr release 6.4.x
Hide thumbs Also See for NCS 6000 Series:
Table of Contents

Advertisement

Configuring the BGP Cost Community

Command or Action
• send-extended-community-ebgp
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)#
send-community-ebgp
or
RP/0/RP0/CPU0:router(config-bgp-nbr-af)#
send-extended-community-ebgp
Step 7
commit
Configuring the BGP Cost Community
Perform this task to configure the BGP cost community.
BGP receives multiple paths to the same destination and it uses the best-path algorithm to decide which is the
best path to install in RIB. To enable users to determine an exit point after partial comparison, the cost
community is defined to tie-break equal paths during the best-path selection process.
SUMMARY STEPS
1. configure
2. route-policy name
3. set extcommunity cost { cost-extcommunity-set-name | cost-inline-extcommunity-set } [ additive ]
4. end-policy
5. router bgp as-number
6. Do one of the following:
7. Do one of the following:
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
72
• default-information originate
• aggregate-address address/mask-length [ as-set ] [ as-confed-set ] [ summary-only ] [ route-policy
route-policy-name ]
• address-family { ipv4 | ipv6 } unicast redistribute connected [ metric metric-value ] [
route-policy route-policy-name ]
• address-family { ipv4 | ipv6 } unicast redistribute eigrp process-id [ match { external |
internal }] [ metric metric-value ] [ route-policy route-policy-name ]
• address-family { ipv4 | ipv6 } unicast redistribute isis process-id [ level { 1 | 1-inter-area
| 2 }] [ metric metric-value ] [ route-policy route-policy-name ]
• address-family { ipv4 | ipv6 } unicast redistribute ospf process-id [ match { external [ 1
| 2 ] | internal | nssa-external [ 1 | 2 ]}] [ metric metric-value ] [ route-policy
route-policy-name ]
• address-family { ipv4 | ipv6 } unicast redistribute ospfv3 process-id [ match { external
[ 1 | 2 ] | internal | nssa-external [ 1 | 2 ]}] [ metric metric-value ] [ route-policy
route-policy-name ]
• address-family { ipv4 | ipv6 } unicast redistribute rip [ metric metric-value ] [ route-policy
route-policy-name ]
Purpose
Implementing BGP

Advertisement

Table of Contents
loading

Table of Contents