PurposeCommand or Action
Defines the route policy and enters route-policy
configuration mode.
route-policy route-policy-name
Example:
Step 2
RP/0/RP0/CPU0:router (config)#route-policy
add_path_policy
Decides the actions and dispositions for the given route.
if conditional-expression then action-statement else
Example:
Step 3
RP/0/RP0/CPU0:router (config-rpl)#if community
matches-any (*) then
set path-selection all advertise
else
Passes the route for processing and ends the if statement.pass endif
Example:
Step 4
RP/0/RP0/CPU0:router(config-rpl-else)#pass
RP/0/RP0/CPU0:router(config-rpl-else)#endif
Ends the route policy definition of the route policy and
exits route-policy configuration mode.
end-policy
Example:
Step 5
RP/0/RP0/CPU0:router(config-rpl)#end-policy
Specifies the autonomous system number and enters the
BGP configuration mode, allowing you to configure the
BGP routing process.
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)#router bgp 100
Step 6
Specifies the address family and enters address family
configuration submode.
address-family ipv4 unicast | ipv6 unicast }
Example:
Step 7
RP/0/RP0/CPU0:router(config-bgp)#address-family
ipv4 unicast
Configures receive capability of multiple paths for a prefix
to the capable peers.
additional-paths receive
Example:
Step 8
RP/0/RP0/CPU0:router(config-bgp-af)#additional-paths
receive
Configures send capability of multiple paths for a prefix
to the capable peers .
additional-paths send
Example:
Step 9
RP/0/RP0/CPU0:router(config-bgp-af)#additional-paths
send
Configures additional paths selection capability for a
prefix.
additional-paths selection route-policy
route-policy-name
Example:
Step 10
RP/0/RP0/CPU0:router(config-bgp-af)#additional-paths
selection route-policy add_path_policy
commit
Step 11
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
86
Implementing BGP
Configuring BGP Additional Paths