bgp maxas-limit

Syntax

bgp maxas-limit <LENGTH>

no bgp maxas-limit

Description

Specifies the maximum size of AS paths in update messages. Routes with AS paths greater than the specified length are discarded.

The no form of this command sets the limit to the default of 32.

Command context

config-bgp

Parameters

<LENGTH>

Specifies the number of AS segments. Length: 1 to 32 characters. Default: 32.

Authority

Administrators or local user group members with execution rights for this command.

Example

switch(config-bgp)# bgp maxas-limit 20
switch(config-bgp)# no bgp maxas-limit