![Huawei S6700 Series Скачать руководство пользователя страница 584](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517584.webp)
Context
Do as follows on the switch configured with an MBGP peer:
NOTE
The configuration is applicable only to an EBGP peer. By default, an update message can carries private
AS number.
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
Run:
peer
{
ipv4-address
|
group-name
}
public-as-only
A MBGP update message sent to an MBGP peer group or a remote MBGP peer is configured
not to carry private AS number. The public AS number can be directly used on the Internet. The
private AS number cannot be advertised to the Internet, and is used only in the inter-domain.
The parameters of the command are explained as follows:
l
group-name
: specifies an MBGP peer group.
l
ipv4-address
: specifies the IP address of a remote MBGP peer.
----End
9.4.7 Checking the Configuration
After the policy for advertising MBGP routes is configured, you can check information about
MBGP routing information.
Prerequisites
The configurations of the policy for advertising MBGP routes are complete.
Procedure
l
Run the
display bgp multicast routing-table
community
[
aa:nn
|
community-number
]
& <1-29> [
internet
|
no-advertise
|
no-export
|
no-export-subconfed
]
*
[
whole-
match
] command to check the routing information of a specified MBGP community.
l
Run the
display bgp multicast routing-table
community-filter
{ {
community-filter-
name
|
basic-community-filter-number
} [
whole-match
] |
advanced-community-filter-
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.
565