
Configuring BGP Accept and Announce Policies
308628-14.00 Rev 00
7-19
Table 7-6. BCC Match Criteria for BGP Announce Policies
Criterion Values Function
as-pattern Empty string or
any regular
expression
Allows as_path pattern matching. Enter a valid
regular expression to indicate an AS and its
position in a path. The policy applies to all
routes whose AS path includes the AS in that
position. For example, the expression * 200 $
means that the policy applies to all routes
whose as_path attribute contains AS 200 as
the last AS in the path.
external-source any (default)
direct
static
rip
ospf
egp
/jointfilesconvert/106988/bgp
Specifies one or more external route source
identifiers. If you specify an external route
source, a route from that source that meets the
other criteria of this policy matches the policy.
This parameter applies only to OSPF routes
that use the ASE type 2 metric. The protocol
from which OSPF received the route is
encoded in the ASE metric, along with the
route’s metric. To specify any external route
source, use the default
.
ospf-type any (default)
type-1
type-2
external
internal
Specifies which types of OSPF routes match
this policy, and applies only to OSPF-sourced
routes and if OSPF is included as a route
source
protocol-source any (default)
direct
static
rip
ospf
egp
/jointfilesconvert/106988/bgp
Specifies one or more route source identifiers.
If you select a route source ID, a route from
that source that meets the other criteria of this
policy matches the policy.
/jointfilesconvert/106988/bgp-as* List of AS numbers Specifies a list of autonomous system
numbers. This policy applies to BGP
advertisements received from BGP peers in
this AS, and applies only to BGP-sourced
routes and if BGP is included as a route
source.
(continued)
Comentarios a estos manuales