08-IP Multicast Configuration Guide

HomeSupportSwitchesH3C S12500 Switch SeriesConfigure & DeployConfiguration GuidesH3C S12500 Configuration Guides-Release1828P04-6W18208-IP Multicast Configuration Guide
17-IPv6 MBGP Configuration
Title Size Download
17-IPv6 MBGP Configuration 237.83 KB

Contents

Configuring IPv6 MBGP· 1

IPv6 MBGP overview·· 1

IPv6 MBGP configuration task list 1

Configuring basic IPv6 MBGP functions 2

Configuration prerequisites 2

Configuring an IPv6 MBGP peer 2

Configuring a preferred value for routes from a peer or a peer group· 3

Controlling route distribution and reception· 3

Configuration prerequisites 3

Injecting a local IPv6 MBGP route· 3

Configuring IPv6 MBGP route redistribution· 4

Configuring IPv6 MBGP route summarization· 4

Advertising a default route to a peer or peer group· 4

Configuring outbound IPv6 MBGP route filtering· 5

Configuring inbound IPv6 MBGP route filtering· 6

Configuring IPv6 MBGP route dampening· 7

Configuring IPv6 MBGP route attributes 7

Configuration prerequisites 7

Configuring IPv6 MBGP route preferences 7

Configuring the default local preference· 8

Configuring the MED attribute· 8

Configuring the NEXT_HOP attribute· 8

Configuring the AS_PATH attribute· 9

Optimizing IPv6 MBGP networks 9

Configuration prerequisites 9

Configuring IPv6 MBGP soft reset 10

Enabling the IPv6 MBGP ORF capability· 11

Configuring the maximum number of ECMP routes 12

Configuring a large scaled IPv6 MBGP network· 12

Configuration prerequisites 12

Configuring an IPv6 MBGP peer group· 12

Configuring IPv6 MBGP community· 13

Configuring an IPv6 MBGP route reflector 14

Displaying and maintaining IPv6 MBGP· 14

Displaying IPv6 MBGP· 14

Resetting IPv6 MBGP connections 16

Clearing IPv6 MBGP information· 16

IPv6 MBGP configuration example· 16

 


The term "router" in this chapter refers to both routers and Layer 3 switches.

This chapter covers only configuration tasks related to multiprotocol BGP for IPv6 multicast. For BGP and IPv6 BGP related information, see Layer 3—IP Routing Configuration Guide.

IPv6 MBGP overview

BGP-4 can carry routing information for IPv4 only. IETF defined multiprotocol BGP extensions to carry routing information for multiple network layer protocols.

On an IPv6 network, the IPv6 multicast topology must be different from the IPv6 unicast topology. To meet the requirement, the multiprotocol BGP extensions enable IPv6 BGP to carry the IPv6 unicast Network Layer Reachability Information (NLRI) and IPv6 multicast NLRI separately, and the multicast NLRI performs reverse path forwarding (RPF) exclusively. In this way, route selection for a destination through the IPv6 unicast routing table and through the IPv6 multicast routing table will have different results, ensuring the normal unicast and multicast operation across ASs. For information about RPF, see "Configuring multicast routing and forwarding."

Multiprotocol BGP is defined in RFC 2858 (Multiprotocol Extensions for BGP-4).

Multiprotocol BGP for IPv6 multicast is called "IPv6 MBGP."

IPv6 MBGP configuration task list

Task

Remarks

Configuring basic IPv6 MBGP functions

Configuring an IPv6 MBGP peer

Required.

Configuring a preferred value for routes from a peer or a peer group

Optional.

Controlling route distribution and reception

Injecting a local IPv6 MBGP route

Optional.

Configuring IPv6 MBGP route redistribution

Optional.

Configuring IPv6 MBGP route summarization

Optional.

Advertising a default route to a peer or peer group

Optional.

Configuring outbound IPv6 MBGP route filtering

Optional.

Configuring inbound IPv6 MBGP route filtering

Optional.

Configuring IPv6 MBGP route dampening

Optional.

Configuring IPv6 MBGP route attributes

Configuring IPv6 MBGP route preferences

Optional.

Configuring the default local preference

Configuring the MED attribute

Configuring the NEXT_HOP attribute

Optional.

Configuring the AS_PATH attribute

Optional.

Optimizing IPv6 MBGP networks

Configuring IPv6 MBGP soft reset

Optional.

Enabling the IPv6 MBGP ORF capability

Optional.

Configuring the maximum number of ECMP routes

Optional.

Configuring a large scaled IPv6 MBGP network

Configuring an IPv6 MBGP peer group

Optional.

Configuring IPv6 MBGP community

Optional.

Configuring an IPv6 MBGP route reflector

Optional.

 

Configuring basic IPv6 MBGP functions

Configuration prerequisites

IPv6 MBGP is an application of multiprotocol BGP. Before you configure IPv6 MBGP, complete the following tasks:

·     Enable IPv6.

·     Configure network layer addresses for interfaces.

·     Complete BGP basic configuration.

Configuring an IPv6 MBGP peer

To configure an IPv6 MBGP peer

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enable BGP and enter BGP view.

bgp as-number

Not enabled by default.

3.     Enter IPv6 address family view.

ipv6-family

N/A

4.     Specify a IPv6 BGP peer and its AS number.

peer ipv6-address as-number as-number

Not configured by default.

5.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

6.     Enable the IPv6 MBGP peer.

peer ipv6-address enable

Not enabled by default.

 

Configuring a preferred value for routes from a peer or a peer group

If you both reference a routing policy and use the command peer { ipv6-group-name | ipv6-address } preferred-value value to set a preferred value for routes from a peer or a peer group, the routing policy sets the specific preferred value for routes that match it. Other routes that do not match the routing policy use the value set through the command. If the preferred value in the routing policy is 0, the routes that match it will also use the value set through the peer { ipv6-group-name | ipv6-address } preferred-value value command. For information about using a routing policy to set a preferred value, see Layer 3—IP Routing Command Reference.

To configure a preferred value for routes from a peer or a peer group:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Specify a preferred value for routes received from the IPv6 MBGP peer or peer group.

peer { ipv6-group-name | ipv6-address } preferred-value value

Optional.

The preferred value defaults to 0.

 

Controlling route distribution and reception

Configuration prerequisites

Before you configure this task, complete the following tasks:

1.     Enable IPv6.

2.     Configure basic IPv6 MBGP functions.

Injecting a local IPv6 MBGP route

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Inject a network to the IPv6 MBGP routing table.

network ipv6-address prefix-length [ route-policy route-policy-name | short-cut ]

Not injected by default.

 

Configuring IPv6 MBGP route redistribution

Step

Command

Description

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP multicast address family view.

ipv6-family multicast

N/A

4.     Enable default route redistribution into the IPv6 MBGP routing table.

default-route imported

Optional.

By default, default route redistribution is not allowed.

5.     Enable route redistribution from another routing protocol.

import-route protocol [ process-id [ med med-value | route-policy route-policy-name ] * ]

Not enabled by default.

If the default-route imported command is not configured, using the import-route command cannot redistribute any IGP default route.

 

Configuring IPv6 MBGP route summarization

To reduce the routing table size on medium and large BGP networks, you must configure route summarization on IPv6 MBGP routers. BGP supports only manual summarization of IPv6 multicast routes.

To configure IPv6 MBGP route summarization:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Configure manual route summarization.

aggregate ipv6-address prefix-length [ as-set | attribute-policy route-policy-name | detail-suppressed | origin-policy route-policy-name | suppress-policy route-policy-name ]*

Not configured by default.

 

Advertising a default route to a peer or peer group

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Advertise a default route to an IPv6 MBGP peer or peer group.

peer { ipv6-group-name | ipv6-address } default-route-advertise [ route-policy route-policy-name ]

Not advertised by default.

With the peer default-route-advertise command executed, the router sends a default route with the next hop as itself to the specified IPv6 MBGP peer or the specified peer group, regardless of whether the default route is available in the routing table.

 

Configuring outbound IPv6 MBGP route filtering

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Configure outbound IPv6 MBGP route filtering.

·     Configure the filtering of outgoing routes:
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ protocol process-id ]

·     Specify an IPv6 ACL to filter routes advertised to a peer or a peer group:
peer { ipv6-group-name | ipv6-address } filter-policy acl6-number export

·     Specify an AS path list to filter IPv6 MBGP routing information advertised to a peer or a peer group:
peer { ipv6-group-name | ipv6-address } as-path-acl as-path-acl-number export

·     Specify an IPv6 prefix list to filter routes advertised to a peer or a peer group:
peer { ipv6-group-name | ipv6-address } ipv6-prefix ipv6-prefix-name export

·     Apply a routing policy to routes advertised to a peer or a peer group:
peer { ipv6-group-name | ipv6-address } route-policy route-policy-name export

Use any of the methods.

By default, no filtering is configured.

You can configure filter policies as required. If you configure multiple filter policies, they are applied in the following order:

1.     filter-policy export.

2.     peer filter-policy export.

3.     peer as-path-acl export.

4.     peer ipv6-prefix export.

5.     peer route-policy export.

A filter policy can be applied only after the previous one is passed. Routing information can be advertised only after passing all the configured filter policies.

 

 

NOTE:

·     Members of an IPv6 MBGP peer group must have the same outbound route filtering policy as the peer group.

·     IPv6 BGP advertises redistributed routes that pass the specified policy to the IPv6 MBGP peer.

 

Configuring inbound IPv6 MBGP route filtering

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Configure IPv6 MBGP inbound route filtering.

·     Configure inbound route filtering:
filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import

·     Apply a routing policy to routes from a peer or a peer group:
peer { ipv6-group-name | ipv6-address } route-policy route-policy-name import

·     Specify an IPv6 ACL to filter routes from a peer or a peer group:
peer { ipv6-group-name | ipv6-address } filter-policy acl6-number import

·     Specify an AS path list to filter IPv6 BGP routing information from a peer or a peer group:
peer { ipv6-group-name | ipv6-address } as-path-acl as-path-acl-number import

·     Specify an IPv6 prefix list to filter routes from a peer or a peer group:
peer { ipv6-group-name | ipv6-address } ipv6-prefix ipv6-prefix-name import

Use any of the methods.

By default, advertised routes are not filtered.

You can configure a filtering policy as required.

If you configure several filtering policies, they are applied in the following sequence:

1.     filter-policy import.

2.     peer filter-policy import.

3.     peer as-path-acl import.

4.     peer ip-prefix import.

5.     peer route-policy import.

A filter policy can be applied only after the previous one is passed. Routing information can be received only after passing all the configured filter policies.

5.     Specify the upper limit of prefixes that can be imported from a peer or a peer group.

peer { ipv6-group-name | ipv6-address } route-limit limit [ percentage ]

Optional.

The number is unlimited by default.

 

 

NOTE:

A peer can have an inbound route filtering policy that is different from the policy of the peer group that it belongs to. That is, peer group members can have different inbound route filtering policies.

 

Configuring IPv6 MBGP route dampening

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Configure IPv6 MBGP route dampening parameters.

dampening [ half-life-reachable half-life-unreachable reuse suppress ceiling | route-policy route-policy-name ]*

Optional.

Not configured by default.

 

Configuring IPv6 MBGP route attributes

This section describes how to use IPv6 MBGP route attributes to affect IPv6 MBGP route selection. IPv6 MBGP route attributes involve the following:

·     IPv6 MBGP protocol preference

·     Default LOCAL_PREF attribute

·     MED attribute

·     NEXT_HOP attribute

·     AS_PATH attribute

Configuration prerequisites

Before you configure IPv6 MBGP route attributes, complete the following tasks:

·     Enable IPv6.

·     Configure basic IPv6 MBGP functions.

Configuring IPv6 MBGP route preferences

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Configure preferences for external, internal, and local IPv6 MBGP routes.

preference { external-preference internal-preference local-preference | route-policy route-policy-name }

Optional.

The default preference values of external, internal, and local routes are 255, 255, and 130.

 

Configuring the default local preference

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Set the default local preference.

default local-preference value

Optional.

By default, the default local preference is 100.

 

Configuring the MED attribute

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Configure a default MED value.

default med med-value

Optional.

0 by default.

5.     Enable the comparison of the MED for routes from different ASs.

compare-different-as-med

Optional.

Not enabled by default.

6.     Enable the comparison of the MED for routes from each AS.

bestroute compare-med

Optional.

Disabled by default.

7.     Enable the comparison of the MED for routes from confederation peers.

bestroute med-confederation

Optional.

Disabled by default.

 

Configuring the NEXT_HOP attribute

You can use the peer next-hop-local command to specify the local router as the next hop of routes sent to an IPv6 multicast IBGP peer or a peer group. If load balancing is configured, the router specifies itself as the next hop of routes sent to the IPv6 multicast IBGP peer or a peer group regardless of whether the peer next-hop-local command is configured.

In a third-party next-hop network—that is, the local router has two IPv6 multicast EBGP peers in a broadcast network—the router does not specify itself as the next hop of routes sent to the EBGP peers by default.

To specify the router as the next hop of routes sent to a peer or a peer group:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Configure the router as the next hop of routes sent to the peer or the peer group.

peer { ipv6-group-name | ipv6-address } next-hop-local

Optional.

By default, IPv6 MBGP specifies the local router as the next hop for routes sent to an EBGP peer or a peer group, but not for routes sent to an IBGP peer or a peer group.

 

Configuring the AS_PATH attribute

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Allow the local AS number to appear in the as-path of routes from a peer or a peer group and specify the number of times that the local AS number can appear in the AS path of routes from the peer or the peer group.

peer { ipv6-group-name | ipv6-address } allow-as-loop [ number ]

Optional.

Not allowed by default.

5.     Disable IPv6 MBGP from considering the AS path during best route selection.

bestroute as-path-neglect

Optional.

Enabled by default.

6.     Configure updates to a peer or a peer group to carry only the public AS number.

peer { ipv6-group-name | ipv6-address } public-as-only

Optional.

By default, outbound IPv6 MBGP updates can carry private AS numbers.

 

Optimizing IPv6 MBGP networks

Configuration prerequisites

Before you tune and optimize an OSPF network, complete the following tasks:

·     Enable IPv6.

·     Configure basic IPv6 MBGP functions.

Configuring IPv6 MBGP soft reset

After you modifying a route selection policy, you must reset IPv6 MBGP connections to make the new one take effect.

The current IPv6 MBGP implementation supports the route-refresh feature that enables dynamic route refresh without terminating IPv6 MBGP connections.

If a peer that does not support route-refresh exists in the network, you must configure the peer keep-all-routes command to save all routes from the peer. When the routing policy is changed, the system will update the IPv6 MBGP routing table and apply the new policy.

Performing soft reset through route refresh

If the peer is enabled with route refresh, when the IPv6 MBGP route selection policy is modified on a router, the router advertises a route-refresh message to its IPv6 MBGP peers, which resend their routing information to the router after they receive the message. Therefore, the local router can perform dynamic route update and apply the new policy without terminating IPv6 MBGP connections.

To configure IPv6 MBGP soft reset through route refresh:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 address family view.

ipv6-family

N/A

4.     Enable IPv6 BGP route refresh for a peer or a peer group.

peer { ipv6-group-name | ipv6-address } capability-advertise route-refresh

Optional.

Enabled by default.

 

Performing soft reset manually

If the peer does not support route refresh, you can use the peer keep-all-routes command to save all the route updates from the peer, and then use the refresh bgp ipv6 multicast command to soft-reset IPv6 MBGP connections to refresh the IPv6 MBGP routing table and apply the new policy without terminating IPv6 MBGP connections.

To perform soft reset manually:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 address family view.

ipv6-family

N/A

4.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

5.     Keep all routes from a peer or a peer group regardless of whether they pass the inbound filtering policy.

peer { ipv6-group-name | ipv6-address } keep-all-routes

Not kept by default.

6.     Perform soft reset manually.

refresh bgp ipv6 multicast { all | ipv6-address | group ipv6-group-name | external | internal } { export | import }

Optional.

 

Enabling the IPv6 MBGP ORF capability

The BGP Outbound Route Filter (ORF) feature enables a BGP speaker to send a set of ORFs to its BGP peer through route-refresh messages. The peer then applies the ORFs, in addition to its local routing policies (if any), to filter updates to the BGP speaker, thus reducing the number of exchanged update messages and saving network resources.

After you enable the ORF capability, the local BGP router negotiates the ORF capability with the BGP peer through open messages. That is, the router determines whether to carry ORF information in messages, and if yes, whether to carry non-standard ORF information in the packets. After completing the negotiation process and establishing the neighboring relationship, the BGP router and its BGP peer can exchange ORF information through specific route-refresh messages.

For the parameters configured on both sides for ORF capability negotiation, see Table 1.

To enable the IPv6 MBGP ORF capability:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 address family view.

ipv6-family

N/A

4.     Enable BGP route refresh for a peer or a peer group.

peer { group-name | ipv6-address } capability-advertise route-refresh

Optional.

Enabled by default.

If this feature is not enabled, you must configure this command.

5.     Enable the non-standard ORF capability for a BGP peer or a peer group.

peer { group-name | ipv6-address } capability-advertise orf non-standard

Optional.

By default, standard BGP ORF capability defined in RFC 5291 and RFC 5292 is supported.

If this feature is not enabled, you must configure this command.

6.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

7.     Enable the ORF IP prefix negotiation capability for a BGP peer or a peer group.

peer { group-name | ipv6-address } capability-advertise orf ip-prefix { both | receive | send }

Not enabled by default.

 

Table 1 Description of the send, receive, and both parameters and the negotiation result

Local parameter

Peer parameter

Negotiation result

send

·     receive

·     both

The ORF sending capability is enabled locally and the ORF receiving capability is enabled on the peer.

receive

·     send

·     both

The ORF receiving capability is enabled locally and the ORF sending capability is enabled on the peer.

both

both

Both the ORF sending and receiving capabilities are enabled locally and on the peer.

 

Configuring the maximum number of ECMP routes

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Configure the maximum number of ECMP routes for load balancing.

balance number

By default, load balancing is disabled.

 

Configuring a large scaled IPv6 MBGP network

Configuration prerequisites

Before you configure the following tasks, you must configure basic IPv6 MBGP functions.

Configuring an IPv6 MBGP peer group

For easy management and configuration, you can organize some IPv6 MBGP peers that have the same route update policy into a peer group. A policy configured for a peer group applies to all the members in the group.

To create an IPv6 MBGP peer group, you must enable an existing IPv6 unicast peer group in IPv6 MBGP address family view.

Before adding an IPv6 MBGP peer to the IPv6 MBGP peer group, you must add the corresponding IPv6 BGP unicast peer to the corresponding IPv6 BGP unicast peer group.

To configure an IPv6 MBGP peer group:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 address family view.

ipv6-family

N/A

4.     Create an IPv6 BGP peer group.

group ipv6-group-name [ external | internal ]

N/A

5.     Add a peer to the peer group.

peer ipv6-address group ipv6-group-name [ as-number as-number ]

No peer added by default.

6.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

7.     Enable the configured IPv6 unicast BGP peer group to create the IPv6 MBGP peer group.

peer ipv6-group-name enable

N/A

8.     Add the IPv6 MBGP peer into the peer group.

peer ipv6-address group ipv6-group-name

No peer added by default.

 

Configuring IPv6 MBGP community

A peer group enables a group of peers to share the same policy, and a community enables a group of IPv6 MBGP routers in multiple ASs to share the same policy.  The COMMUNITY attribute is propagated among IPv6 MBGP peers and not restricted to AS boundaries.

You must configure a routing policy to define the COMMUNITY attribute, and apply the policy to outgoing routes.

You can reference a routing policy to modify the COMMUNITY attribute for routes sent to a peer. In addition, you can define extended community attributes as required. For more information about routing policy configuration, see Layer 3IP Routing Configuration Guide.

To advertise the COMMUNITY attribute to an IPv6 MBGP peer or a peer group:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Advertise the COMMUNITY attribute to an IPv6 MBGP peer or a peer group.

peer { ipv6-group-name | ipv6-address } advertise-community

By default, no COMMUNITY attribute advertised to any peer group/peer.

5.     Advertise the extended community attribute to an IPv6 MBGP peer or a peer group.

peer { ipv6-group-name | ipv6-address } advertise-ext-community

By default, no extended community attribute advertised to any peer or peer group by default.

6.     Apply a routing policy to routes sent to an IPv6 MBGP peer or a peer group.

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

Not configured by default.

 

Configuring an IPv6 MBGP route reflector

To guarantee connectivity between IPv6 multicast IBGP peers, you must make them fully meshed. However, this becomes unpractical when too many IPv6 multicast IBGP peers exist. Using route reflectors can solve the problem.

The clients of a route reflector should not be fully meshed, and the route reflector reflects the routes of a client to the other clients. If the clients are fully meshed, you must disable route reflection between clients to reduce routing costs.

If a cluster has multiple route reflectors, you must specify the same cluster ID for these route reflectors to avoid routing loops.

To configure an IPv6 BGP route reflector:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter BGP view.

bgp as-number

N/A

3.     Enter IPv6 MBGP address family view.

ipv6-family multicast

N/A

4.     Configure the router as a route reflector and specify an IPv6 MBGP peer or a peer group as its client.

peer { ipv6-group-name | ipv6-address } reflect-client

Not configured by default.

5.     Enable route reflection between clients.

reflect between-clients

Optional.

Enabled by default.

6.     Configure the cluster ID of the route reflector.

reflector cluster-id cluster-id

Optional.

By default, a route reflector uses its router ID as the cluster ID.

 

Displaying and maintaining IPv6 MBGP

Displaying IPv6 MBGP

Task

Command

Remarks

Display IPv6 MBGP peer group information.

display bgp ipv6 multicast group [ ipv6-group-name ] [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 MBGP routing information injected with the network command.

display bgp ipv6 multicast network [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display the IPv6 MBGP AS path information for routes.

display bgp ipv6 multicast paths [ as-regular-expression | | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 MBGP peer information or peer group information.

display bgp ipv6 multicast peer [ [ ipv6-address ] verbose ] [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display the prefix entries in the ORF information for the specified BGP peer.

display bgp ipv6 multicast peer ipv6-address received ipv6-prefix [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 MBGP routing table information.

display bgp ipv6 multicast routing-table [ ipv6-address prefix-length ] [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 MBGP routing information that matches an AS path list.

display bgp ipv6 multicast routing-table as-path-acl as-path-acl-number [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 MBGP routing information with the specified COMMUNITY attribute.

display bgp ipv6 multicast routing-table community [ aa:nn<1-13> ] [ no-advertise | no-export | no-export-subconfed ]* [ whole-match ] [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display routing information matching an IPv6 MBGP community list.

display bgp ipv6 multicast routing-table community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number }&<1-16> [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 MBGP dampened routing information.

display bgp ipv6 multicast routing-table dampened [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 MBGP dampening parameter information.

display bgp ipv6 multicast routing-table dampening parameter [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 MBGP routing information originated from different ASs.

display bgp ipv6 multicast routing-table different-origin-as [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 MBGP routing flap statistics.

display bgp ipv6 multicast routing-table flap-info [ regular-expression as-regular-expression | [ as-path-acl as-path-acl-number | ipv6-address prefix-length [ longer-match ] ] [ | { begin | exclude | include } regular-expression ] ]

Available in any view.

Display the IPv6 MBGP routes received from or advertised to the IPv6 MBGP peer or peer group.

display bgp ipv6 multicast routing-table peer ipv6-address { advertised-routes | received-routes } [ network-address prefix-length | statistic ] [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display IPv6 multicast routing information matching an AS regular expression.

display bgp ipv6 multicast routing-table regular-expression as-regular-expression

Available in any view.

Display IPv6 MBGP routing statistics.

display bgp ipv6 multicast routing-table statistic [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display the IPv6 MBGP routing table information.

display ipv6 multicast routing-table [ verbose ] [ | { begin | exclude | include } regular-expression ]

Available in any view.

Display the multicast routing information for the specified destination address.

display ipv6 multicast routing-table ipv6-address [ prefix-length ] [ longer-match ] [ verbose ] [ | { begin | exclude | include } regular-expression ]

Available in any view.

 

Resetting IPv6 MBGP connections

When you change an IPv6 MBGP routing policy, you can make the new configuration effective by resetting the IPv6 MBGP connections.

 

Task

Command

Remarks

Reset the specified IPv6 MBGP connections.

reset bgp ipv6 multicast { as-number | ipv6-address [ flap-info ] | all | group ipv6-group-name | external | internal }

Available in user view.

 

Clearing IPv6 MBGP information

Task

Command

Remarks

Clear dampened IPv6 MBGP routing information and release suppressed routes.

reset bgp ipv6 multicast dampening [ ipv6-address prefix-length ]

Available in user view.

Clear IPv6 MBGP route flap statistics.

reset bgp ipv6 multicast flap-info [ ipv6-address/prefix-length | regexp as-path-regexp | as-path-acl as-path-acl-number ]

Available in user view.

 

IPv6 MBGP configuration example

IMPORTANT:

By default, Ethernet, VLAN, and aggregate interfaces are down. Before you configure these interfaces, first use the undo shutdown command to bring them up.

 

Network requirements

IPv6 PIM-SM 1 is in AS 100 and IPv6 PIM-SM 2 is in AS 200. OSPFv3 is the IGP in the two ASs, and IPv6 MBGP runs between the two ASs to exchange IPv6 multicast route information.

The IPv6 multicast source belongs to IPv6 PIM-SM 1 and the receiver belongs to IPv6 PIM-SM 2.

The VLAN-interface 101 of Switch A and Switch B must be configured as the C-BSR and C-RP of the IPv6 PIM-SM domains.

Figure 1 Network diagram

Device

Interface

IP address

Device

Interface

IP address

Source

N/A

1002::100/64

Switch C

Vlan-int200

3002::1/64

Switch A

Vlan-int100

1002::1/64

 

Vlan-int102

2001::2/64

 

Vlan-int101

1001::1/64

 

Vlan-int104

3001::1/64

Switch B

Vlan-int101

1001::2/64

Switch D

Vlan-int103

2002::2/64

 

Vlan-int102

2001::1/64

 

Vlan-int104

3001::2/64

 

Vlan-int103

2002::1/64

 

 

 

 

Configuration procedure

1.     Configure IPv6 addresses for interfaces as shown in Figure 1. (Details not shown.)

2.     Configure OSPFv3. (Details not shown.)

3.     Enable IPv6 multicast routing, IPv6 PIM-SM, and MLD, and configure an IPv6 PIM-SM domain border:

# Enable IPv6 multicast routing on Switch A, and enable IPv6 PIM-SM on each interface.

<SwitchA> system-view

[SwitchA] multicast ipv6 routing-enable

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] pim ipv6 sm

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim ipv6 sm

[SwitchA-Vlan-interface101] quit

# Enable IPv6 multicast routing on Switch B and Switch D in the same way, and enable PIM-SM on each interface.

# Enable IPv6 multicast routing on Switch C, enable IPv6 PIM-SM on each interface, and enable MLD on the host-side interface VLAN-interface 200.

<SwitchC> system-view

[SwitchC] multicast ipv6 routing-enable

[SwitchC] interface vlan-interface 102

[SwitchC-Vlan-interface102] pim ipv6 sm

[SwitchC-Vlan-interface102] quit

[SwitchC] interface vlan-interface 104

[SwitchC-Vlan-interface104] pim ipv6 sm

[SwitchC-Vlan-interface104] quit

[SwitchC] interface vlan-interface 200

[SwitchC-Vlan-interface200] pim ipv6 sm

[SwitchC-Vlan-interface200] mld enable

[SwitchC-Vlan-interface200] quit

# Configure an IPv6 PIM domain border on Switch A.

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim ipv6 bsr-boundary

[SwitchA-Vlan-interface101] quit

# Configure an IPv6 PIM domain border on Switch B.

[SwitchB] interface vlan-interface 101

[SwitchB-Vlan-interface101] pim ipv6 bsr-boundary

[SwitchB-Vlan-interface101] quit

4.     Configure the position of C-BSR and C-RP:

# Configure the position of C-BSR and C-RP on Switch A.

[SwitchA] pim ipv6

[SwitchA-pim6] c-bsr 1001::1

[SwitchA-pim6] c-rp 1001::1

[SwitchA-pim6] quit

# Configure the position of C-BSR and C-RP on Switch B.

[SwitchB] pim ipv6

[SwitchB-pim6] c-bsr 1001::2

[SwitchB-pim6] c-rp 1001::2

[SwitchB-pim6] quit

5.     Configure BGP, specify the IPv6 MBGP peer and enable direct route redistribution:

# On Switch A, configure the IPv6 MBGP peer and enable direct route redistribution.

[SwitchA] ipv6

[SwitchA] bgp 100

[SwitchA-bgp] router-id 1.1.1.1

[SwitchA-bgp] ipv6-family

[SwitchA-bgp-af-ipv6] peer 1001::2 as-number 200

[SwitchA-bgp-af-ipv6] import-route direct

[SwitchA-bgp-af-ipv6] quit

[SwitchA-bgp] ipv6-family multicast

[SwitchA-bgp-af-ipv6-mul] peer 1001::2 enable

[SwitchA-bgp-af-ipv6-mul] import-route direct

[SwitchA-bgp-af-ipv6-mul] quit

[SwitchA-bgp] quit

# On Switch B, configure the IPv6 MBGP peers and redistribute OSPF routes.

[SwitchB] ipv6

[SwitchB] bgp 200

[SwitchB-bgp] router-id 2.2.2.2

[SwitchB-bgp] ipv6-family

[SwitchB-bgp-af-ipv6] peer 1001::1 as-number 100

[SwitchB-bgp-af-ipv6] import-route ospfv3 1

[SwitchB-bgp-af-ipv6] quit

[SwitchB-bgp] ipv6-family multicast

[SwitchB-bgp-af-ipv6-mul] peer 1001::1 enable

[SwitchB-bgp-af-ipv6-mul] import-route ospfv3 1

[SwitchB-bgp-af-ipv6-mul] quit

[SwitchB-bgp] quit

6.     Verify the configuration:

Use the display bgp ipv6 multicast peer command to display IPv6 MBGP peers on a switch. For example:

# Display IPv6 MBGP peers on Switch B.

[SwitchB] display bgp ipv6 multicast peer

 

 BGP local router ID : 2.2.2.2

 Local AS number : 200

 Total number of peers : 3                 Peers in established state : 3

 

  Peer        AS  MsgRcvd  MsgSent  OutQ PrefRcv Up/Down  State

 

  1001::1     100       56      56     0       0 00:40:54 Established

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网