
Purpose
Command or Action
Configures the router as a BGP route reflector and
configures the neighbor as its client.
route-reflector-client
Example:
Step 7
RP/0/RP0/CPU0:router(config-bgp-nbr-af)#
route-reflector-client
commit
Step 8
Configuring BGP Route Filtering by Route Policy
Perform this task to configure BGP routing filtering by route policy.
Before you begin
See the
Implementing Routing Policy on
module of
Cisco Routing Configuration Guide
(this publication)
for a list of the supported attributes and operations that are valid for inbound and outbound neighbor policy
filtering.
SUMMARY STEPS
1.
configure
2.
route-policy
name
3.
end-policy
4.
router bgp as-number
5.
neighbor ip-address
6.
address-family
{
ipv4
|
ipv6
}
unicast
7.
route-policy
route-policy-name
{
in
|
out
}
8.
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
(Optional) Creates a route policy and enters route policy
configuration mode, where you can define the route policy.
route-policy
name
Example:
Step 2
RP/0/RP0/CPU0:router(config)# route-policy
drop-as-1234
RP/0/RP0/CPU0:router(config-rpl)# if as-path
passes-through '1234' then
RP/0/RP0/CPU0:router(config-rpl)# apply
check-communities
RP/0/RP0/CPU0:router(config-rpl)# else
RP/0/RP0/CPU0:router(config-rpl)# pass
RP/0/RP0/CPU0:router(config-rpl)# endif
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
66
Implementing BGP
Configuring BGP Route Filtering by Route Policy