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 { group-name | ipv4-address } route-limit limit [ percentage ] [ alert-only |
idle-forever | idle-timeout times ]
The number of routes received from an MBGP peer or peer group is limited.
The command can be used to control the peer to receive routes. You can configure specific
parameters as required to control BGP after the number of the routes received from a peer exceeds
the threshold.
l alert-only: indicates that only an alarm is generated when the number of routes exceeds the
limit.
l idle-forever: indicates that when the number of routes exceeds the limit, the connection is
not automatically set up until the reset bgp command is used.
l idle-timeout times: indicates the timeout timer for reestablishing the connection
automatically after the number of routes exceeds the limit. times specifies the value of the
timer.
l If the three parameters are not set, the peer relationship is disconnected. The switch retries
setting up a connection after 30 seconds. An alarm is generated and recorded in the log.
----End
9.5.8 Checking the Configuration
After the policy for exchanging routes between MBGP routes is configured, you can check
information about MBGP routing information.
Prerequisites
The configurations of the policy for exchanging routes between MBGP peers are complete.
Procedure
l Run the display bgp multicast routing-table different-origin-as command to check the
routes different from the original AS.
l Run the display bgp multicast routing-table regular-expression as-regular-expression
command to check the routing information that matches the AS regular expression.
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.
572