Controlling route distribution and reception, Configuration prerequisites, Injecting a local ipv6 mbgp route – H3C Technologies H3C S7500E Series Switches User Manual

Page 406: Controlling route distribution, And reception

Advertising
background image

14-4

To do…

Use the command…

Remarks

Enter IPv6 MBGP address

family view

ipv6-family multicast

Specify a preferred value for

routes received from the IPv6

MBGP peer/peer group

peer { ipv6-group-name |

ipv6-address } preferred-value

value

Optional

The preferred value defaults to

0.

If you both reference a route policy and use the command peer { ipv6-group-name |

ipv6-address } preferred-value value to set a preferred value for routes from a peer/peer group,

the route policy sets a non-zero preferred value for routes matching it. Other routes not

matching the route policy uses the value set with the command. If the preferred value in the

route policy is zero, the routes matching it will also use the value set with the command. For

information about using a route policy to set a preferred value, refer to the peer

{ ipv6-group-name | ipv6-address } route-policy route-policy-name { import | export }

command and the apply preferred-value preferred-value command in Route Policy

Configuration Commands in the Layer 3 - IP Routing Command Reference.

Controlling Route Distribution and Reception

Configuration Prerequisites

Before configuring this task, you need to:

z

Enable IPv6.

z

Configure the IPv6 MBGP basic functions.

Injecting a Local IPv6 MBGP Route

Follow these steps to inject a local IPv6 MBGP route:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 MBGP address

family view

ipv6-family multicast

Inject a network to the IPv6

MBGP routing table

network ipv6-address

prefix-length [ route-policy

route-policy-name | short-cut ]

Required

Not injected by default

Advertising