Cisco Cisco Packet Data Gateway (PDG) Merkblatt

Seite von 8487
  Route-map Configuration Mode Commands 
set metric  ▀   
 
Cisco ASR 5x00 Command Line Interface Reference  ▄  
 
   
7869 
set metric 
Sets the route metric for matching routes to a specified value. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Route-map Configuration 
configure > context context_name > route-map map_name { deny | permit }
 
seq_number
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-route-map)# 
Syntax
 
[ no ] set metric metric_value 
metric_value
 
Specifies the metric value that is set for routes as an integer from 1 through 16777214. 
Usage 
Use this command to set the route metric for matched routes. 
Example
 
To set the route metric to 
12345
, use the following command; 
set metric 12345 
To disable setting the route metric to 
12345
, enter the following command; 
no set metric 12345