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

# set community

#### Syntax

set community { list communityListName [ additive ] | none }

set community { communityNumber | knownCommunity | asCommunNumber }
[ communityNumber | knownCommunity | asCommunNumber ]* [ additive ]

no set community

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Sets the BGP community attribute to one or more community numbers or a list of community numbers. The no version removes the set clause from a route map.

#### Options

- communityListName—Name of a community; a string of up to 32 characters
- additive—Adds the community number to the community list
- none—Removes the community attribute
- communityNumber—Number, in the range 1– 4294967295, that specifies the community number
- knownCommunity—Any of the following well-known communities; the Internet community is not an option:
  - local-as—Prevents advertisement outside of the local AS
  - no-advertise—Prevents advertisement to any peer
  - no export—Prevents advertisement beyond the BGP confederation boundary
- asCommunNumber—AS community number in the format AA:NN:
  - AA—Number, in the range 1–65535, that identifies an AS
  - NN—Number, in the range 1–65535, that uniquely identifies a community within an AS
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

#### Mode

Route Map 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