648
C
HAPTER
6: R
OUTING
P
ROTOCOL
Description
Using the peer advertise-community command, you can enable the transmission
of the community attribute to a peer/peer group. Using the undo peer
advertise-community command, you can cancel the existing configuration.
By default, the community attribute is not transmitted to any peer/peer group.
For the related commands, see if-match community-list and apply community.
Example
Enable the transmission of the community attribute to a peer group "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, VPNv4 view, VPN instance view
Parameter
■
group-name: Specifies the name of peer group.
■
peer-address: Specifies the IP address of the peer.
■
number: Specifies the repeating times of local AS number. The range is 1 to 10.
Description
Using the peer allow-as-loop command, you can configure the repeating time of
local AS. Using the undo peer allow-as-loop command, you can remove the
repeating time of local AS.
For the related command, see display current-configuration, display bgp
routing-table peer, and display bgp routing-table group.
Example
Specify to configure the repeating times of local AS to 2.
[3Com-bgp] peer 1.1.1.1 allow-as-loop 2
peer as-number
Syntax
peer {
group-name
} as-number
as-number
undo peer {
group-name
} as-number
as-number
View
BGP view
Parameter
■
group-name: Specifies the name of peer group.
■
peer-address: Specifies the IP address of the peer.
■
as-number: Peer AS number of the peer/peer group. The range is 1 to 65535.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...