Cisco Nexus 3548 Command Reference Manual page 279

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Chapter
Unicast Routing Commands
maximum-prefix (BGP)
session is terminated because the maximum prefix limit has been exceed, the peering session is not
reestablished until you enter the clear ip bgp command. If the warning-only keyword is configured,
BGP sends only a log message and continues to peer with the sender.
There is no default limit on the number of prefixes that can be configured with this command.
Limitations on the number of prefixes that can be configured are determined by the amount of available
system resources.
This command requires the LAN Enterprise Services license.
Examples
This example shows how to set the maximum prefixes that are accepted from the 192.168.1.1 neighbor
to 1000:
switch# configure terminal
switch(config)# router bgp 64496
switch(config-router)# network 192.168.0.0
switch(config-router)# maximum-prefix 1000
switch(config-router)#
This example shows how to set the maximum number of prefixes that are accepted from the 192.168.2.2
neighbor to 5000. The router is also configured to display warning messages when 50 percent of the
maximum-prefix limit (2500 prefixes) has been reached.
switch# configure terminal
switch(config)# router bgp 64496
switch(config-router)# network 192.168.0.0
switch(config-router)# maximum-prefix 5000 50
switch(config-router)#
This example shows how to set the maximum number of prefixes that are accepted from the 192.168.3.3
neighbor to 2000. The router is also configured to reestablish a disabled peering session after 30 minutes.
switch# configure terminal
switch(config)# router bgp 64496
switch(config-router)# network 192.168.0.0
switch(config-router)# maximum-prefix 2000 restart 30
switch(config-router)#
This example shows how to set the warning messages that are displayed when the maximum-prefix limit
(500) for the 192.168.4.4 neighbor is exceeded:
switch# configure terminal
switch(config)# router bgp 64496
switch(config-router)# network 192.168.0.0
switch(config-router)# maximum-prefix 500 warning-only
switch(config-router)#
This example shows how to set the maximum number of prefixes that are accepted from the 192.168.1.3
neighbor to 1500.
switch# configure terminal
switch(config)# router bgp 64496
switch(config-router)# neighbor 192.168.1.3 remote-as 64497
switch(config-router-neighbor)# address-family ipv4 multicast
switch(config-router-neighbor-af)# maximum-prefix 1500
switch(config-router-neighbor-af)#
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
259
OL-27852-01

Advertisement

Table of Contents
loading

Table of Contents