分享
 
 
 

RFC1997 - BGP Communities Attribute

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

Network Working Group R. Chandra

Request for Comments: 1997 P. Traina

Category: Standards Track cisco Systems

T. Li

August 1996

BGP Communities Attribute

Status of This Memo

This document specifies an Internet standards track protocol for the

Internet community, and requests discussion and suggestions for

improvements. Please refer to the current edition of the "Internet

Official Protocol Standards" (STD 1) for the standardization state

and status of this protocol. Distribution of this memo is unlimited.

Abstract

Border Gateway Protocol [1] is an inter-autonomous system routing

protocol designed for TCP/IP internets.

This document describes an extension to BGP which may be used to pass

additional information to both neighboring and remote BGP peers.

The intention of the proposed technique is to aid in policy

administration and redUCe the management complexity of maintaining

the Internet.

Introduction

BGP supports transit policies via controlled distribution of routing

information. Mechanisms for this are described in [1] and have been

successfully used by transit service providers. However, control

over the distribution of routing information is presently based on

either IP address prefixes or on the value of the AS_PATH attribute

(or part of it).

To facilitate and simplify the control of routing information this

document suggests a grouping of destinations so that the routing

decision can also be based on the identity of a group. Such a scheme

is eXPected to significantly simplify a BGP speaker's configuration

that controls distribution of routing information.

Terms and Definitions

Community

A community is a group of destinations which share some common

property.

Each autonomous system administrator may define which communities

a destination belongs to. By default, all destinations belong to

the general Internet community.

Examples

A property such as "NSFNET sponsored/AUP" could be added to all AUP

compliant destinations advertised into the NSFNET. NSFNET operators

could define a policy that would advertise all routes, tagged or not,

to directly connected AUP compliant customers and only tagged routes

to commercial or external sites. This would insure that at least one

side of a given connection is AUP compliant as a way of enforcing NSF

transit policy guidelines.

In this example, we have just eliminated the primary motivation for a

complex policy routing database that is used to generate huge prefix

and AS path based filter rules. We have also eliminated the delays

caused by the out-of-band maintenance of this database (mailing in

NACRs, weekly configuration runs, etc.)

A second example comes from experience with aggregation. It is often

useful to advertise both an aggregate prefix and the component more-

specific prefixes that were used to form the aggregate to optimize

"next hop" routing. These component prefixes are only useful to the

neighboring BGP peer or perhaps the autonomous system of the

neighboring BGP peer, so it is desirable to filter this information.

By specifying a community value that the neighboring peer or peers

will match and filter on, these more specific routes may be

advertised with the assurance that they will not propagate beyond

their desired scope.

COMMUNITIES attribute

This document creates the COMMUNITIES path attribute is an optional

transitive attribute of variable length. The attribute consists of a

set of four octet values, each of which specify a community. All

routes with this attribute belong to the communities listed in the

attribute.

The COMMUNITIES attribute has Type Code 8.

Communities are treated as 32 bit values, however for administrative

assignment, the following presumptions may be made:

The community attribute values ranging from 0x0000000 through

0x0000FFFF and 0xFFFF0000 through 0xFFFFFFFF are hereby reserved.

The rest of the community attribute values shall be encoded using an

autonomous system number in the first two octets. The semantics of

the final two octets may be defined by the autonomous system (e.g. AS

690 may define research, educational and commercial community values

that may be used for policy routing as defined by the operators of

that AS using community attribute values 0x02B20000 through

0x02B2FFFF).

Well-known Communities

The following communities have global significance and their

operations shall be implemented in any community-attribute-aware BGP

speaker.

NO_EXPORT (0xFFFFFF01)

All routes received carrying a communities attribute

containing this value MUST NOT be advertised outside a BGP

confederation boundary (a stand-alone autonomous system that

is not part of a confederation should be considered a

confederation itself).

NO_ADVERTISE (0xFFFFFF02)

All routes received carrying a communities attribute

containing this value MUST NOT be advertised to other BGP

peers.

NO_EXPORT_SUBCONFED (0xFFFFFF03)

All routes received carrying a communities attribute

containing this value MUST NOT be advertised to external BGP

peers (this includes peers in other members autonomous

systems inside a BGP confederation).

Operation

A BGP speaker may use this attribute to control which routing

information it accepts, prefers or distributes to other neighbors.

A BGP speaker receiving a route that does not have the COMMUNITIES

path attribute may append this attribute to the route when

propagating it to its peers.

A BGP speaker receiving a route with the COMMUNITIES path attribute

may modify this attribute according to the local policy.

Aggregation

If a range of routes is to be aggregated and the resultant aggregates

attribute section does not carry the ATOMIC_AGGREGATE attribute, then

the resulting aggregate should have a COMMUNITIES path attribute

which contains all communities from all of the aggregated routes.

Applicability

The COMMUNITIES path attribute may be used with BGP version 2 and all

subsequent versions of BGP unless specifically noted otherwise.

Security Considerations

Security issues are not discussed in this memo.

Acknowledgments

We'd like to thank Vince Fuller, Sean Doran, and Andrew Partan for

bringing to our attention the problems that we believe the BGP

communities attribute will help solve. We'd also like to thank Yakov

Rekhter his review of this document as well as his constructive and

valuable comments.

Authors' Addresses

Paul Traina

cisco Systems, Inc.

170 W. Tasman Dr.

San Jose, CA 95134

EMail: pst@cisco.com

Ravishanker Chandrasekeran

(Ravi Chandra)

cisco Systems, Inc.

170 W. Tasman Dr.

San Jose, CA 95134

EMail: rchandra@cisco.com

Tony Li

EMail: tli@skat.usc.edu

References

[1] RFC1771

Rekhter, Y., and T. Li, "A Border Gateway Protocol 4 (BGP-4)",

March 1995.

[2] RFC1965

Traina, P., "Autonomous System Confederations for BGP", June 1996.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有