Switch 7700 Command reference Guide, v2.0

Table Of Contents
212 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
Description
Use the network command to configure the network routes advertised by the
local BGP.
Use the undo network command to cancel the existing configuration.
By default, there is no networks sent through BGP
Example
Advertise routes to network segment 10.0.0.0/16.
[SW7700-bgp]network 10.0.0.1 255.255.0.0
peer
advertise-community
Syntax
peer { group_name | peer_address } advertise-community
undo peer { group_name | peer_address } advertise-community
View
BGP view
Parameter
group_name: Name of peer group.
peer_address: IP address of the peer.
Description
Use the peer advertise-community command to enable the transmission of
the community attribute to a peer/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/peer group.
Related commands: if-match community-list, apply community.
Example
[SW7700-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: Specify name of the peer group.
peer_address: Specify IP address of the peer.