5 bgp bestpath compare-confed-aspath, 6 bgp bestpath compare-routerid – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 281

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 281 of 855

16.5 bgp bestpath compare-confed-aspath

Use this command to allow comparing of the confederation AS path length.
Use the no parameter with this command to revert the selection and ignore AS confederation path length in
the BGP best path selection.

Command Syntax

(no) bgp bestpath compare-confed-aspath

Default

BGP receives routes with identical eBGP paths from eBGP peers and selects the first route received as
the best path.

Command Mode

Router mode

Usage

This command specifies that the AS confederation path length must be used, when available, in the BGP best
path decision process. It is effective only when bgp bestpath as-path ignore command has not been specified.

Examples

Switch# configure terminal
Switch(config) router bgp 100
Switch(config-router) bgp bestpath compare-confed-aspath

Related Commands

bgp bestpath as-path ignore

16.6 bgp bestpath compare-routerid

Use this command to compare router-id for identical eBGP paths.
Use the no parameter with this command to disable this function.

Command Syntax

(no) bgp bestpath compare-routerid

Default

BGP receives routes with identical eBGP paths from eBGP peers and selects the first route received as
the best path.

Command Mode

Advertising