Originating Prefixes With Aigp - Cisco NCS 6000 Series Configuration Manual

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

Advertisement

Implementing BGP

Originating Prefixes with AiGP

Perform this task to configure origination of routes with the AiGP metric:
Before you begin
Origination of routes with the accumulated interior gateway protocol (AiGP) metric is controlled by
configuration. AiGP attributes are attached to redistributed routes that satisfy following conditions:
• The protocol redistributing the route is enabled for AiGP.
• The route is an interior gateway protocol (iGP) route redistributed into border gateway protocol (BGP).
• The route is a static route redistributed into BGP. The value assigned is the value of next hop to the route
• The route is imported into BGP through network statement. The value assigned is the value of next hop
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
Command or Action
Step 1
configure
Step 2
route-policy aigp_policy
Example:
RP/0/RP0/CPU0:router(config)# route-policy
aip_policy
Step 3
set aigp-metricigp-cost
Example:
RP/0/RP0/CPU0:router(config-rpl)# set aigp-metric
igp-cost
Step 4
exit
Example:
RP/0/RP0/CPU0:router(config-rpl)# exit
The value assigned to the AiGP attribute is the value of iGP next hop to the route or as set by a
route-policy.
or as set by a route-policy.
to the route or as set by a route-policy.
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
Purpose
Enters route-policy configuration mode and sets the
route-policy
Sets the internal routing protocol cost as the aigp metric.
Exits route-policy configuration mode.
Originating Prefixes with AiGP
87

Advertisement

Table of Contents
loading

Table of Contents