The peer advertise-community command configures a device to advertise a community attribute to its peer.
The undo peer advertise-community command cancels the existing configuration.
By default, a device advertises no community attribute to its peer.
Usage Scenario
The peer advertise-community command can be used to configure a device to advertise a community attribute to its peer or peer group. If a device advertises a community attribute to its peer group, all the members of the peer group will inherit the community attribute.