4 bgp bestpath as-path ignore – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 280

CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 280 of 855
Default
Disabled
Command Mode
Router mode
Usage
Multi Exit Discriminator (MED) is used in best path selection by BGP. MED is compared after BGP attributes
weight, local preference, AS-path and origin have been compared and are equal.
MED comparison is done only among paths from the same autonomous system (AS). Use bgp
always-comparemed command to allow comparison of MEDs from different ASs. The MED parameter is used
to select the best path. A path with lower MED is preferred.
Examples
Switch# configure terminal
Switch(config)# router bgp 100
Switch(config-router)# bgp always-compare-med
Related Commands
bgp bestpath med, bgp bestpath as-path ignore
16.4 bgp bestpath as-path ignore
Use this command to prevent the router from considering as-path as a factor in the algorithm for choosing a
route.
Use the no parameter with this command to allow the router to consider as-path in choosing a route.
Command Syntax
(no) bgp bestpath as-path ignore
Command Mode
Router mode
Examples
Switch# configure terminal
Switch(config) router bgp 100
Switch(config-router) bgp bestpath as-path ignore
Related Commands
bgp always-compare-med, bgp bestpath med, bgp bestpath compare-routerid