D-Link DXS-3600-EM-8XS CLI Guide - Page 105
neighbor maximum-prefix
View all D-Link DXS-3600-EM-8XS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 105 highlights
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide Example This example shows how to configure the BGP neighbor 172.16.1.1 not to sent advertisements about any path through the adjacent autonomous system 123. Firstly, create an ip as-path access-list named 'myacl'. DXS-3600-32S#configure terminal DXS-3600-32S(config)#ip as-path access-list myacl deny _123_ DXS-3600-32S(config)#ip as-path access-list myacl deny ^123$ DXS-3600-32S(config)#ip as-path access-list myacl permit .* DXS-3600-32S(config)# Example Then, set the routing policy to neighbor 172.16.1.1 DXS-3600-32S#configure terminal DXS-3600-32S(config)#router bgp 65100 DXS-3600-32S(config-router)#neighbor 192.168.6.6 remote-as 123 DXS-3600-32S(config-router)#neighbor 172.16.1.1 remote-as 65200 DXS-3600-32S(config-router)#neighbor 172.16.1.1 filter-list myacl out DXS-3600-32S(config-router)# 7-44 neighbor maximum-prefix This command is used to control how many prefixes can be received from a neighbor. Use the no form of this command to return to the default value. neighbor {IP-ADDRESS | PEER-GROUP-NAME} maximum-prefix MAXIMUM [THRESHOLD] [warning-only] no neighbor {IP-ADDRESS | PEER-GROUP-NAME} maximum-prefix Parameters IP-ADDRESS PEER-GROUP-NAME MAXIMUM THRESHOLD warning-only Specifies the IP address of the BGP peer. Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters. Specifies the maximum number of prefixes allowed from the specified neighbor. The number of prefixes that can be configured is limited only by the available system resources on a router. (Optional) Integer specifying at what the percentage of the maximum prefix limit the router starts to generate a warning message. The range is from 1 to 100. The default is 75. (optional) Allows the router to generate a sys-log message when the maximumprefix limit is exceeded, instead of terminating the peering session. Default Command Mode Command Default Level Usage Guideline The default maximum number of prefix is 16000. Peering sessions are disabled when the maximum number of prefixes is exceeded. THRESHOLD: 75 percent. Router Configuration Mode. Address Family Configuration Mode (IPv4 Unicast, VPNv4 and VRF). Level: 8. (EI Mode Only Command) When the number of received prefixes exceeds the maximum number configured, BGP disables the peering session (by default). You can use the clear ip bgp command to re-establish the session. If the warning-only keyword is configured, BGP sends only a log message and continues to peer with the sender. Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings. 97