Command Line Reference Guide
Related
Commands
ip as-path access-list – configures the IP AS-Path ACL.
neighbor filter-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 filter-list
Configure a BGP filter based on the AS-PATH attribute.
S5000
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 9.0(1.3) Introduced on the S5000.
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.
345