as-path-ignore

Disables the comparison of the autonomous system (AS) path lengths of otherwise equal paths.

Syntax

as-path-ignore
no as-path-ignore

Command Default

The comparison of the AS path lengths of otherwise equal paths is enabled.

Modes

BGP configuration mode

Usage Guidelines

The no form of the command restores default behavior.

Examples

The following example configures the device to always disable the comparison of AS path lengths.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# as-path-ignore