Ip As-Path Access-List - D-Link DGS-6600-48T Cli Reference Manual

Modular layer 3 chassis ethernet managed switch
Hide thumbs Also See for DGS-6600-48T:
Table of Contents

Advertisement

DGS-6604

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
Syntax Description
ACCESS-LIST-NAME Specifies the name of the access list.
permit
deny
REGEXP
Default
Command Mode
Usage Guideline
Example
Switch(config)# ip as-path access-list mylist deny ^65535$
Switch(config)# ip as-path access-list mylist permit .*
CLI Reference Guide
Use this command to define a BGP Autonomous System (AS) path access list.
Use the no form of this command to disable use of the access list.
Permits access to matching conditions.
Denies access to matching conditions.
Specifies a regular expression to match the BGP AS paths.
None
Global configuration
The named community access list is a filter based on regular expressions. If the
regular expression matches the specified string representing the AS path of the
route, then the permit or deny condition applies. Use this command to define the
BGP access list globally, use the neighbor filter-list command in the router
configuration mode to apply a specific access list.
Multiple commands can be applied to a list name.
This example shows how to define an AS path access list named "mylist" to deny
access to the neighbor with AS number 65535:
Verify the settings by entering the show ip as-path access-list command.
ip as-path access-list
234

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dgs-6604Dgs-6600 series

Table of Contents