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

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Report Documentation Bug
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Feedback

## Documentation Search

Advanced Search | Search Tips

# neighbor weight

#### Syntax

neighbor { ipAddress | ipv6Address | peerGroupName } weight value

no neighbor { ipAddress | ipv6Address | peerGroupName } weight [ value ]

#### Release Information

Command introduced before JunosE Release 7.1.0.
ipv6Address variable added in JunosE Release 8.0.0.

#### Description

Assigns a weight to a neighbor connection. The no version removes a weight assignment. All routes learned from this neighbor will have the assigned weight initially. The route with the highest weight will be chosen as the preferred route when multiple routes are available to a particular network.

The weights assigned with the match as-path and set weight route-map commands override the weights assigned with the neighbor weight and neighbor filter-list commands.

#### Options

- ipAddress—IP address of BGP neighbor
- ipv6Address—IPv6 address of BGP neighbor
- peerGroupName—Name of a BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- value—Number in the range 0–65535; the weight to assign

#### Mode

Address Family Configuration, Router Configuration

#### Published: 2011-01-07

﻿
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2011 Juniper Networks, Inc. All rights reserved.

## 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
Help
|
My Account
|
Log Out