3com S7906E Guide De Référence
1-35
peer advertise-community (BGP-VPNv4 subaddress family view)
Syntax
peer { group-name | ip-address } advertise-community
undo peer { group-name | ip-address } advertise-community
View
BGP-VPNv4 subaddress family view
Default Level
2: System level
Parameters
group-name: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: IP address of the peer.
Description
Use the peer advertise-community command to specify to advertise community attributes to a peer or
peer group.
Use the undo peer advertise-community command to remove the configuration.
By default, no community attributes are advertised to any peer or peer group.
Examples
# In BGP-VPNv4 subaddress family view, specify to advertise community attributes to peer 3.3.3.3.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 3.3.3.3 advertise-community
peer allow-as-loop
Syntax
peer { group-name | ip-address } allow-as-loop [ number ]
undo peer { group-name | ip-address } allow-as-loop
View
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view
Default Level
2: System level
Parameters
group-name: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: IP address of the peer.