Log in
|
How to Buy
|
Contact Us
|
United States (Change)

## Choose Country

### North America

- United States

### Europe

- Deutschland - Germany
- España - Spain
- France
- Italia - Italy
- Россия - Russia
- United Kingdom

### Asia Pacific

- Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
- Australia
- 中国 - China
- India
- 日本 - Japan
- 대한민국 - Korea
- 台灣 - Taiwan

Remember my choice

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Rate and give feedback: Feedback Received. Thank You!
Rate and give feedback:
This document helped resolve my issue. Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
E-mail:

# set metric

#### Syntax

set metric [ +relValue | -relValue | absValue ]

no set metric

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Modifies the metric value (for BGP, the MED) for a route that matches the route map by applying a relative or absolute metric. The no version removes the set clause from a route map.

| Note: You cannot have an absolute and a relative metric within the same route map sequence. Issuing either command overrides any previously configured metric in the route map.

#### Options

- +—Specifies that the value is added to the metric for routes matching the route map; immediately precedes the metric value with no intervening space
- –—Specifies that the value is subtracted from the metric for routes matching the route map; immediately precedes the metric value with no intervening space
- relValue—Number, in the range 0–4294967295
- absValue—Number, in the range 0–4294967295

#### Mode

Route Map Configuration

#### Published: 2011-04-01

Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2011 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out