Configuring mbgp route redistribution, Configure default route redistribution into mbgp – H3C Technologies H3C S7500E Series Switches User Manual

Page 238

Advertising
background image

8-4

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 learns 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

Enable route redistribution from

another routing protocol

import-route protocol

[ { process-id | all-processes }

[ 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 ]

At least one of these approaches

is required.

No route redistribution is

configured by default.

z

The Origin attribute of routes redistributed into the MBGP routing table with the import-route

command is Incomplete.

z

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

IGP.

z

The networks to be injected must exist in the local IP routing table, and using a route policy

makes route control more flexible.

Configure Default Route Redistribution into MBGP

Using the import-route command cannot redistribute any default route into MBGP. This task allows

you to do so.

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

Enter MBGP address family view

ipv4-family multicast

Advertising