- Table of Contents
-
- 08-IP Multicast Command Reference
- 00-Preface
- 01-IGMP Snooping Commands
- 02-PIM Snooping Commands
- 03-Multicast VLAN Commands
- 04-Multicast Routing and Forwarding Commands
- 05-IGMP Commands
- 06-PIM Commands
- 07-MSDP Commands
- 08-MBGP Commands
- 09-Multicast VPN Commands
- 10-MLD Snooping Commands
- 11-IPv6 PIM Snooping Commands
- 12-IPv6 Multicast VLAN Commands
- 13-IPv6 Multicast Routing and Forwarding Commands
- 14-MLD Commands
- 15-IPv6 PIM Commands
- 16-IPv6 MBGP Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
13-IPv6 Multicast Routing and Forwarding Commands | 115.99 KB |
Contents
IPv6 multicast routing and forwarding configuration commands··························································································· 1
display multicast ipv6 boundary·································································································································· 1
display multicast ipv6 forwarding-table····················································································································· 2
display multicast ipv6 routing-table····························································································································· 5
display multicast ipv6 rpf-info······································································································································· 7
multicast ipv6 boundary················································································································································· 8
multicast ipv6 forwarding on-demand························································································································ 9
multicast ipv6 forwarding-table downstream-limit································································································· 10
multicast ipv6 forwarding-table route-limit·············································································································· 11
multicast ipv6 load-splitting········································································································································· 11
multicast ipv6 longest-match······································································································································· 12
multicast ipv6 routing-enable······································································································································ 12
multicast ipv6 rpf-fail-pkt bridging···························································································································· 13
multicast ipv6 rpf-fail-pkt trap-to-cpu························································································································· 13
reset multicast ipv6 forwarding-table······················································································································· 14
reset multicast ipv6 routing-table······························································································································· 15
The term "router" in this document refers to both routers and Layer 3 switches.
display multicast ipv6 boundary
Syntax
display multicast ipv6 boundary { group [ ipv6-group-address [ prefix-length ] ] | scope [ scope-id ] } [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
group: Displays the IPv6 multicast boundary information for the specified group.
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
prefix-length: Specifies the address prefix length in the range of 8 to 128. The default is 128.
scope: Displays the IPv6 multicast group boundary information in the admin-scope zone.
scope-id: Specifies an admin-scope zone ID in the range of 3 to 15, which is identified by the scope field in the IPv6 multicast group address.
interface-type interface-number: Specifies an interface by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display multicast ipv6 boundary to display IPv6 multicast boundary information on the specified interface or all interfaces.
Related commands: multicast ipv6 boundary.
Examples
# Display IPv6 multicast boundary information configured on all interfaces.
<Sysname> display multicast ipv6 boundary group
IPv6 multicast boundary information
Boundary Interface
FF03::/16 GigabitEthernet3/0/1
FF09::/16 GigabitEthernet3/0/2
Table 1 Command output
Field |
Description |
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
In standalone mode:
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 ] [ | { begin | exclude | include } regular-expression ]
In IRF mode:
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 | chassis chassis-number slot slot-number ] * [ port-info ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ipv6-source-address: Specifies an IPv6 multicast source address.
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
prefix-length: Specifies the address prefix length. The default is 128. For an IPv6 multicast group address, the value range for this argument is 8 to 128. For an IPv6 multicast source address, the value range for this argument is 0 to 128.
incoming-interface: Specifies the IPv6 forwarding entries that include the specified incoming interface.
interface-type interface-number: Specifies an interface by its type and number.
register: Specifies the Ipv6 multicast forwarding entries that include the registered incoming interface of PIM-SM.
outgoing-interface: Specifies the IPv6 forwarding entries that include the specified outgoing interface.
exclude: Specifies the IPv6 forwarding entries that do not include the specified interface in the outgoing interface list.
include: Specifies the IPv6 forwarding entries that include the specified interface in the outgoing interface list.
match: Specifies the IPv6 forwarding entries that include only the specified interface in the outgoing interface list.
statistics: Displays statistics for the IPv6 multicast forwarding table.
slot slot-id: Specifies a card by its slot number. If no slot is specified, the command displays the IPv6 multicast forwarding entries on the main board. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument refers to the ID of the IRF member device, and the slot-number argument refers to the number of the slot where the card resides. If this option is not specified, the command displays the IPv6 multicast forwarding table information of all MPUs in the IRF member device. To obtain the chassis number and slot number, you can use the display device command. (In IRF mode.)
port-info: Displays Layer 2 port information.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display multicast ipv6 forwarding-table to display information about the IPv6 multicast forwarding table.
IPv6 multicast forwarding tables guide multicast forwarding. You can view the state of IPv6 multicast traffic forwarding by checking the IPv6 multicast forwarding table.
Related commands: display multicast ipv6 routing-table, multicast ipv6 forwarding-table downstream-limit, and multicast ipv6 forwarding-table route-limit.
Examples
# Display information about the IPv6 multicast forwarding table.
<Sysname> display multicast ipv6 forwarding-table
IPv6 Multicast Forwarding Table
Total 2 entries
Total 2 entries 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-interface20
List of 1 outgoing interfaces:
1: Vlan-interface50
Matched 146754 packets(10272780 bytes), Wrong If 0 packets
Forwarded 139571 packets(9769970 bytes)
00002. (1000::2, FF1F::1)
MID: 1198, Flags: 0x100000:0
Uptime: 00:02:12, Timeout in: 00:03:19
Incoming interface: Vlan-interface30 (subvlan: 31)
List of 1 outgoing interfaces:
1: Vlan-interface60
Matched 10 packets(75 bytes), Wrong If 0 packets
Forwarded 10 packets(75 bytes)
Table 2 Command output
Field |
Description |
IPv6 Multicast Forwarding Table |
IPv6 multicast forwarding table. |
Total 2 entries |
Total number of (S, G) entries in the IPv6 multicast forwarding table. |
Total 2 entries 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) |
(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 represent different states of the (S, G) entry. For major values of this field, see Table 3. |
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. |
subvlan |
If the incoming interface of the (S, G) entry is a super VLAN interface, this field displays sub VLAN where the incoming interface resides. · If the IPv6 multicast source matches an ND entry of the sub VLAN, the field displays VLAN ID of this sub VLAN. · If the IPv6 multicast source does not match an ND entry of the sub VLAN, or the sub VLAN that learned the matched ARP entry does not belong to the super VLAN, this field displays unknown. |
List of 1 outgoing interfaces: 1: Vlan-interface50 |
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 3 Major values of the Flags field
Value |
Meaning |
0x1 |
A register-stop message needs to be sent. |
0x2 |
Whether the IPv6 multicast source corresponding to the (S, G) entry is active. |
0x4 |
Null forwarding entry. |
0x8 |
Whether the RP is a border router in an IPv6 PIM domain. |
0x10 |
A register outgoing interface is available. |
0x400 |
(S, G) entry to be deleted. |
0x8000 |
The (S, G) entry is in smoothening process after active/standby switchover. |
0x10000 |
The (S, G) entry has been updated during the smoothening process. |
0x80000 |
The (S, G) entry has been updated and need to be deleted before a new entry is added. |
0x100000 |
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 } ] * [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ipv6-source-address: Specifies a multicast source address.
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
prefix-length: Specifies the address prefix length. The default is 128. For an IPv6 multicast group address, the value range for this argument is 8 to 128. For an IPv6 multicast source address, the value range for this argument is 0 to 128.
incoming-interface: Specifies the IPv6 forwarding entries that include the specified incoming interface.
interface-type interface-number: Specifies an interface by its type and number.
register: Specifies the Ipv6 multicast forwarding entries that include the registered incoming interface of PIM-SM.
outgoing-interface: Specifies the IPv6 forwarding entries that include the specified outgoing interface.
exclude: Specifies the IPv6 forwarding entries that do not include the specified interfaces in the outgoing interface list.
include: Specifies the IPv6 forwarding entries that include the specified interfaces in the outgoing interface list
match: Specifies the IPv6 forwarding entries that include only the specified interfaces in the outgoing interface list.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display multicast ipv6 routing-table to display information about the 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 information about the 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: GigabitEthernet3/0/1
List of 1 downstream interface
1: GigabitEthernet3/0/2
Table 4 Command output
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) |
(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 ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ipv6-source-address: Specifies an IPv6 multicast source address.
ipv6-group-address: Specifies an 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 numbers from 0 to F.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display multicast ipv6 rpf-info to display RPF information of an IPv6 multicast source.
Related commands: display multicast ipv6 forwarding-table and display multicast ipv6 routing-table.
Examples
# Display all RPF information about 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: GigabitEthernet3/0/1, RPF neighbor: 2002::201
Referenced prefix/prefix length: 2001::/64
Referenced route type: igp
Route selection rule: preference-preferred
Load splitting rule: disable
Table 5 Command output
Field |
Description |
RPF information about source 2001::101 |
RPF information of the IPv6 multicast source 2001::101. |
RPF interface |
Interface type and number of the RPF interface. |
RPF neighbor |
IPv6 address of the RPF neighbor. |
Referenced prefix/prefix length |
Referenced route and prefix length. |
Referenced route type |
Type of the referenced route: · igp—IPv6 unicast route (IGP). · egp—IPv6 unicast (EGP). · unicast (direct)—IPv6 unicast route (directly connected). · unicast—Other IPv6 unicast route (such as IPv6 unicast static route). · 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. |
multicast ipv6 boundary
Syntax
multicast ipv6 boundary { ipv6-group-address prefix-length | scope { scope-id | admin-local | global | organization-local | site-local } }
undo multicast ipv6 boundary { ipv6-group-address prefix-length | scope { scope-id | admin-local | global | organization-local | site-local } | all }
View
Interface view
Default level
2: System level
Parameters
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
prefix-length: Specifies the address prefix length in the range of 8 to 128.
scope-id: Specifies an admin-scope zone ID in the range 3 to 15, which is identified by the scope field in the IPv6 multicast group address.
admin-local: Specifies the scope zone as admin-local, which has a scope ID of 4.
global: Specifies the scope zone as global, which has a scope ID of 14.
organization-local: Specifies the scope zone as organization-local, which has a scope ID of 8.
site-local: Specifies the scope zone as site-local, which has a scope ID of 5.
all: Deletes all IPv6 multicast boundaries configured on the interface.
Description
Use multicast ipv6 boundary to configure an IPv6 multicast forwarding boundary.
Use undo multicast ipv6 boundary to delete the specified IPv6 multicast forwarding boundary or all IPv6 multicast forwarding boundaries.
By default, no multicast forwarding boundary is configured.
A multicast forwarding boundary sets the boundary condition for the IPv6 multicast groups in the specified address range. If the destination address of an IPv6 multicast packet matches the set boundary condition, the packet will not be forwarded.
An interface can act as a forwarding boundary for multiple IPv6 multicast groups in different address ranges. This is implemented by executing this command on the interface for each multicast address range. These multicast groups must be in the same scope. The latest configuration of a scope overwrites the previous one.
Assume that Set A and Set B are both multicast forwarding boundary sets with different address ranges, and that B is a subset of A. If B is configured after A, A still takes effect. If A is configured after B, B will be removed.
Related commands: display multicast ipv6 boundary.
Examples
# Configure VLAN-interface 100 to be the forwarding boundary of the IPv6 multicast groups in the range of FF03::/16.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] multicast ipv6 boundary ff03:: 16
# Configure VLAN-interface 100 to be the forwarding boundary of the IPv6 multicast groups in the admin-local scope.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] multicast ipv6 boundary scope 4
multicast ipv6 forwarding on-demand
Syntax
multicast ipv6 forwarding on-demand
undo multicast ipv6 forwarding on-demand
View
VLAN view
Default level
2: System level
Parameters
None
Description
Use multicast ipv6 forwarding on-demand to enable the IPv6 multicast forwarding on-demand function in the VLAN.
Use undo multicast ipv6 forwarding on-demand to restore the default.
By default, IPv6 multicast forwarding on-demand is disabled.
After using this command in an IPv6 multicast VLAN, you must clear all the MLD snooping multicast group information in the VLAN. Otherwise, this configuration cannot take effect.
After using this command in a non-multicast VLAN with a Layer 3 multicast protocol (MLD or IPv6 PIM) enabled on the corresponding VLAN interface, you must clear the Layer 2 port information of all MLD multicast groups in the VLAN and the MLD multicast group information on the corresponding VLAN interface. Otherwise, this configuration cannot take effect.
This command cannot take effect in an IPv6 non-multicast VLAN with MLD snooping enabled in the VLAN.
Related commands: mld-snooping enable, reset mld group, reset mld group port-info, and reset mld-snooping group.
Examples
# Enable IPv6 multicast forwarding on-demand in VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] multicast ipv6 forwarding on-demand
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: Specifies the maximum number of downstream nodes (the maximum number of outgoing interfaces) for a single entry in the IPv6 multicast forwarding table. The value range for this argument is 0 to 128.
Description
Use multicast ipv6 forwarding-table downstream-limit to configure the maximum number of downstream nodes for a single entry in the IPv6 multicast forwarding table.
Use undo multicast ipv6 forwarding-table downstream-limit to restore the default.
By default, the maximum number of downstream nodes for a single entry in the IPv6 multicast forwarding table is 128.
Related commands: display multicast ipv6 forwarding-table.
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: Specifies the maximum number of entries in the IPv6 multicast forwarding table. The upper limit varies with the system operating modes. For more information, see Fundamentals Configuration Guide.
Description
Use multicast ipv6 forwarding-table route-limit to configure the maximum number of entries in the IPv6 multicast forwarding table.
Use undo multicast ipv6 forwarding-table route-limit to restore the default.
By default, the maximum number of entries in the IPv6 multicast forwarding table is the maximum number allowed by the system.
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 multicast ipv6 load-splitting to enable load splitting of IPv6 multicast traffic.
Use undo multicast ipv6 load-splitting 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 multicast ipv6 longest-match to configure RPF route selection based on the longest match principle.
Use undo multicast ipv6 longest-match 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 multicast ipv6 routing-enable to enable IPv6 multicast routing.
Use undo multicast ipv6 routing-enable to disable IPv6 multicast routing.
IPv6 multicast routing is disabled by default.
You must enable IPv6 multicast routing before you execute other Layer 3 IPv6 multicast commands.
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
multicast ipv6 rpf-fail-pkt bridging
Syntax
multicast ipv6 rpf-fail-pkt bridging
undo multicast ipv6 rpf-fail-pkt bridging
View
System view
Default level
2: System level
Parameters
None
Description
Use multicast ipv6 rpf-fail-pkt bridging to enable forwarding IPv6 multicast packets in case of RPF check failure on VLAN interfaces.
Use undo multicast ipv6 rpf-fail-pkt bridging to restore the default.
By default, IPv6 multicast packets that failed RPF check on a VLAN interface are discarded.
After using this command, you must clear all the entries in the IPv6 multicast forwarding table. Otherwise, this configuration cannot take effect.
Related commands: reset multicast ipv6 forwarding-table.
Examples
# Enable forwarding IPv6 multicast packets that failed RPF check on VLAN interfaces.
<Sysname> system-view
[Sysname] multicast ipv6 rpf-fail-pkt bridging
multicast ipv6 rpf-fail-pkt trap-to-cpu
Syntax
multicast ipv6 rpf-fail-pkt trap-to-cpu
undo multicast ipv6 rpf-fail-pkt trap-to-cpu
View
System view
Default level
2: System level
Parameters
None
Description
Use multicast ipv6 rpf-fail-pkt trap-to-cpu to enable sending IPv6 multicast data packets that have failed an RPF check to the CPU.
Use undo multicast ipv6 rpf-fail-pkt trap-to-cpu to restore the default.
By default, this function is disabled.
After using this command, you must clear all the entries in the IPv6 multicast forwarding table. Otherwise this configuration cannot take effect.
Related commands: reset multicast ipv6 forwarding-table.
Examples
# Configure the device to send IPv6 multicast data packets that have failed an RPF check to the CPU.
<Sysname> system-view
[Sysname] multicast ipv6 rpf-fail-pkt trap-to-cpu
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: Specifies an IPv6 multicast source address.
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
prefix-length: Specifies the address prefix length. The default is 128. For an IPv6 multicast group address, the value range for this argument is 8 to 128. For an IPv6 multicast source address, the value range for this argument is 0 to 128.
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 type and number.
register: Specifies the register interface.
all: Clears all forwarding entries from the IPv6 multicast forwarding table.
Description
Use reset multicast ipv6 forwarding-table to clear forwarding entries from the IPv6 multicast forwarding table.
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: display multicast ipv6 forwarding-table, display multicast ipv6 routing-table, and reset multicast IPv6 routing-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: Specifies an IPv6 multicast source address.
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
prefix-length: Specifies the address prefix length of an IPv6 multicast group address or an IPv6 multicast source address. The default is 128. For an IPv6 multicast group address, the value range for this argument is 8 to 128. For an IPv6 multicast source address, the range for this argument is 0 to 128.
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 type and number.
register: Specifies a register interface.
all: Clears all routing entries from the IPv6 multicast routing table.
Description
Use reset multicast ipv6 routing-table 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: display multicast ipv6 forwarding-table, display multicast ipv6 routing-table, and reset multicast ipv6 forwarding-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