DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
186
By default, no filter is used.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (IPv4 unicast, VPNv4 and VRF).
Command Default Level
Level: 12.
Usage Guideline
Use this command to enable AS path filtering based on a specified AS path access list. Use the
ip as-
path access-list
command to create an AS path access list.
The
neighbor filter-list
command can be specified per address family. When specified, in the router
configuration mode, the filter list is applied to the IPv4 unicast address family only.
The user can specify one filter list per address family for outbound routes to a BGP neighbor and one
filter list for inbound routes from a BGP neighbor.
Example
This example shows how to define an AS path access list and applies it to filter the routes to be
advertised to the neighbor 172.16.1.1.
Switch# configure terminal
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)# 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
11-45
neighbor maximum-prefix
This command is used to specify the maximum number of prefixes that can be accepted from a neighbor.
To disable the limitation, use the
no
form of this command.
neighbor {IP-ADDRESS | PEER-GROUP-NAME} maximum-prefix MAXIMUM [THRESHOLD]
[warning-only]
no neighbor {IP-ADDRESS | PEER-GROUP-NAME} maximum-prefix
Parameters
IP-ADDRESS
Specifies the IP address of the neighbor.
PEER-GROUP-NAME
Specifies the name of a Border Gateway Protocol (BGP) peer group.
MAXIMUM
Specifies the maximum number of prefixes acceptable from the
specified neighbor. This value must be between 1 and 12000.
THRESHOLD
(Optional) Specifies the percentage of the maximum prefix limit to
generate a warning message. The range is from 1 to 100. The default
value is 75.
warning-only
(Optional) Specifies only to generate a system log message when the
threshold is exceeded. If not specified, the peering session will be
Summary of Contents for DXS-3600 Series
Page 1: ......
Page 423: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 418 ...
Page 548: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 543 ...
Page 673: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 668 ...
Page 712: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 707 Switch ...
Page 845: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 840 ...
Page 884: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 879 ...
Page 1152: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 1147 ...