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
PurposeCommand or Action
configure
Step 1
Enters route-policy configuration mode and sets the
route-policy
route-policy aigp_policy
Example:
RP/0/RSP0/CPU0:router(config)# route-policy
aip_policy
Step 2
Sets the internal routing protocol cost as the aigp
metric.
set aigp-metricigp-cost
Example:
RP/0/RSP0/CPU0:router(config-rpl)# set aigp-metric
igp-cost
Step 3
Exits route-policy configuration mode.exit
Example:
RP/0/RSP0/CPU0:router(config-rpl)# exit
Step 4
Specifies the BGP AS number and enters the BGP
configuration mode, allowing you to configure the
BGP routing process.
router bgp as-number
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 100
Step 5
Specifies either the IPv4 or IPv6 address family and
enters address family configuration submode.
address-family {ipv4 | ipv6} unicast
Example:
RP/0/RSP0/CPU0:router(config-bgp)# address-family
ipv4 unicast
Step 6
Allows the redistribution of AiBGP metric into OSPF.
redistribute ospf osp route-policy plcy_namemetric value
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)#redistribute
ospf osp route-policy aigp_policy metric 1
Step 7
commit
Step 8
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
167
Implementing BGP
Originating Prefixes with AiGP