![Huawei S6700 Series Скачать руководство пользователя страница 583](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517583.webp)
Context
Do as follows on the switch configured with an MBGP peer:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
bgp
as-number
The BGP view is displayed.
Step 3
Run:
ipv4-family
multicast
The BGP-IPv4 multicast address family view is displayed.
Step 4
(Optional) Run:
peer
{
ipv4-address
|
group-name
}
advertise-community
The local peer is configured to advertise the community attribute to an MBGP peer group or a
remote MBGP peer.
By default, the local peer does not advertise the community attribute.
The parameters of this command are explained as follows:
l
group-name
: specifies the name of an MBGP peer group.
l
ipv4-address
: specifies the IP address for a remote MBGP peer.
l
advertise-community
: advertises the community attribute.
Step 5
(Optional) Run:
peer
{
ipv4-address
|
group-name
}
advertise-ext-community
The local peer is configured to advertise the extended community attribute to an MBGP peer
group or a remote MBGP peer.
By default, the local peer does not advertise the extended community attribute.
The parameters of this command are explained as follows:
l
group-name
: specifies the name of an MBGP peer group.
l
ipv4-address
: specifies the IP address for a remote MBGP peer.
l
advertise-ext-community
: advertises the extended community attribute.
----End
9.4.6 Configuring Update Packets not to Carry Private AS Number
You can configure an MBGP peer to send an Update message without private AS number when
advertising routing information.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
9 MBGP Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
564