Juniper JUNOSE SOFTWARE FOR E SERIES 11.3.X - IP SERVICES CONFIGURATION GUIDE 2010-10-01 Configuration Manual page 65

Software for e series broadband services routers ip services configuration guide
Table of Contents

Advertisement

ip bgp-community new-format
ip community-list
neighbor send-community
Copyright © 2010, Juniper Networks, Inc.
host1(config-route-map)#exit
host1(config)#ip community-list 1 permit 25
host1(config)#ip community-list 2 permit 62
host1(config)#ip community-list 3 permit internet
Community list 1 comprises routes with a community of 25; their metric is set to 20.
Community list 2 comprises routes with a community of 62; their metric is set to 75.
Community 3 catches all remaining routes by matching the Internet community; their
metric is set to 85.
Use to specify that communities must be displayed in AA:NN format, where AA is a
number that identifies the autonomous system and NN is a number that identifies the
community within the autonomous system.
Example
host1(config)#ip bgp-community new-format
Use the no version to restore the default display.
See ip bgp-community new-format.
Use to create a community list for BGP and control access to it.
The list name can be up to 32 characters long.
A route can belong to any number of communities, so a community list can have many
entries comprising many communities.
You can specify one or more community values when you create a community list. A
clause in a route map that includes a list that has more than one value matches only
a route that has all of the values; that is, the multiple values are logical ANDed.
You can specify community values with a number or a regular expression.
Example
host1(config)#ip community-list 1 permit 100:2 100:3 100:4
host1(config)#route-map marengo permit 10
host1(config-route-map)#match community 1
A route matches this community list only if it belongs to at least all three communities
in community list 1: communities 100:2, 100:3, and 100:4.
Use the no version to remove the specified community list, including all list entries.
See ip community-list.
Use to specify that a community attribute be sent to a BGP neighbor.
If you specify a BGP peer group by using the peer-group-name argument, all the
members of the peer group inherit the characteristic configured with this command.
Example
Chapter 1: Configuring Routing Policy
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.3

Table of Contents