BGP Configuration Commands
523
peer
Syntax
advertise-community
peer group-name advertise-community
undo peer group-name advertise-community
View
BGP view
Parameter
group-name: Name of a peer group.
Description
Use the peer advertise-community command to enable the transmission of the
community attribute to a peer group.
Use the undo peer advertise-community command to cancel the existing
configuration.
By default, the community attribute is not transmitted to any peer group.
Related command: if-match community-list, apply community.
Example
# Transmit community attribute to the peer group named test.
[3Com-bgp] peer test advertise-community
peer allow-as-loop
Syntax
peer { group-name | peer-address } allow-as-loop [ number ]
undo peer { group-name | peer-address } allow-as-loop
View
BGP view
Parameter
group-name: Specifies name of the peer group.
peer-address: Specifies IP address of the peer.
number: Specifies the repeating times of local AS, ranging from 1 to 10.
Description
Use the peer allow-as-loop command to configure the repeating time of local
AS.
Use the undo peer allow-as-loop command to remove the repeating time of
local AS.
Related command: display current-configuration, display bgp routing-table
peer, display bgp routing-table group.