Reference Guide
Border Gateway Protocol IPv4 (BGPv4) | 331
Syntax
neighbor {ip-address | peer-group-name} filter-list as-path-name {in | out}
To delete a BGP filter, use the
no neighbor {ip-address | peer-group-name} filter-list as-path-name
{
in | out} command.
Parameters
Defaults
Not configured.
Command Modes
ROUTER BGP
Usage
Information
Use the ip as-path access-list command syntax in the CONFIGURATION mode to enter the
AS-PATH ACL mode and configure AS-PATH filters to deny or permit BGP routes based on
information in their AS-PATH attribute.
Related
Commands
Command
History
neighbor graceful-restart
c e s
Enable graceful restart on a BGP neighbor.
Syntax
neighbor {ip-address | peer-group-name} graceful-restart [restart-time seconds] [stale-path-time
seconds] [role receiver-only]
To return to the default, enter the
no bgp graceful-restart 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.
ip as-path access-list Enter AS-PATH ACL mode and configure AS-PATH filters.
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Introduced support on S-Series
Increased name string to accept up to 140 characters. Prior to 7.8.1.0, ACL
names are up to 16 characters long.
Version 7.7.1.0 Introduced support on C-Series
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.










