Debug; Bgp Attributes And Operators - Cisco ASR 9000 Series Routing Configuration Manual

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

Advertisement

Implementing Routing Policy
The following example shows how to configure a route policy where the in operator evaluates to true if one
or more of the regular expression matches in the set my-as-set successfully match the AS path associated with
the route. If it is a match, then the clear command clears the associated flap statistics.
as-path-set my-as-set
ios-regex '_12$',
ios-regex '_13$'
end-set
route-policy policy_a
if as-path in my-as-set then
pass
else
drop
endif
end-policy
clear bgp ipv4 unicast flap-statistics route-policy policy_a

Debug

The debug attach point provides increased control based on prefix-based match operations. This attach point
is typically used to filter debug output for various BGP commands based on the prefix of the route.
The following example shows how to configure a route policy that will only pass the prefix 20.0.0.0 with
prefix length 8; therefore, the debug output shows up only for that prefix.
route-policy policy_b
if destination in (10.0.0.0/8) then
pass
else
drop
endif
end-policy
debug bgp update policy_b

BGP Attributes and Operators

This table summarizes the BGP attributes and operators per attach points.
Table 7: BGP Attributes and Operators
Attach Point
additional-paths
Attribute
Match
path-selection
community
matches-every
is-empty
matches-any
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
Attach Points
Set
set
577

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents