Configuring an IPv6 Multicast Boundary
Pre-configuration Tasks
Before configuring IPv6 multicast load splitting, complete the following tasks:
- Configure an IPv6 unicast routing protocol to ensure normal unicast routing on the IPv6 network.
- Run the multicast ipv6 routing-enable command in the system view to enable enable Layer 3 IPv6 multicast routing globally.
Context
To restrict forwarding of multicast packets sent to a multicast group within a range on an IPv6 multicast network, configure the IPv6 multicast boundary on interfaces. Then multicast packets sent to the group cannot be forwarded through the boundary interfaces.
- Based on a multicast group address range: A multicast forwarding boundary is configured based on group addresses and mask lengths that are configured on an interface. An interface on which a multicast forwarding boundary is configured filters multicast information based only on multicast group addresses.
- Based on a multicast boundary policy: A multicast forwarding boundary is configured based on an ACL on an interface. An interface on which a multicast forwarding boundary is configured filters multicast information based on source addresses, group addresses, or multicast boundary policies in one direction.
Three types of multicast boundary policies can be configured based on the directions of packets to be filtered:
- Inbound multicast boundary policy: controls multicast data importing and receiving on the protocol control plane and forwarding plane to control data that can be imported from other domains to the local domain.
- Outbound multicast boundary policy: controls data packets that can be sent out of the local domain.
- Inbound and outbound multicast boundary policy: has the functions of both an inbound multicast boundary policy and an outbound multicast boundary policy.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Configure an IPv6 multicast forwarding boundary.
Perform one or more of the following operations to configure filter criteria for IPv6 multicast information on a multicast forwarding boundary (multicast information must match all the criteria):
Run the multicast ipv6 boundary { ipv6-group-address ipv6-group-mask-length | scope scope-id } command to configure an IPv6 multicast forwarding boundary based on a group address range.
Run the multicast ipv6 boundary policy { acl6-name acl6-name | basic-acl6-number | advanced-acl6-number } in command to define an inbound IPv6 multicast boundary policy that is used to create an IPv6 multicast forwarding boundary.
Run the multicast ipv6 boundary policy { acl6-name acl6-name | basic-acl6-number | advanced-acl6-number } out command to define an IPv6 outbound multicast boundary policy that is used to create an IPv6 multicast forwarding boundary.
Run the multicast ipv6 boundary policy basic-acl6-number command to define an inbound and outbound IPv6 multicast boundary policy that is used to create an IPv6 multicast forwarding boundary.
Verifying the Configuration
After configuring an IPv6 multicast boundary on interfaces, check the IPv6 multicast routing table and information about the multicast boundary on the interfaces to verify that the IPv6 multicast network can operate normally.
- Run the display multicast ipv6 routing-table [ ipv6-source-address [ ipv6-source-mask-length ] | ipv6-group-address [ ipv6-group-mask-length ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { { exclude | include | match } { interface-type interface-number | register | none } } ] * [ outgoing-interface-number [ number ] ] command to check the IPv6 multicast routing table.
- Run the following commands to check the IPv6 multicast forwarding boundaries configured on specific interfaces:
- display multicast ipv6 boundary [ ipv6-group-address ipv6-group-mask-length | scope scope-id ] [ interface interface-type interface-number ]
- display multicast ipv6 boundary policy [ ipv6-group-address ipv6-source-address | interface interface-type interface-number ] *