beautypg.com

22 set local-preference, 23 set metric – CANOGA PERKINS 9175 Command Reference User Manual

Page 510

background image

CanogaOS Command Reference

28-22

Switch# configure terminal

Switch(config)# route-map mymap permit 3

Switch(config-route-map)# set ip next-hop 10.10.0.67

Related Commands

28.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.


Command Syntax

set local-preference LOCAL-PREFERENCE

no set local-preference

Syntax Description

LOCAL-PREFERENCE

<0-4294967295> Species the preference value.

Command Mode

Route-map mode

Defaults

No set local-preference is specified by default.

Examples

Switch# configure terminal

Switch(config)# route-map mymap permit 3

Switch(config-route-map)# set local-preference 100

Related Commands

28.23 set metric

Use this command to set a metric value for a route.

Use the no parameter with this command to disable this function.