beautypg.com

Setting a global maximum as path limit, Bgp4 max-as error messages – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 64

background image

36

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

BGP4 max-as error messages

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:

Brocade(config-bgp)# maxas-limit in 15

Setting a maximum AS path limit for a peer group
or neighbor

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

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

By default, neighbors or peer groups 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
peer-group or global and to the use system default value.

To configure a peer group named “PeerGroup1” and set a maximum AS path value of 7, enter the
following commands:

Brocade(config-bgp)# neighbor PeerGroup1 peer-group

Brocade(config-bgp)# neighbor PeerGroup1 maxas-limit in 7

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: <11>Jan 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

Memory limit error

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