O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

set community — route-map

Synopsis

set community {community-number [additive]} | none
no set community {community-number [additive]} | none

Configures

Properties of routes matching a route map

Default

None

Description

This command sets the BGP community for a route matched by the route map.

community-number

The community number to use; its value can be a number from 1 to 4,294,967,200, or the predefined communities of no-export or no-advertise.

additive

Optional. Causes the new community to be added to any communities that the route already belongs to.

none

Optional. Removes all community attributes from the route.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required