bgp bestpath as-path ignore

Syntax

bgp bestpath as-path ignore no bgp bestpath as-path ignore

Description

Configures BGP to avoid considering the autonomous system (AS) path during best path route selection. By default, the AS-path is considered during BGP best path selection.

Any changes in BGP configuration are applied by restarting the current BGP sessions on the VRFs.

Theno这个命令恢复默认行为whi的形式ch configures BGP to consider the AS-path during route selection.

Command context

config-bgp

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config-bgp)#bgp bestpath as-path ignoreAll current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)?
switch(config-bgp)#no bgp bestpath as-path ignoreAll current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)?