984CHAPTER 72: BGP CONFIGURATION COMMANDS

peer advertise-community (BGP/BGP-VPN instance view)

Syntax peer { group-nameip-address} advertise-community

undo peer { group-nameip-address} advertise-community

View BGP view/BGP-VPN instance view

Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.

Description Use the peer advertise-communitycommand to advertise the community attribute to a peer/peer group.

Use the undo peer advertise-communitycommand to disable the community attribute advertisement to a peer/peer group.

By default, no community attribute is advertised to any peer group/peer.

Related commands: ip community-list,if-match community, apply community.

Examples # In BGP view, advertise the community attribute to peer group test.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] peer test advertise-community

#In BGP-VPN instance view, advertise the community attribute to peer group test (the VPN has been created).

<Sysname> system-view [Sysname] bgp 100

[Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] peer test advertise-community

peer advertise-ext-community (BGP/BGP-VPN instance view)

Syntax peer { group-nameip-address} advertise-ext-community undo peer { group-nameip-address} advertise-ext-community

View BGP view/BGP-VPN instance view

Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.

Description Use the peer advertise-ext-communitycommand to advertise the extended community attribute to a peer/peer group.

Page 984
Image 984
3Com MSR 30 Peer advertise-community BGP/BGP-VPN instance view, Peer advertise-ext-community BGP/BGP-VPN instance view