EasyManuals Logo
Home>Cisco>Network Router>A9K-SIP-700

Cisco A9K-SIP-700 Configuration Guide

Cisco A9K-SIP-700
604 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #528 background imageLoading...
Page #528 background image
The following example shows how to configure the BGP next-hop tracking feature using a route policy to
monitor static or connected routes with the prefix 10.0.0.0 and prefix length 8.
route-policy nxthp_policy_A
if destination in (10.0.0.0/8) and protocol in (static, connected) then
pass
endif
end-policy
router bgp 2
address-family ipv4 unicast
nexthop route-policy nxthp_policy_A
.
.
.
Clear-Policy
The clear-policy attach point provides increased control based on various AS path match operations when
using a clear bgp command. This attach point is typically used to decide whether to clear BGP flap statistics
based on AS-path-based match operations.
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
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
500 OL-30423-03
Implementing Routing Policy
Attach Points

Table of Contents

Other manuals for Cisco A9K-SIP-700

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco A9K-SIP-700 and is the answer not in the manual?

Cisco A9K-SIP-700 Specifications

General IconGeneral
BrandCisco
ModelA9K-SIP-700
CategoryNetwork Router
LanguageEnglish

Related product manuals