22 set local-preference – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 392

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 392 of 855

19.21.1.5 Examples

Switch# configure terminal
Switch(config)# route-map mymap permit 3
Switch(config-route-map)# set ip next-hop 10.10.0.67

19.21.1.6 Related

Commands

19.22 set local-preference

Use this command to set the specified local-preference value.
Use the no parameter with this command to turn off the setting.

Use this command to set the local-preference value of the routes

Note:

This command is valid for BGP only.

19.22.1.1 Command

Syntax

set local-preference LOCAL-PREFERENCE

no set local-preference

19.22.1.2 Syntax

Description

LOCAL-PREFERENCE

<0-4294967295> Species the preference value.

19.22.1.3 Command

Mode

Route-map mode

19.22.1.4 Defaults

No set local-preference is specified by default.

19.22.1.5 Examples

Switch# configure terminal
Switch(config)# route-map mymap permit 3
Switch(config-route-map)# set local-preference 100

Advertising