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

Page 353

Advertising
background image

CanogaOS Command Reference

19-22

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

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.


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

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

This command sets the metric value for a route, and influences external neighbors about the

Advertising