Setting a global maximum as path limit, Setting a maximum as path limit for a neighbor, Bgp4 max-as error messages – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 233

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

219

53-1003246-01

BGP4 max-as error messages

8

NOTE

Maxas-limit is checked against the received AS_PATH and AS4_PATH attributes.

BGP routers check for and, if configured, apply the maxas-limit in setting in the following order:

1. Neighbor value

2. Peer group value

3. Global value

In a case where a neighbor has no maximum AS limit, a peer group has a value of 3 configured,
and the system has a value of 9 configured, all of the routers in the peer group will only use the
peer group value; the global value will never be used.

Setting a global maximum AS path limit

The syntax for the global maximum AS path limit command is:

[no] maxas-limit in num

The maxas-limit keyword specifies the limit on the AS numbers in the as-path attribute. The in
keyword allows the as-path attribute from any neighbor imposing a limit on AS numbers received.
The default maximum length for the global system is 300. The range is 0 – 300. The no keyword
removes the configuration at the global level.

NOTE

The router applies the BGP4 maximum AS path limit on a per virtual router basis.

To configure the global Maximum AS path limit to 15, enter the following command:

Virtual ADX(config-bgp)# maxas-limit in 15

Setting a maximum AS path limit for a neighbor

To set maximum AS path limit for a neighbor, the syntax is:

neighbor {ip-addr} maxas-limit in [num | disable]

By default, neighbors have no configured maximum values. The range is 0 – 300. The disable
keyword is used to stop a neighbor from inheriting the configuration from the global and to the use
system default value.

BGP4 max-as error messages

This section lists error log messages that you might see when the router receives routes that
exceed the configured AS segment limit or the internal memory limit. The log messages can
contain a maximum of 30 ASNs. If a message contains more than 30 ASNs, the message is
truncated and an ellipsis appears.

Maximum AS path limit error

SYSLOG: <11Jan 1 00:00:00 mu1, BGP: From Peer 192.168.1.2 received Long AS_PAT

H= AS_CONFED_SET(4) 1 2 3 AS_CONFED_SEQUENCE(3) 4 AS_SET(1) 5 6 7 AS_SEQ(2) 8 9

attribute length (9) More than configured MAXAS-LIMIT 7

Advertising