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.|
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 ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.