6 bgp bestpath compare-routerid – CANOGA PERKINS 9175 Command Reference User Manual

Page 249

Advertising
background image

CanogaOS Command Reference

16-4

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

Router mode

Usage

When comparing similar routes from peers the BGP router does not consider router ID of the routes. By

default, it selects the first received route. Use this command to include router ID in the selection process;

similar routes are compared and the route with lowest router ID is selected. The router-id is the highest IP

Advertising