D-Link DXS-3600-32S 24-port Top Of Rack 10 Gigabit Managed Switch With Expansion Slot

User Manual - Page 105

For DXS-3600-32S.

PDF File Manual, 695 pages, Read Online | Download pdf file

DXS-3600-32S photo
Loading ...
Loading ...
Loading ...
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
97
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
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)#
IP-ADDRESS Specifies the IP address of the BGP peer.
PEER-GROUP-NAME Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum
length is 16 characters.
MAXIMUM 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.
THRESHOLD (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.
warning-only (optional) Allows the router to generate a sys-log message when the maximum-
prefix limit is exceeded, instead of terminating the peering session.
Default
The default maximum number of prefix is 16000.
Peering sessions are disabled when the maximum number of prefixes is exceeded.
THRESHOLD: 75 percent.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast, VPNv4 and VRF).
Command Default Level
Level: 8. (EI Mode Only Command)
Usage Guideline
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.
Loading ...
Loading ...
Loading ...