Manoj Reddy's Reference Guide

bgp bestpath as-path ignore

To prevent the router from considering as-path as a factor in the algorithm for choosing a route, use the bgp bestpath as-path ignore router configuration command. To allow the router to consider as-path in choosing a route, use the no form of this command.

bgp bestpath as-path ignore

no bgp bestpath as-path ignore

Syntax Description

This command has no arguments or keywords.

Defaults

The router considers as-path in choosing a route.

Command Modes

Router configuration

Command History

ReleaseModification
12.0

This command was introduced.

Examples

The following example preventes the BGP router from considering as-path as a factor in choosing a route.

router bgp 210  bgp bestpath as-path ignore

Related Commands

CommandDescription
show ip bgp neighbors Displays information about the TCP and BGP connections to neighbors.

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.