Cisco ASR 9000 Series Routing Configuration Manual page 141

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Implementing BGP
Before You Begin
See the Implementing Routing Policy on Cisco ASR 9000 Series Router module of Cisco ASR 9000 Series
Aggregation Services Router 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
Command or Action
Step 1
configure
Step 2
route-policy name
Example:
RP/0/RSP0/CPU0:router(config)# route-policy
drop-as-1234
RP/0/RSP0/CPU0:router(config-rpl)# if as-path
passes-through '1234' then
RP/0/RSP0/CPU0:router(config-rpl)# apply
check-communities
RP/0/RSP0/CPU0:router(config-rpl)# else
RP/0/RSP0/CPU0:router(config-rpl)# pass
RP/0/RSP0/CPU0:router(config-rpl)# endif
Step 3
end-policy
Example:
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
Step 4
router bgp as-number
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
Configuring BGP Route Filtering by Route Policy
Purpose
(Optional) Creates a route policy and enters route policy
configuration mode, where you can define the route
policy.
(Optional) Ends the definition of a route policy and exits
route policy configuration mode.
Specifies the autonomous system number and enters the
BGP configuration mode, allowing you to configure the
BGP routing process.
111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents