- 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 | 140.66 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······································································································································· 6
multicast ipv6 boundary················································································································································· 7
multicast ipv6 forwarding on-demand························································································································ 9
multicast ipv6 forwarding-table downstream-limit··································································································· 9
multicast ipv6 forwarding-table route-limit·············································································································· 10
multicast ipv6 load-splitting········································································································································· 11
multicast ipv6 longest-match······································································································································· 11
multicast ipv6 routing-enable······································································································································ 12
multicast ipv6 rpf-fail-pkt bridging···························································································································· 12
multicast ipv6 rpf-fail-pkt trap-to-cpu························································································································· 13
reset multicast ipv6 forwarding-table······················································································································· 14
reset multicast ipv6 routing-table······························································································································· 14
|
NOTE: · The term router in this document refers to both routers and Layer 3 switches. · The switch operates in IRF or standalone (the default) mode. For more information about the IRF mode, see IRF Configuration Guide. |
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: 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.
scope: Displays the IPv6 multicast group boundary information in the admin-scope zone.
scope-id: Specifies the ID of an admin-scope zone 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 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 group
IPv6 multicast boundary information
Boundary Interface
FF03::/16 GigabitEthernet3/0/1
FF09::/16 GigabitEthernet3/0/2
Table 1 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
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: 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: Displays the statistics for the IPv6 multicast forwarding table.
slot slot-id: Displays IPv6 multicast forwarding entries for the card specified 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: Displays the IPv6 multicast forwarding entries of 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 main processing units (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 the display multicast ipv6 forwarding-table command 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 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: GigabitEthernet3/0/1
List of 1 outgoing interfaces:
1: GigabitEthernet3/0/2
Matched 146754 packets(10272780 bytes), Wrong If 0 packets
Forwarded 139571 packets(9769970 bytes)
Table 2 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 indicate 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. |
List of 1 outgoing interfaces: 1: GigabitEthernet3/0/2 |
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 |
Indicates that a register-stop message needs to be sent |
0x2 |
Indicates whether the IPv6 multicast source corresponding to the (S, G) entry is active |
0x4 |
Indicates a null forwarding entry |
0x8 |
Indicates whether the RP is a border router in an IPv6 PIM domain |
0x10 |
Indicates a register outgoing interface is available |
0x400 |
Indicates an (S, G) entry to be deleted |
0x8000 |
Indicates that the (S, G) entry is in smoothening process after active/standby switchover |
0x10000 |
Indicates that the (S, G) entry has been updated during the smoothening process |
0x80000 |
Indicates that the (S, G) entry has been repeatedly updated and need to be deleted before a new entry is added |
0x100000 |
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 } ] * [ | { begin | exclude | include } regular-expression ]
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.
|: 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 the display multicast ipv6 routing-table command to display the 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 the 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 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 ] [ | { begin | exclude | include } regular-expression ]
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.
|: 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 the display multicast ipv6 rpf-info command 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 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: 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 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: · igp—IPv6 unicast route (IGB). · 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. |
Load splitting rule |
Load sharing rule. |
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: 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.
scope-id: Specifies the ID of an admin-scope zone 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 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.
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 carrying out this command on the interface for each multicast address range. These multicast groups must 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 the multicast ipv6 forwarding on-demand command to enable the IPv6 multicast forwarding on-demand function in the VLAN.
Use the undo multicast ipv6 forwarding on-demand command 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 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: 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 from 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 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: Maximum number of entries in the IPv6 multicast forwarding table. The upper limit varies with the system working modes. For more information, see Fundamentals Configuration Guide.
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 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 the multicast ipv6 load-splitting command to enable load splitting of IPv6 multicast traffic.
Use the undo multicast ipv6 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.
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 the multicast ipv6 rpf-fail-pkt bridging command to enable forwarding IPv6 multicast packets in case of RPF check failure on VLAN interfaces.
Use the undo multicast ipv6 rpf-fail-pkt bridging command 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 the multicast ipv6 rpf-fail-pkt trap-to-cpu command to enable sending IPv6 multicast data packets that have failed an RPF check to the CPU.
Use the undo multicast ipv6 rpf-fail-pkt trap-to-cpu command 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: 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
Use the reset multicast ipv6 forwarding-table command 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: 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: 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