beautypg.com

14 bgp default local-preference, 15 bgp deterministic med – CANOGA PERKINS 9175 Command Reference User Manual

Page 255

background image

CanogaOS Command Reference

16-10

Switch(config) router bgp 100

Switch(config-router) bgp default ipv4-unicast

16.14 bgp default local-preference

Use this command to change the default local preference value.

Use the no parameter with this command to revert to the default setting.

Command Syntax

(no) bgp default local-preference PREF_VALUE

PREF_VALUE = <0-4294967295> Configure default local preference value.

The default local preference value is 100.

Command Mode

Router mode

Usage

Local preference indicates the preferred path when there are multiple paths to the same destination. The path

having a higher preference is preferred. Use bgp default local-preference command to define preference of a

particular path. The preference is sent to all routers and access servers in the local autonomous system.

Examples

Switch# configure terminal

Switch(config) router bgp 100

Switch(config-router) bgp default local-preference 2345555

Related Commands

set local-preference

16.15 bgp deterministic med

Use this command to have ZebOS software compare the Multi Exit Discriminator (MED) variable when

choosing among routes advertised by different peers in the same autonomous system.

Use the no parameter with this command to disallow this setting.

Command Syntax

(no) bgp deterministic-med

Default

Disabled

Command Mode