EasyManuals Logo
Home>Cisco>Network Router>ASR 5000 Series

Cisco ASR 5000 Series Administration Guide

Cisco ASR 5000 Series
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #314 background imageLoading...
Page #314 background image
Setting the Community Attribute
You set the BGP community attribute via a set community command in a route map.
config
context context_name
route-map map_name { deny | permit } sequence_number
set community [additive]{ internet | local-AS | no-advertise | no-export | none | value
AS-community_number AS-community_number AS-community_number ...}
{ internet | local-AS | no-advertise | no-export | none | value AS-community_number
AS-community_number AS-community_number ... }
{ internet | local-AS | no-advertise | no-export | none | value AS-community_number
AS-community_number AS-community_number ... }
The additive option allows you to enter multiple destinations and AS community numbers. For additional
information, see the Command Line Interface Reference.
Filtering via a BGP Community
To filter routes based on a BGP community, you configure a match clause in a route map. The command
sequence follows below.
config
context context_name
route-map map_name { deny | permit } sequence_number
match community { named named_list | standard identifier }
BGP Extended Communities
Configuring a BGP Extended Community (Route Target)
A BGP extended community defines a route target. MPLS VPNs use a 64-bit Extended Community attribute
called a Route Target (RT). An RT enables distribution of reachability information to the correct information
table.
You configure a BGP extended community via a Context Configuration mode command.
config
context context_name
ip extcommunity-list { named named_list | standard identifier } { deny | permit } rt rt_number
rt_number rt_number ...
rt_number specifies a Route Target as a string in AS:NN format, where AS = 2-byte AS-community
hexadecimal number and NN = 2-byte hexadecimal number (1 to 11 characters). You can add multiple route
numbers to an IP extcommunity list.
Multiple extended community-list entries can be attached to an extended community-list by adding multiple
permit or deny clauses for various extended community strings. Up to 64 extended community-lists can be
configured in a context.
ASR 5500 System Administration Guide, StarOS Release 21.4
282
Routing
BGP Communities and Extended Communities

Table of Contents

Other manuals for Cisco ASR 5000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco ASR 5000 Series and is the answer not in the manual?

Cisco ASR 5000 Series Specifications

General IconGeneral
BrandCisco
ModelASR 5000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals