- Table of Contents
-
- 04-IP Multicast Volume
- 00-IP Multicast Volume Organization
- 01-Multicast Routing and Forwarding Commands
- 02-IGMP Commands
- 03-PIM Commands
- 04-MSDP Commands
- 05-MBGP Commands
- 06-Multicast VPN Commands
- 07-IGMP Snooping Commands
- 08-Multicast VLAN Commands
- 09-IPv6 Multicast Routing and Forwarding Commands
- 10-MLD Commands
- 11-IPv6 PIM Commands
- 12-IPv6 MBGP Commands
- 13-MLD Snooping Commands
- 14-IPv6 Multicast VLAN Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
09-IPv6 Multicast Routing and Forwarding Commands | 66.52 KB |
Table of Contents
1 IPv6 Multicast Routing and Forwarding Configuration Commands
IPv6 Multicast Routing and Forwarding Configuration Commands
display multicast ipv6 boundary
display multicast ipv6 forwarding-table
display multicast ipv6 routing-table
display multicast ipv6 rpf-info
multicast ipv6 forwarding-table downstream-limit
multicast ipv6 forwarding-table route-limit
reset multicast ipv6 forwarding-table
reset multicast ipv6 routing-table
The term “router” in this document refers to a router in a generic sense or a Layer 3 switch running an IP multicast routing protocol.
IPv6 Multicast Routing and Forwarding Configuration Commands
display multicast ipv6 boundary
Syntax
display multicast ipv6 boundary [ ipv6-group-address [ prefix-length ] ] [ interface interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
ipv6-group-address: IPv6 multicast group address, in the range of FFxy::/16, where x and y represent any hexadecimal number from 0 through F.
prefix-length: Prefix length of an IPv6 multicast group address, in the range of 8 to 128. The system default is 128.
interface-type interface-number: Specifies an interface by its type and number.
Description
Use the display multicast ipv6 boundary command to display the IPv6 multicast boundary information on the specified interface or all interfaces.
Related commands: multicast ipv6 boundary.
Examples
# Display the IPv6 multicast boundary information configured on all interfaces.
<Sysname> display multicast ipv6 boundary
IPv6 multicast boundary information
Boundary Interface
FF03::/16 Vlan1
FF09::/16 Vlan2
Table 1-1 display multicast ipv6 boundary command output description
Field |
Description |
IPv6 multicast boundary information |
IPv6 multicast boundary |
Boundary |
IPv6 multicast group corresponding to the IPv6 multicast boundary |
Interface |
Boundary interface corresponding to the IPv6 multicast boundary |
display multicast ipv6 forwarding-table
Syntax
display multicast ipv6 forwarding-table [ ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { { exclude | include | match } { interface-type interface-number | register } } | statistics | slot slot-number ] * [ port-info ]
View
Any view
Default Level
1: Monitor level
Parameters
ipv6-source-address: IPv6 multicast source address.
ipv6-group-address: IPv6 multicast group address, in the range of FFxy::/16, where x and y represent any hexadecimal number from 0 through F.
prefix-length: Prefix length of an IPv6 multicast group address or an IPv6 multicast source address. For an IPv6 multicast group address, this argument has an effective value range of 8 to 128; for an IPv6 multicast source address, this argument has an effective value range of 0 to 128. The system default is 128 in both cases.
incoming-interface: Displays the forwarding entries whose incoming interface is the specified one.
interface-type interface-number: Specifies an interface by its type and number.
register: Represents a registered interface.
outgoing-interface: Displays the forwarding entries whose outgoing interface is the specified one.
exclude: Displays the forwarding entries whose outgoing interface list excludes the specified interface.
include: Displays the forwarding entries whose outgoing interface list includes the specified interface.
match: Displays the forwarding entries whose outgoing interface list includes and includes only the specified interface.
statistics: Specifies to display the statistics information of the IPv6 multicast forwarding table.
slot slot-number: Specifies the slot number of an interface card. If you do not provide this option, the multicast forwarding table information of the main processing board will be displayed.
port-info: Displays Layer 2 port information.
Description
Use the display multicast ipv6 forwarding-table command to display information of the IPv6 multicast forwarding table.
IPv6 multicast forwarding tables are used to guide multicast forwarding. You can view the state of IPv6 multicast traffic forwarding by checking the IPv6 multicast forwarding table.
Related commands: multicast ipv6 forwarding-table downstream-limit, multicast ipv6 forwarding-table route-limit, display multicast ipv6 routing-table.
Examples
# Display information of the IPv6 multicast forwarding table.
<Sysname> display multicast ipv6 forwarding-table
IPv6 Multicast Forwarding Table
Total 1 entry
Total 1 entry matched
00001. (2000:5::1:1000, FF1E::1234)
MID: 0, Flags: 0x0:0
Uptime: 04:04:37, Timeout in: 00:03:26
Incoming interface: Vlan-interface1
List of 1 outgoing interfaces:
1: Vlan-interface2
Matched 146754 packets(10272780 bytes), Wrong If 0 packets
Forwarded 139571 packets(9769970 bytes)
Table 1-2 display multicast ipv6 forwarding-table command output description
Field |
Description |
IPv6 Multicast Forwarding Table |
IPv6 multicast forwarding table |
Total 1 entry |
Total number of (S, G) entries in the IPv6 multicast forwarding table |
Total 1 entry matched |
Total number of matched (S, G) entries in the IPv6 multicast forwarding table |
00001 |
Sequence number of the (S, G) entry |
(2000:5::1:1000, FF1E::1234) |
An (S, G) entry in the IPv6 multicast forwarding table |
MID |
MID of the (S, G). Each (S, G) entry has a unique MID. |
Flags |
Current state of the (S, G) entry. Different bits are used to indicate different states of the (S, G) entry. For the values and meanings of this field, see Table 1-1. |
Uptime |
Length of time for which the (S, G) entry has been up |
Timeout in |
Length of time in which the (S, G) entry will time out |
Incoming interface |
Incoming interface of the (S, G) entry |
List of 1 outgoing interfaces: 1: Vlan-interface2 |
Outgoing interface list: Interface number: interface type and number |
Matched 146754 packets(10272780 bytes), Wrong If 0 packets |
(S, G)-matched packets (bytes), packets with incoming interface errors |
Forwarded 139571 packets(9769970 bytes) |
(S, G) forwarded IPv6 multicast packets (bytes) |
Table 1-3 Values and meanings of the Flags field
Value |
Meaning |
0x00000001 |
Indicates that a register-stop message needs to be sent. |
0x00000002 |
Indicates whether the IPv6 multicast source corresponding to the (S, G) entry is active. |
0x00000004 |
Indicates a null forwarding entry. |
0x00000008 |
Indicates whether the RP is a border router in an IPv6 PIM domain. |
0x00000010 |
Indicates a register outgoing interface is available. |
0x00000400 |
Indicates an (S, G) entry to be deleted. |
0x00008000 |
Indicates that the (S, G) entry is in smoothening process after active/standby switchover. |
0x00010000 |
Indicates that the (S, G) entry has been updated during the smoothening process. |
0x00080000 |
Indicates that the (S, G) entry has been repeatedly updated and need to be deleted before a new entry is added. |
0x00100000 |
Indicates that the (S, G) entry was added successfully |
display multicast ipv6 routing-table
Syntax
display multicast ipv6 routing-table [ ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { { exclude | include | match } { interface-type interface-number | register } } ] *
View
Any view
Default Level
1: Monitor level
Parameters
ipv6-source-address: Multicast source address.
ipv6-group-address: IPv6 multicast group address, in the range of FFxy::/16, where x and y represent any hexadecimal number from 0 through F.
prefix-length: Prefix length of a multicast group address or an IPv6 multicast source address. For an IPv6 multicast group address, this argument has an effective value range of 8 to 128; for an IPv6 multicast source address, this argument has an effective value range of 0 to 128. The system default is 128 in both cases.
incoming-interface: Displays routing entries whose incoming interface is the specified one.
interface-type interface-number: Specifies an interface by its name and number.
register: Represents a registered interface.
outgoing-interface: Displays routing entries of which the outgoing interface is the specified one.
exclude: Displays routing entries whose outgoing interface list excludes the specified interface.
include: Displays routing entries whose outgoing interface list includes the specified interface.
match: Displays routing entries whose outgoing interface list includes only the specified interface.
Description
Use the display multicast ipv6 routing-table command to display the information of an IPv6 multicast routing table.
IPv6 multicast routing tables are the basis of IPv6 multicast forwarding. You can view the establishment state of an (S, G) entry by checking the IPv6 multicast routing table.
Related commands: display multicast ipv6 forwarding-table.
Examples
# Display the information of an IPv6 multicast routing table.
<Sysname> display multicast ipv6 routing-table
IPv6 multicast routing table
Total 1 entry
00001. (2001::2, FFE3::101)
Uptime: 00:00:14
Upstream Interface: Vlan-interface1
List of 1 downstream interface
1: Vlan-interface2
Table 1-4 display multicast ipv6 routing-table command output description
Field |
Description |
IPv6 multicast routing table |
IPv6 multicast routing table |
Total 1 entry |
Total number of (S, G) entries in the IPv6 multicast routing table |
00001 |
Sequence number of the (S, G) entry |
(2001::2, FFE3::101) |
An (S, G) entry in the IPv6 multicast forwarding table |
Uptime |
Length of time for which the (S, G) entry has been up. |
Upstream interface |
Upstream interface of the (S, G) entry. Multicast packets should arrive through this interface. |
List of 2 downstream interfaces |
Downstream interface list. These interfaces need to forward multicast packets. |
display multicast ipv6 rpf-info
Syntax
display multicast ipv6 rpf-info ipv6-source-address [ ipv6-group-address ]
View
Any view
Default Level
1: Monitor level
Parameters
ipv6-source-address: IPv6 multicast source address.
ipv6-group-address: IPv6 multicast group address, in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where x and y represent any hexadecimal number from 0 to F.
Description
Use the display multicast ipv6 rpf-info command to display RPF information of an IPv6 multicast source.
Related commands: display multicast ipv6 routing-table, display multicast ipv6 forwarding-table.
Examples
# Display all RPF information of the multicast source with an IPv6 address 2001::101.
<Sysname> display multicast ipv6 rpf-info 2001::101
RPF information about source 2001::101:
RPF interface: Vlan-interface1, RPF neighbor: 2002::201
Referenced prefix/prefix length: 2001::/64
Referenced route type: igp
Route selection rule: preference-preferred
Load splitting rule: disable
Table 1-5 display multicast ipv6 rpf-info command output description
Field |
Description |
RPF information about source 2001::101 |
RPF information of the IPv6 multicast source 2001::101 |
RPF interface |
Indicates the interface type and number of the RPF interface |
RPF neighbor |
Indicate the IPv6 address of the RPF neighbor |
Referenced prefix/prefix length |
Referenced route and prefix length |
Referenced route type |
Type of the referenced route, which can be any of the following: l igp: IPv6 unicast route (IGB). l egp: IPv6 unicast (EGP). l unicast (direct): IPv6 unicast route (directly connected). l unicast: other IPv6 unicast route (such as IPv6 unicast static route). l mbgp: IPv6 MBGP route. |
Route selection rule |
RPF route selection rule: An RPF route can be selected by the priority of the routing protocol or by the longest match of the destination address in the routing table. |
Load splitting rule |
Load sharing rule |
multicast ipv6 boundary
Syntax
multicast ipv6 boundary ipv6-group-address prefix-length
undo multicast ipv6 boundary { ipv6-group-address prefix-length | all }
View
Interface view
Default Level
2: System level
Parameters
ipv6-group-address: IPv6 multicast group address, in the range of FFxy::/16, where x and y represent any hexadecimal number from 0 through F.
prefix-length: Prefix length of an IPv6 multicast group address, in the range of 8 to 128.
all: Deletes all IPv6 multicast boundaries configured on the interface.
Description
Use the multicast ipv6 boundary command to configure an IPv6 multicast forwarding boundary.
Use the undo multicast ipv6 boundary command to delete the specified IPv6 multicast forwarding boundary or all IPv6 multicast forwarding boundaries.
By default, no multicast forwarding boundary is configured.
Note that:
l A multicast forwarding boundary sets the boundary condition for the IPv6 multicast groups in the specified range. If the destination address of an IPv6 multicast packet matches the set boundary condition, the packet will not be forwarded.
l If an interface needs to act as a forwarding boundary for multiple IPv6 multicast groups, just carry out this command on the interface once for each group.
l Assume that Set A and Set B are both multicast forwarding boundary sets to be configured, and that B is a subset of A. If A has been configured on an interface, it is not allowed to configure B on the interface; if B has been configured on the interface before A is configured, the previously configured B will be removed.
Related commands: display multicast ipv6 boundary.
Examples
# Configure VLAN-interface 100 to be the forwarding boundary of the IPv6 multicast group FF03::101/16.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] multicast ipv6 boundary ff03::101 16
multicast ipv6 forwarding-table downstream-limit
Syntax
multicast ipv6 forwarding-table downstream-limit limit
undo multicast ipv6 forwarding-table downstream-limit
View
System view
Default Level
2: System level
Parameters
limit: Maximum number of downstream nodes (namely the maximum number of outgoing interfaces) for a single entry in the IPv6 multicast forwarding table. The value ranges 0 to 128.
Description
Use the multicast ipv6 forwarding-table downstream-limit command to configure the maximum number of downstream nodes for a single entry in the IPv6 multicast forwarding table.
Use the undo multicast ipv6 forwarding-table downstream-limit command to restore the system default.
By default, the maximum number of downstream nodes for a single entry in the IPv6 multicast forwarding table is the maximum number allowed by the system, namely 128.
Examples
# Set the maximum number of downstream nodes for a single entry in the IPv6 multicast forwarding table to 120.
<Sysname> system-view
[Sysname] multicast ipv6 forwarding-table downstream-limit 120
multicast ipv6 forwarding-table route-limit
Syntax
multicast ipv6 forwarding-table route-limit limit
undo multicast ipv6 forwarding-table route-limit
View
System view
Default Level
2: System level
Parameters
limit: Maximum number of entries in the IPv6 multicast forwarding table. The value ranges from 0 to 512.
Description
Use the multicast ipv6 forwarding-table route-limit command to configure the maximum number of entries in the IPv6 multicast forwarding table.
Use the undo multicast ipv6 forwarding-table route-limit command to restore the system default.
By default, the maximum number of entries in the IPv6 multicast forwarding table is the maximum number allowed by the system, namely 512.
Related commands: display multicast ipv6 forwarding-table.
Examples
# Set the maximum number of entries in the IPv6 multicast forwarding table to 200.
<Sysname> system-view
[Sysname] multicast ipv6 forwarding-table route-limit 200
multicast ipv6 load-splitting
Syntax
multicast ipv6 load-splitting {source | source-group }
undo multicast ipv6 load-splitting
View
System view
Default Level
2: System level
Parameters
source: Specifies to implement IPv6 multicast load splitting on a per-source basis.
source-group: Specifies to implement IPv6 multicast load splitting on a per-source and per-group basis.
Description
Use the multicast load-splitting command to enable load splitting of IPv6 multicast traffic.
Use the undo multicast load-splitting command to disable load splitting of IPv6 multicast traffic.
By default, load splitting of IPv6 multicast traffic is disabled.
Examples
# Enable load splitting of IPv6 multicast traffic on a per-source basis.
<Sysname> system-view
[Sysname] multicast ipv6 load-splitting source
multicast ipv6 longest-match
Syntax
multicast ipv6 longest-match
undo multicast ipv6 longest-match
View
System view
Default Level
2: System level
Parameters
None
Description
Use the multicast ipv6 longest-match command to configure RPF route selection based on the longest match principle, namely to select the route with the longest prefix as the RPF route.
Use the undo multicast ipv6 longest-match command to restore the default.
By default, the route with the highest priority is selected as the RPF route.
Examples
# Configure RPF route selection based on the longest match.
<Sysname> system-view
[Sysname] multicast ipv6 longest-match
multicast ipv6 routing-enable
Syntax
multicast ipv6 routing-enable
undo multicast ipv6 routing-enable
View
System view
Default Level
2: System level
Parameters
None
Description
Use the multicast ipv6 routing-enable command to enable IPv6 multicast routing.
Use the undo multicast ipv6 routing-enable command to disable IPv6 multicast routing.
IPv6 multicast routing is disabled by default.
Note that:
l You must enable IPv6 multicast routing before you can carry out other Layer 3 IPv6 multicast commands.
l The device does not forward any IPv6 multicast packets before IPv6 multicast routing is enabled.
Examples
# Enable IPv6 multicast routing.
<Sysname> system-view
[Sysname] multicast ipv6 routing-enable
reset multicast ipv6 forwarding-table
Syntax
reset multicast ipv6 forwarding-table { { ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | incoming-interface { interface-type interface-number | register } } * | all }
View
User view
Default Level
2: System level
Parameters
ipv6-source-address: IPv6 multicast source address.
ipv6-group-address: IPv6 multicast group address, in the range of FFxy::/16, where x and y represent any hexadecimal number from 0 to F.
prefix-length: Prefix length of an IPv6 multicast group or an IPv6 multicast source address. For an IPv6 multicast group address, this argument has an effective value range of 8 to 128; for an IPv6 multicast source address, this argument has an effective value range of 0 to 128. The system default is 128 in both cases.
incoming-interface: Specifies to clear IPv6 multicast forwarding entries of which the incoming interface is the specified one.
interface-type interface-number: Specifies an interface by its name and number.
register: Specifies the register interface.
all: Clears all forwarding entries from the IPv6 multicast forwarding table.
Description
When a forwarding entry is deleted from the IPv6 multicast forwarding table, the corresponding routing entry is also deleted from the IPv6 multicast routing table.
Related commands: reset multicast IPv6 routing-table, display multicast ipv6 routing-table, display multicast ipv6 forwarding-table.
Examples
# Clear the IPv6 multicast forwarding entries related to the IPv6 multicast group FF03::101 from the IPv6 multicast forwarding table.
<Sysname> reset multicast ipv6 forwarding-table ff03::101
reset multicast ipv6 routing-table
Syntax
reset multicast ipv6 routing-table { { ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | incoming-interface { interface-type interface-number | register } } * | all }
View
User view
Default Level
2: System level
Parameters
ipv6-source-address: IPv6 multicast source address.
ipv6-group-address: IPv6 multicast group address, in the range of FFxy::/16, where x and y represent any hexadecimal number from 0 to F.
prefix-length: Prefix length of an IPv6 multicast group address or an IPv6 multicast source address. For an IPv6 multicast group address, this argument has an effective value range of 8 to 128; for an IPv6 multicast source address, this argument has an effective value range of 0 to 128. The system default is 128 in both cases.
incoming-interface: Clears IPv6 multicast routing entries of which the incoming interface is the specified one.
interface-type interface-number: Specifies an interface by its name and number.
register: Specifies a register interface.
all: Clears all routing entries from the IPv6 multicast routing table.
Description
Use the reset multicast ipv6 routing-table command to clear IPv6 routing entries from the IPv6 multicast routing table.
When a routing entry is deleted from the IPv6 multicast routing table, the corresponding forwarding entry is also deleted from the IPv6 multicast forwarding table.
Related commands: reset multicast ipv6 forwarding-table, display multicast ipv6 forwarding-table, display multicast ipv6 routing-table.
Examples
# Clear the routing entries related to the IPv6 multicast group FF03::101 from the IPv6 multicast routing table.
<Sysname> reset multicast ipv6 routing-table ff03::101