Step 6 (Optional) Run:
default-route imported
Default routes are imported to the MBGP routing table.
By default, no default route is imported to the MBGP routing table.
The default-route imported command needs to work with the import-route command to
import default routes. The default routes cannot be imported by using only the import-route
command. The default-route imported command is used to import the default routes that exist
in the local routing table.
----End
9.3.6 Checking the Configuration
After basic functions of MBGP are configured, you can check information about MBGP peers.
Prerequisites
The configurations of basic MBGP functions are complete.
Procedure
l Run the display bgp multicast peer [ [ ipv4-address ] verbose ] command to check
information about an MBGP peer. If peer-address is not specified, the information about
all MBGP peers is displayed.
l Run the display bgp multicast group [ group-name ] command to check information about
an MBGP peer group.
l Run the display bgp multicast network command to check the routing information to be
advertised by MBGP through network command.
l Run the display bgp multicast routing-table [ network [ { mask | mask-length } [ longer-
prefixes ] ] ] command to check the MBGP routing table.
----End
9.4 Configuring the Policy for Advertising MBGP Routes
You can configure a route advertisement policy to determine which routing information need
be advertised to peers.
9.4.1 Establishing the Configuration Task
Before configuring a policy for advertising MBGP routes, familiarize yourself with the
applicable environment, pre-configuration tasks, and required data. This can help you complete
the configuration task quickly and accurately.
Applicable Environment
A switch configured with the MBGP peer advertises the local routing information to a remote
peer. Based on the actual networking, users can adopt the following policies as required:
l Whether MBGP changes the next hop when advertising a route to IBGP peers
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.
560