Command Manual – Routing Protocol 
Quidway S8500 Series Routing Switches  Chapter 5  BGP Configuration Commands
 
Huawei Technologies Proprietary 
5-31 
Example 
# Advertise routes to the network segment 10.0.0.0/16. 
[Quidway-bgp] network 10.0.0.1 255.255.0.0 
5.1.32  peer advertise-community 
Syntax 
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. 
[Quidway-bgp] peer test advertise-community 
5.1.33  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.