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
This command has no arguments or keywords.
The router considers as-path in choosing a route.
Router configuration
Release | Modification | 12.0 | This command was introduced. |
---|
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
Command | Description |
---|---|
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.