The bestroute as-path-ignore command configures MBGP to ignore the AS_Path attribute when it selects the optimal route.
The undo bestroute as-path-ignore command restores the default configuration.
By default, MBGP uses the AS_Path attribute as one of route selection rules.
Usage Scenario
After the bestroute as-path-ignore command is used, BGP does not compare the AS path attributes of routes (including the AS_Path length and content).
Configuration Impact
After the bestroute as-path-ignore command is run, the AS_Path attribute is not used as one of MBGP route selection rules.