Users Guide

Layer 3 Routing Commands 1414
BGP Routing Policy
Dell EMC Networking N3000E-ON/N3100-ON/N3200-ON Series
Switches
Exterior routing protocols like BGP use industry-standard routing policy to
filter and modify routing information exchanged with peers. BGP makes use
of the following routing policy constructs:
AS Path Access Lists
BGP Community Lists
Use the Routing Policy commands to configure routing policies such as:
Matching on an AS Path
Modifying the AS Path
Setting the local preference
Setting the route metric
Setting an IPv4 or IPv6 next hop
Setting or matching on a BGP community
ip as-path access-list
To create an AS path access list, use the ip as-path access-list. An AS path
access list filters BGP routes on the AS path attribute of a BGP route. To
delete an AS path access list, use the no form of this command
Syntax
ip as-path access-list as-path-list-number { permit | deny } regexp
no ip as-path access-list as-path-list-number
as-path-list-number—A number from 1 to 500 uniquely identifying the
list. All AS path access list commands with the same as-path-list-number
are considered part of the same list.
permit—(Optional) Permit routes whose AS Path attribute matches the
regular expression.
deny—(Optional) Deny routes whose AS Path attribute matches the
regular expression.