55 neighbor maximum-prefix – CANOGA PERKINS 9175 Command Reference User Manual

Page 281

Advertising
background image

CanogaOS Command Reference

16-36

out Indicates that outgoing advertised routes will be filtered.

Command Mode

Router mode and Address Family mode

Usage

This command specifies an access list filter on updates based on the BGP autonomous system paths. Each

filter is an access list based on regular expressions.

Examples

Switch# configure terminal

Switch(config)# router bgp 10

Switch(config-router)# neighbor 10.10.0.34 filter-list out

16.55 neighbor maximum-prefix

Use this command to control the number of prefixes that can be received from a neighbor.

Use the no parameter with this command to disable this function.

Command Syntax

(no) neighbor NEIGHBORID maximum-prefix MAXIMUM

NEIGHBORID = A.B.C.D|X:X::X:X|TAG

A.B.C.D Specifies the address of the BGP neighbor in IPv4 format.

X:X::X:X Specifies the address of the BGP neighbor in IPv6 format.

TAG Name of an existing peer-group. For information on how to create peer groups, refer to the

neighbor peer-group and neighbor remote-as commands. When this parameter is used with a command,

the command applies on all peers in the specified group.

MAXIMUM = MAXPREFIX (THRESHOLD) (warning-only)

MAXPREFIX <1-4294967295> Specifies the maximum number of prefixes permitted.

THRESHOLD <1-100> Specifies the threshold value, 1 to 100 percent.

warning-only Only gives a warning message when the limit is exceeded.

Command Mode

Router mode and Address Family mode

Usage

The neighbor maximum-prefix command allows the configuration of a specified number of prefixes that a BGP

router is allowed to receive from a neighbor. When the warning-only option is not used, if any extra prefixes

are received, the router ends the peering. A terminated peer, stays down until the clear ip bgp command is

used.

Examples

Switch# configure terminal

Switch(config)# router bgp 10

Advertising