Table Policy - Cisco ASR 9000 Series Routing Configuration Manual

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

Advertisement

Attach Points
route-policy test2
if (destination in
set med 333
endif
end-policy
!
show bgp
BGP router identifier 10.0.0.1, local AS number 2
BGP main routing table version 11
BGP scan interval 60 secs
Status codes:s suppressed, d damped, h history, * valid, > best
Origin codes:i - IGP, e - EGP, ? - incomplete
Network
*> 10.0.0.0
*> 10.0.0.0/9
*> 10.0.0.0/10
*> 10.0.0.0/11
*> 10.1.0.0/16
*> 10.3.30.0/24
*> 10.3.30.128/25
*> 10.128.0.0/9
*> 10.255.0.0/24
*> 10.255.64.0/24
....
show bgp policy route-policy test2
10.0.0.0/8 is advertised to 10.0.101.2
Path info:
neighbor:10.0.1.2
valid
Attributes after inbound policy was applied:
next hop:10.0.1.2
MET ORG AS
origin:incomplete
aspath:3
Attributes after outbound policy was applied:
next hop:10.0.1.2
MET ORG AS
origin:incomplete
aspath:2 3
...

Table Policy

The table policy feature in BGP allows you to configure traffic index values on routes as they are installed in
the global routing table. This feature is enabled using the table-policy command and supports the BGP policy
accounting feature.
BGP policy accounting uses traffic indices that are set on BGP routes to track various counters. See the
Implementing Routing Policy on Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series
Aggregation Services Router Routing Configuration Guide for details on table policy use. See the Cisco
Express Forwarding Commands on Cisco ASR 9000 Series Router module in the Cisco ASR 9000 Series
Aggregation Services Router IP Addresses and Services Command Reference for details on BGP policy
accounting.
Table policy also provides the ability to drop routes from the RIB based on match criteria. This feature can
be useful in certain applications and should be used with caution as it can easily create a routing 'black hole'
where BGP advertises routes to neighbors that BGP does not install in its global routing table and forwarding
table.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
572
(10.0.0.0/8 ge 8 le 32)) then
i - internal, S stale
Next Hop
10.0.1.2
10.0.1.2
10.0.1.2
10.0.1.2
10.0.1.2
10.0.1.2
10.0.1.2
10.0.1.2
10.0.101.2
10.0.101.2
neighbor router id:10.0.1.2
external
best
neighbor as:3
neighbor as:3
Metric LocPrf Weight Path
10
0 3 ?
10
0 3 ?
10
0 3 ?
10
0 3 ?
10
0 3 ?
10
0 3 ?
10
0 3 ?
10
0 3 ?
1000
555
0 100 e
1000
555
0 100 e
metric:10
metric:333
Implementing Routing Policy

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents