•
The route is a static route redistributed into BGP. The value assigned is the value of next hop to the route
or as set by a route-policy.
•
The route is imported into BGP through network statement. The value assigned is the value of next hop
to the route or as set by a route-policy.
SUMMARY STEPS
1.
configure
2.
route-policy aigp_policy
3.
set aigp-metricigp-cost
4.
exit
5.
router bgp as-number
6.
address-family {ipv4 | ipv6} unicast
7.
redistribute ospf osp route-policy plcy_namemetric value
8.
commit
DETAILED STEPS
Step 1
configure
Step 2
route-policy aigp_policy
Example:
RP/0/RP0/CPU0:router(config)# route-policy aip_policy
Enters route-policy configuration mode and sets the route-policy
Step 3
set aigp-metricigp-cost
Example:
RP/0/RP0/CPU0:router(config-rpl)# set aigp-metric igp-cost
Sets the internal routing protocol cost as the aigp metric.
Step 4
exit
Example:
RP/0/RP0/CPU0:router(config-rpl)# exit
Exits route-policy configuration mode.
Step 5
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 100
Specifies the BGP AS number and enters the BGP configuration mode, allowing you to configure the BGP routing
process.
Step 6
address-family {ipv4 | ipv6} unicast
Example:
RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 unicast
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
69
Implementing BGP
Accumulated Interior Gateway Protocol Attribute