Controlling route advertisement and reception, Prerequisites, Configuring mbgp route redistribution – H3C Technologies H3C S10500 Series Switches User Manual

Page 253: Configure default route redistribution into mbgp, Controlling route advertisement and, Reception

Advertising
background image

238

Controlling route advertisement and reception

Prerequisites

You need to configure MBGP basic functions before configuring this task.

Configuring MBGP route redistribution

MBGP can advertise routing information in the local AS to neighboring ASs. It redistributes such routing

information from IGP into its routing table rather than learning the information by itself.
Follow these steps to configure MBGP route redistribution:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv4 MBGP address family
view

ipv4-family multicast

Configure MBGP route
redistribution

Enable route redistribution from
another routing protocol:
import-route protocol [ { process-id
| all-processes } [ allow-direct |

med med-value | route-policy

route-policy-name ] * ]
Inject a network into the MBGP
routing table:
network ip-address [ mask |
mask-length
] [ short-cut |

route-policy route-policy-name ]

Required
Use either command
No route redistribution is
configured by default.
The allow-direct keyword is
available only when the specified

routing protocol is OSPF.

NOTE:

The Origin attribute of routes redistributed into the MBGP routing table with the import-route command
is Incomplete.

The Origin attribute of routes injected into the MBGP routing table with the network command is IGP.

The networks to be injected must exist in the local IP routing table, and using a routing policy makes
route control more flexible.

Configure default route redistribution into MBGP

You cannot use the import-route command to redistribute any default route into the MBGP routing table.

This task allows you to redistribute default routes in another way.
Follow these steps to configure MBGP to redistribute a default route from another protocol:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Advertising