Users Guide
Usage Information Other BGP ltering commands include: neighbor filter-list, ip as-path access-list, and
neighbor route-map.
Related Commands
ip as-path access-list – congures the IP AS-Path ACL.
neighbor lter-list – assigns a AS-PATH list to a neighbor or peer group.
neighbor route-map – assigns a route map to a neighbor or peer group.
neighbor lter-list
Congure a BGP lter based on the AS-PATH attribute.
C-Series, E-Series TeraScale, S-Series
Syntax
neighbor [ip-address | peer-group-name] filter-list aspath access-list-name
[in | out]
To delete a BGP lter, use the no neighbor [ip-address | peer-group-name] filter-list
aspath access-list-name [in | out] command.
Parameters
ip-address Enter the IP address of the neighbor in dotted decimal format.
peer-group-name Enter the name of the peer group to apply the lter to all routers in the peer group.
as-path-name
Enter the name of an established AS-PATH access list (up to 140 characters).
If the AS-PATH access list is not congured, the default is permit (allow routes).
in Enter the keyword in to lter inbound BGP routes.
out Enter the keyword out to lter outbound BGP routes.
Defaults Not congured.
Command Modes ROUTER BGP Address Family (conf-router_bgp_af)
Command History
Version 7.8.1.0 Introduced on the S-Series.
Version 7.7.1.0 Introduced on the C-Series.
Version 7.6.1.0 Introduced IPv6 MGBP on the E-Series.
Usage Information Use the ip as-path access-list command in CONFIGURATION mode to enter AS-PATH ACL mode
and congure the AS-PATH lters to deny or permit BGP routes based on information in their AS-PATH
attribute.
Related Commands ip as-path access-list – enter AS-PATH ACL mode and congure the AS-PATH lters.
496
Border Gateway Protocol










