Neighbor Filter-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
m

neighbor filter-list

neighbor { IP-ADDRESS | PEER-GROUP-NAME } filter-list AS-PATH-LIST-NAME { in | out }
no neighbor { IP-ADDRESS | PEER-GROUP-NAME } filter-list AS-PATH-LIST-NAME { in | out }
Syntax Description
IP-ADDRESS
PEER-GROUP-NAME The name of a Border Gateway Protocol (BGP) peer group.
AS-PATH-LIST-NAME The name of an autonomous system path access list. Define this access list with
Default
Command Mode
Usage Guideline
Example
Switch(config)# ip as-path access-list myacl deny _123_
Switch(config)# ip as-path access-list myacl deny ^123$
Switch(config)# ip as-path access-list myacl permit .*
Switch(config)# router bgp 65100
Switch(config-router)# network 10.108.0.0
Switch(config-router)# neighbor 192.168.6.6 remote-as 123
Switch(config-router)# neighbor 172.16.1.1 remote-as 47
Switch(config-router)# neighbor 172.16.1.1 filter-list myacl out
CLI Reference Guide
Use this command to create a BGP filter. Use the no form of the command to
disable this function.
Specifies the IP address prefix.
the ip as-path access-list command.
Disabled
Router configuration
This command specifies an access list filter for updates based on BGP
autonomous system paths. Each filter is an as-path access list based on
regular expressions.
Each neighbor can only have 1 in and 1 out access list.
The following example shows how to configure the BGP neighbor with IP
address 172.16.1.1 to not send advertisements about any path which is through
or from the adjacent autonomous system 123:
Verify the settings, in User Exec Mode, by entering the show ip protocols bgp
command.
neighbor filter-list
431

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dgs-6604Dgs-6600 series

Table of Contents