Ip As-Path Access-List - D-Link xStack DGS-3620 Series Reference Manual

Layer 3 managed stackable
Hide thumbs Also See for xStack DGS-3620 Series:
Table of Contents

Advertisement

DGS-3620 m/ mSW Rls. 1.02.000

2-50 ip as-path access-list

ip as-path access-list ACCESS-LIST-NAME [{ permit | deny } REGEXP]
no ip as-path access-list ACCESS-LIST-NAME [{ permit | deny } REGEXP]
Syntax Description
ACCESS-LIST-NAME
permit
deny
REGEXP
Default
Command Mode
Usage Guideline
Example
Switch(config)#ip as-path access-list mylist deny ^65535$
Switch(config)#
Switch(config)#no ip as-path access-list mylist deny ^65535$
Switch(config)#
CLI Reference Guide
Use this command to define a BGP Autonomous System (AS) path access list or add
an AS path access list entry to an existing AS path access list. Use the no form of this
command to delete the access list or an entry of the AS path access list.
Specifies the name of the access list. The maximum length is 16 characters.
Permits access to the matching conditions.
Denies access to the matching conditions.
Specifies a regular expression to match the BGP AS paths. The maximum length
is 80 characters.
None
Global configuration
Use this command to configure an Autonomous System path access list. An
Autonomous System path access list can be applied to inbound, outbound or both
routes exchanging of a BGP peer session. If the regular expression matches the
specified string represented the AS path of the route, the permit or deny condition
applies.
Multiple entries can be applied to a list name.
Use the show ip as-path access-list command to verify your settings.
The following example defines an as-path access-list named mylist to deny routes
with only AS number 65535:
The following example show how to delete an entry in an as-path access-list early
configured:
After that, the as-path access-list mylist has no entry, but it still exists.
The following example show how to delete an as-path access-list no matter whether
it has entries or not:
ip as-path access-list
82

Advertisement

Table of Contents
loading

Table of Contents