Users Guide
neighbor filter-list
Configure a BGP filter 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 filter, 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 filter 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 configured, the default is permit (allow routes).
in Enter the keyword in to filter inbound BGP routes.
out Enter the keyword out to filter outbound BGP routes.
Defaults Not configured.
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 configure the AS-PATH filters 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 configure the AS-PATH filters.
neighbor maximum-prefix
Control the number of network prefixes received.
C-Series, E-Series TeraScale, S-Series
Syntax
neighbor {ip-address | peer-group-name} maximum-prefix maximum [threshold]
[warning-only]
To return to the default values, use the no neighbor {ip-address | peer-group-name}
maximum-prefix maximum 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.
maximum
Enter a number as the maximum number of prefixes allowed for this BGP router.
The range is 1 to 4294967295.
threshold
(OPTIONAL) Enter a number to be used as a percentage of the maximum value.
When the number of prefixes reaches this percentage of the maximum value, the
Border Gateway Protocol 425










