This command adds support for filtering BGP updates based on a specified maximum autonomous system path (AS-path) length. This support is on a per BGP instance basis (not per neighbor).
maximum-as-path-length | Specifies setting the AS path length. |
max-as-path | Value specifying the AS path length. Range is 1 to 1,500. |
none | Specifies no maximum AS path length. |
N/A
It can be desirable to protect the router against BGP updates with excessively long AS-paths to ensure memory is not exhausted. Any BGP updates that exceed this user-defined limit are dropped. This setting does not affect existing routes.
The following example sets the AS-path to 500.
configure bgp maximum-as-path-length 500
This command was first available in ExtremeXOS 21.1.
This command is available on the ExtremeSwitching X450-G2, X460-G2, X670-G2, X465, X590, X620, X690, X695, X870, 5420, 5520.