- 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-Multicast VPN commands
- 09-MLD snooping commands
- 10-IPv6 PIM snooping commands
- 11-IPv6 multicast VLAN commands
- 12-IPv6 multicast routing and forwarding commands
- 13-MLD commands
- 14-IPv6 PIM commands
- Related Documents
-
Title | Size | Download |
---|---|---|
12-IPv6 multicast routing and forwarding commands | 190.60 KB |
Contents
IPv6 multicast routing and forwarding commands
display ipv6 multicast boundary
display ipv6 multicast fast-forwarding cache
display ipv6 multicast flow-statistic
display ipv6 multicast forwarding event
display ipv6 multicast forwarding-table
display ipv6 multicast global pim sm statistics
display ipv6 multicast routing-table
display ipv6 multicast routing-table static
display ipv6 multicast rpf-info
ipv6 multicast forwarding-table cache-unknown per-entry
ipv6 multicast forwarding-table cache-unknown total
ipv6 multicast frr monitor cycle
ipv6 multicast global limit pim sm
ipv6 multicast rpf-fail-pkt flooding
ipv6 multicast rpf-fail-pkt trap-to-cpu
load-splitting (IPv6 MRIB view)
longest-match (IPv6 MRIB view)
reset ipv6 multicast fast-forwarding cache
reset ipv6 multicast forwarding event
reset ipv6 multicast forwarding-table
reset ipv6 multicast routing-table
IPv6 multicast routing and forwarding commands
delete ipv6 rpf-route-static
Use delete ipv6 rpf-route-static to delete all static IPv6 multicast routes.
Syntax
delete ipv6 rpf-route-static [ vpn-instance vpn-instance-name ]
Views
System view
Predefined user roles
network-admin
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command deletes all static IPv6 multicast routes on the public network.
Usage guidelines
This command deletes all static IPv6 multicast routes. To delete a single static IPv6 multicast route, use the undo ipv6 rpf-route-static command.
Examples
# Delete all static IPv6 multicast routes on the public network.
<Sysname> system-view
[Sysname] delete ipv6 rpf-route-static
This will erase all ipv6 multicast static routes and their configurations, you must reconfigure all ipv6 static routes.
Are you sure?[Y/N]:y
Related commands
ipv6 rpf-route-static
display ipv6 mrib interface
Use display ipv6 mrib interface to display information about interfaces maintained by the IPv6 MRIB.
Syntax
display ipv6 mrib [ vpn-instance vpn-instance-name ] interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays information about interfaces maintained by the IPv6 MRIB on the public network.
interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays information about all interfaces maintained by the IPv6 MRIB.
Examples
# Display information about interfaces maintained by the IPv6 MRIB on the public network.
<Sysname> display ipv6 mrib interface
Interface: Ten-GigabitEthernet3/1/1
Index: 0x00004444
Current state: up
MTU: 1500
Type: BROADCAST
Protocol: PIM-DM
PIM protocol state: Enabled
Address list:
1. Local address : FE80:7:11::1/10
Remote address: ::
Reference : 1
State : NORMAL
Interface: Multicast-UA0
Index: 0xd0000001
Current state: up
MTU: 0
Type: MUA
Protocol: MLD
PIM protocol state: Disabled
User ID: 0x1
VLAN ID: 100
Second VLAN ID: 10
Access type: IPoE
Access interface: Ten-GigabitEthernet3/1/1.1
Address list:
1. Local address : ::1/128
Remote address: 0.0.0.0
Reference : 1
State : NORMAL
Table 1 Command output
Field |
Description |
Interface |
Interface name. |
Index |
Index number of the interface. |
Current state |
Current status of the interface: up or down. |
MTU |
MTU value. |
Type |
Interface type: · BROADCAST—Broadcast link interface. · P2P—P2P interface. · LOOP—Loopback interface. · REGISTER—Register interface. · NBMA—NBMA interface. · MTUNNEL—Multicast tunnel interface. · MUA—Multicast-UA interface. This field is empty if the interface is Null 0. |
Protocol |
Protocol running on the interface: PIM-DM, PIM-SM, MLD, or PROXY. |
PIM protocol state |
Whether IPv6 PIM is enabled: Enabled or Disabled. |
User ID |
ID of the IPv6 multicast user on the interface. |
VLAN ID |
Outer VLAN ID or the only VLAN ID in the IPv6 multicast user's packets. This field is not displayed if the user's packets are not tagged with VLAN IDs. |
Second VLAN ID |
Inner VLAN ID in the IPv6 multicast user's packets. This field is not displayed if the user's packets are not tagged with VLAN IDs. |
Access type |
Access type of the IPv6 multicast user: · IPoE. · PPP. |
Access interface |
Physical interface through which the IPv6 multicast user accesses the network. |
Address list |
Interface address list. |
Local address |
Local IP address. |
Remote address |
Remote end IP address. This field is displayed only when the interface is vlink type. |
Reference |
Number of times that the address has been used. |
State |
Status of the interface address: NORMAL or DEL. |
display ipv6 multicast boundary
Use display ipv6 multicast boundary to display IPv6 multicast boundary information.
Syntax
display ipv6 multicast [ vpn-instance vpn-instance-name ] boundary { group [ ipv6-group-address [ prefix-length ] ] | scope [ scope-id ] } [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays IPv6 multicast boundary information on the public network.
group: Displays the IPv6 multicast boundary information for the specified groups.
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. If you do not specify an IPv6 multicast group, this command displays IPv6 multicast boundary information for all IPv6 multicast groups.
prefix-length: Specifies an 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-scoped zone.
scope-id: Specifies an admin-scope zone by its ID in the range of 3 to 15, which is identified by the scope field in the IPv6 multicast group address. If you do not specify an admin-scoped zone, this command displays IPv6 multicast boundary information for all IPv6 admin-scoped zones.
interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays IPv6 multicast boundary information for all interfaces.
Examples
# Display IPv6 multicast boundary information of all IPv6 multicast groups for all interfaces on the public network.
<Sysname> display ipv6 multicast boundary group
Boundary Interface
FF1E::/64 XGE3/1/1
# Display IPv6 multicast boundary information in all IPv6 admin-scope zones for all interfaces on the public network.
<Sysname> display ipv6 multicast boundary scope
Boundary Interface
3 Ten-GigabitEthernet3/1/1
Table 2 Command output
Field |
Description |
Boundary |
IPv6 multicast group or IPv6 admin-scoped zone associated with the IPv6 multicast boundary. |
Interface |
Boundary interface associated with the IPv6 multicast boundary. |
ipv6 multicast boundary
display ipv6 multicast fast-forwarding cache
Use display ipv6 multicast fast-forwarding cache to display IPv6 multicast fast forwarding entries.
Syntax
In standalone mode:
display ipv6 multicast [ vpn-instance vpn-instance-name ] fast-forwarding cache [ ipv6-source-address | ipv6-group-address ] * [ slot slot-number [ cpu cpu-number ] ]
In IRF mode:
display ipv6 multicast [ vpn-instance vpn-instance-name ] fast-forwarding cache [ ipv6-source-address | ipv6-group-address ] * [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays IPv6 multicast fast forwarding entries on the public network.
ipv6-source-address: Specifies an IPv6 multicast source address.
ipv6-group-address: Specifies an IPv6 multicast group address. The value range for this argument is FFxy::/16 (excluding FFx1::/16 and FFx2::/16), where "x" and "y" represent any hexadecimal numbers from 0 to F.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays IPv6 multicast fast forwarding entries for the MPU. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays IPv6 multicast fast forwarding entries for the global active MPU. (In IRF mode.)
cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.
Examples
# Display IPv6 multicast fast forwarding entries on the public network.
<Sysname> display ipv6 multicast fast-forwarding cache
Total 1 entries, 1 matched
(FE1F:60::200, FF0E::1)
Status : Enabled
Source port: 2001 Destination port: 2002
Protocol : 2 Flag : 0x2
Incoming interface: Ten-GigabitEthernet3/1/3
List of 1 outgoing interfaces:
Ten-GigabitEthernet3/1/2
Status: Enabled Flag: 0x14
Table 3 Command output
Field |
Description |
Total 1 entries, 1 matched |
Total number of (S, G) entries, and the total number of matching (S, G) entries. |
(FE1F:60::200, FF0E::1) |
(S, G) entry. |
Protocol |
Protocol number. |
Flag |
Flag for the (S, G) entry or the outgoing interface of the entry. This field displays one flag or the sum of multiple flags. In this example, the value 0x2 means that the entry has only one flag 0x2. The value 0x14 means that the outgoing interface has flags 0x10 and 0x4. The following flags are available for an entry: · 0x1—The entry is created because of packets passed through between cards. · 0x2—The entry is added by IPv6 multicast forwarding. The following flags are available for an outgoing interface: · 0x1—The interface is added to the entry because of packets passed through between cards. · 0x2—The interface is added to an existing entry. · 0x4—The MAC address of the interface is needed for fast forwarding. · 0x8—The interface is an outgoing interface associated with the incoming VLAN or super VLAN interface. · 0x10—The interface is associated with the entry. · 0x20—The interface is to be deleted. |
Status |
Status of the (S, G) entry or the outgoing interface: · Enabled—Available. · Disabled—Unavailable. |
Incoming interface |
Incoming interface of the (S, G) entry. |
List of 1 outgoing interfaces |
Outgoing interface list of the (S, G) entry. |
Related commands
reset ipv6 multicast fast-forwarding cache all
display ipv6 multicast flow-statistic
Use display ipv6 multicast flow-statistic to display multicast traffic statistics.
Syntax
display ipv6 multicast flow-statistic source ipv6-source-address group ipv6-group-address interface interface-type interface-number [ s-vlan svlan-id [ c-vlan cvlan-id ] ] { inbound | outbound }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
source ipv6-source-address: Specifies an IPv6 multicast source address.
group ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where x and y represent any hexadecimal value.
interface interface-type interface-number: Specifies an interface by its type and number.
s-vlan svlan-id: Specifies an outer VLAN ID in the range of 1 to 4094.
c-vlan cvlan-id: Specifies an inner VLAN ID in the range of 1 to 4094.
inbound: Specifies the inbound direction.
outbound: Specifies the outbound direction.
Usage guidelines
If you do not specify the s-vlan svlan-id or c-vlan cvlan-id option, this command displays IPv6 multicast traffic statistics for all VLANs.
You can use this command to view IPv6 multicast traffic statistics on each device on the multicast forwarding path to locate where a forwarding failure occurs. For example, you can use this command to determine which device causes serious packet loss in an IPTV network.
To view multicast traffic statistics of an aggregate interface, specify the aggregate interface for the interface interface-type interface-number option. If you specify a member port of an aggregate interface for the interface interface-type interface-number option, no multicast traffic statistics will be displayed.
Examples
# Display inbound IPv6 multicast traffic statistics from 111::1 to FF1E::1 on Ten-GigabitEthernet 3/1/1.
<Sysname> display ipv6 multicast flow-statistic source 111::1 group FF1E::1 interface ten-gigabitethernet 3/1/1 inbound
Matched 512 packets in 2 seconds, 128 packets/sec.
Matched 20480 bytes in 2 seconds, 10240 bytes/sec.
display ipv6 multicast forwarding event
Use display ipv6 multicast forwarding event to display statistics of IPv6 multicast forwarding events.
Syntax
In standalone mode:
display ipv6 multicast [ vpn-instance vpn-instance-name ] forwarding event [ slot slot-number [ cpu cpu-number ] ]
In IRF mode:
display ipv6 multicast [ vpn-instance vpn-instance-name ] forwarding event [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays statistics of IPv6 multicast forwarding events on the public network.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays statistics of IPv6 multicast forwarding events for the MPU. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays statistics of IPv6 multicast forwarding events for the global active MPU. (In IRF mode.)
cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.
Examples
# Display statistics of IPv6 multicast forwarding events on the public network.
<Sysname> display ipv6 multicast forwarding event
Total active events sent: 0
Total inactive events sent: 0
Total NoCache events sent: 2
Total NoCache events dropped: 0
Total WrongIF events sent: 0
Total WrongIF events dropped: 0
Total SPT switch events sent: 0
NoCache rate limit: 1024 packets/s
WrongIF rate limit: 1 packets/10s
Total timer of register suppress timeout: 0
Field |
Description |
Total active events sent |
Number of times that entry-active events have been sent. |
Total inactive events sent |
Number of times that entry-inactive events have been sent. |
Total NoCache events sent |
Number of times that NoCache events have been sent. |
Total NoCache events dropped |
Number of times that NoCache events have been dropped. |
Total WrongIF events sent |
Number of times that WrongIF events have been sent. |
Total WrongIF events dropped |
Number of times that WrongIF events have been dropped. |
Total SPT switch events sent |
Number of times that SPT-switch events have been sent. |
NoCache rate limit |
Rate limit for sending NoCache events, in pps. |
WrongIF rate limit |
Rate limit for sending WrongIF events, in packets per 10 seconds. |
Total timer of register suppress timeout |
Number of times that the registration suppression has timed out in total. |
Related commands
reset ipv6 multicast forwarding event
display ipv6 multicast forwarding-table
Use display ipv6 multicast forwarding-table to display IPv6 multicast forwarding entries.
Syntax
In standalone mode:
display ipv6 multicast [ vpn-instance vpn-instance-name ] forwarding-table [ ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | incoming-interface interface-type interface-number | outgoing-interface { exclude | include | match } interface-type interface-number | slot slot-number [ cpu cpu-number ] | statistics ] *
In IRF mode:
display ipv6 multicast [ vpn-instance vpn-instance-name ] forwarding-table [ ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | incoming-interface interface-type interface-number | outgoing-interface { exclude | include | match } interface-type interface-number | chassis chassis-number slot slot-number [ cpu cpu-number ] | statistics ] *
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays IPv6 multicast forwarding entries on the public network.
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 an address prefix length. The default value 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 contain the specified incoming interface.
interface-type interface-number: Specifies an interface by its type and number.
outgoing-interface: Specifies the IPv6 forwarding entries that contain the specified outgoing interface.
exclude: Specifies the IPv6 forwarding entries that do not contain the specified interface in the outgoing interface list.
include: Specifies the IPv6 forwarding entries that contain the specified interface in the outgoing interface list.
match: Specifies the IPv6 forwarding entries that contain only the specified interface in the outgoing interface list.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays IPv6 multicast forwarding entries for the MPU. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays IPv6 multicast forwarding entries for the global active MPU. (In IRF mode.)
cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.
statistics: Displays statistics for the IPv6 multicast forwarding table.
Examples
# Display IPv6 multicast forwarding entries on the public network.
<Sysname> display ipv6 multicast forwarding-table
Total 1 entries, 1 matched
00001. (1::1, ff0e::1)
Flags: 0x0
Uptime: 00:08:32, Timeout in: 00:03:26
Incoming interface: Ten-GigabitEthernet3/1/1
Backup incoming interface: Ten-GigabitEthernet3/1/3
List of 1 outgoing interfaces:
1: Ten-GigabitEthernet3/1/2 (inactive)
Matched 19648 packets(20512512 bytes), Wrong If 0 packets
Forwarded 0 packets(0 bytes)
Table 5 Command output
Field |
Description |
Total 1 entries, 1 matched |
Total number of (S, G) entries, and the total number of matching (S, G) entries. |
00001 |
Sequence number of the (S, G) entry. |
(1::1, ff0e::1) |
(S, G) entry. |
Flags |
Entry flag. This field displays one flag or the sum of multiple flags. In this example, the value 0x0 means that the entry has only one flag 0x0. The following flags are available for an entry: · 0x0—The entry is in correct state. · 0x1—The entry is in inactive state. · 0x2—The entry is null. · 0x4—The entry fails to update. · 0x8—The outgoing interface information fails to update for the entry. · 0x20—A register outgoing interface is available. · 0x40—The entry is to be deleted. · 0x80—The entry is in registration suppression state. · 0x100—The entry is being deleted. · 0x200—The entry is in GR state. · 0x800—The entry has the associated ND entry for the IPv6 multicast source address. · 0x4000000—The entry is created by the MLD proxy. |
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. This field indicates the primary incoming interface if the (S, G) entry has a backup incoming interface. |
Backup incoming interface |
Backup incoming interface of the (S, G) entry. If the primary incoming interface of the (S, G) entry fails, IPv6 multicast data arrived at the backup incoming interface will be forwarded to receivers. |
List of 1 outgoing interfaces |
Outgoing interface list of the (S, G) entry. An outgoing interface marked with (inactive) indicates that the interface does not participate IPv6 multicast forwarding. |
Matched 19648 packets (20512512 bytes), Wrong If 0 packet |
Number of packets (bytes) that match the (S, G) entry, and number of packets with incoming interface errors. The numbers are displayed as 0 if an outgoing interface of the (S, G) entry is on the specified slot. |
Forwarded 19648 packets (20512512 bytes) |
Number of packets (bytes) that have been forwarded. The numbers are displayed as 0 if an outgoing interface of the (S, G) entry is on the specified slot. |
reset ipv6 multicast forwarding-table
display ipv6 multicast global pim sm statistics
Use display ipv6 multicast global pim sm statistics to display the configuration and statistics for global IPv6 PIM entry limits in PIM-SM mode.
Syntax
display ipv6 multicast global pim sm statistics
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the configuration and statistics for global IPv6 PIM entry limits in PIM-SM mode.
<Sysname> display ipv6 multicast global pim sm statistics
PIM-SM Number Limit Threshold(Upper Lower)
-----------------------------------------------------------------
(*, G) 4 2000 80 50
(S, G) 0 1000 80 70
------------------------------------------------------------------
Table 6 Command output
Field |
Description |
Number |
Number of IPv6 PIM entries that has been created. |
Limit |
Maximum number of IPv6 PIM entries allowed. |
Threshold(Upper Lower) |
Upper limit and lower limit of IPv6 PIM entries that cause log messages to be generated. |
Related commands
ipv6 multicast global limit pim sm
display ipv6 multicast routing-table
Use display ipv6 multicast routing-table to display IPv6 multicast routing entries.
Syntax
display ipv6 multicast [ vpn-instance vpn-instance-name ] routing-table [ ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | incoming-interface interface-type interface-number | outgoing-interface { exclude | include | match } interface-type interface-number ] *
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays IPv6 multicast routing entries on the public network.
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 an 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: Displays the IPv6 routing entries that contain the specified incoming interface.
interface-type interface-number: Specifies an interface by its type and number.
outgoing-interface: Displays the IPv6 routing entries that contain the specified outgoing interface.
exclude: Displays the IPv6 routing entries that do not contain the specified interface in the outgoing interface list.
include: Displays the IPv6 routing entries that contain the specified interface in the outgoing interface list.
match: Displays the IPv6 routing entries that contain only the specified interface in the outgoing interface list.
Usage guidelines
IPv6 multicast routing entries are the basis of IPv6 multicast forwarding. You can use this command to view the establishment state of (S, G) entries.
Examples
# Display IPv6 multicast routing entries on the public network.
<Sysname> display ipv6 multicast routing-table
Total 1 entries
00001. (2001::2, FFE3::101)
Uptime: 00:00:14
Upstream Interface: Ten-GigabitEthernet3/1/1
Backup Upstream Interface: Ten-GigabitEthernet3/1/4
List of 2 downstream interfaces
1: Ten-GigabitEthernet3/1/2
2: Ten-GigabitEthernet3/1/3
Table 7 Command output
Field |
Description |
Total 1 entries |
Total number of (S, G) entries. |
00001 |
Sequence number of the (S, G) entry. |
(2001::2, FFE3::101) |
(S, G) entry. |
Uptime |
Length of time for which the (S, G) entry has been up. |
Upstream Interface |
Upstream interface at which the (S, G) packets should arrive. This field indicates the primary upstream interface if the (S, G) entry has a backup upstream interface. |
Backup incoming interface |
Backup upstream interface of the (S, G) entry. If the primary upstream interface of the (S, G) entry fails, multicast data arrived at the backup upstream interface will be forwarded to receivers. |
List of 2 downstream interfaces |
List of downstream interfaces that forward (S, G) packets. |
reset ipv6 multicast routing-table
display ipv6 multicast routing-table static
Use display ipv6 multicast routing-table static to display static IPv6 multicast routing entries.
Syntax
display ipv6 multicast [ vpn-instance vpn-instance-name ] routing-table static [ ipv6-source-address [ prefix-length ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays static IPv6 multicast routing entries on the public network.
ipv6-source-address: Specifies an IPv6 multicast source address.
prefix-length: Specifies the address prefix length in the range of 0 to 128. The default is 128.
Usage guidelines
This command displays only valid static IPv6 multicast routing entries.
Examples
# Display static IPv6 multicast routing entries on the public network.
<Sysname> display ipv6 multicast routing-table static
Destinations: 2 Routes: 4
Destination/Prefix: 2::100/128
Pre: 10
RPF neighbor Interface
100::2 XGE3/1/1
125:0:3::3 XGE3/1/2
Destination/Prefix: 3::100/128
Pre: 20
RPF neighbor Interface
100::3 XGE3/1/3
125:0:3::4 XGE3/1/4
Table 8 Command output
Field |
Description |
Destinations |
Number of IPv6 multicast destination addresses. |
Routes |
Number of routes. |
Destination/Mask |
Destination address and its prefix length. |
Pre |
Route preference. |
RPF neighbor |
IPv6 address of the RPF neighbor to the reachable destination. |
Interface |
Outgoing interface to the reachable destination. |
display ipv6 multicast rpf-info
Use display ipv6 multicast rpf-info to display RPF information for an IPv6 multicast source.
Syntax
display ipv6 multicast [ vpn-instance vpn-instance-name ] rpf-info ipv6-source-address [ ipv6-group-address ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command displays RPF information for an IPv6 multicast source on the public network.
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 FFx1::/16 and FFx2::/16), where "x" and "y" represent any hexadecimal numbers from 0 to F.
Examples
# Display RPF information for IPv6 multicast source 2001::101 on the public network.
<Sysname> display ipv6 multicast rpf-info 2001::101
RPF information about source 2001::101:
RPF interface: Ten-GigabitEthernet3/1/1, RPF neighbor: FE80::A01:101:1
Backup RPF interface: Ten-GigabitEthernet3/1/2, backup RPF neighbor: FE80::A01:101:2
Referenced prefix/prefix length: 2001::/64
Referenced route type: igp
Route selection rule: preference-preferred
Load splitting rule: disable
Source AS: 0
C-multicast route target: 0x0000000000000000
Table 9 Command output
Field |
Description |
RPF information about source 2001::101 |
RPF information of the IPv6 multicast source 2001::101. |
RPF interface |
Type and number of the RPF interface. This field indicates the primary RPF interface if the RPF route has a backup RPF interface. |
Backup RPF interface |
Name of the backup RPF interface. |
RPF neighbor |
IPv6 address (link-local address) of the RPF neighbor. This field indicates the IPv6 address of the primary RPF neighbor if the RPF route has a backup RPF neighbor. |
Backup RPF neighbor |
IPv6 address of the backup RPF neighbor. |
Referenced prefix/prefix length |
Referenced route and its prefix length. |
Referenced route type |
Type of the referenced route: · igp—IPv6 IGP unicast route. · egp—IPv6 EGP unicast route. · unicast (direct)—IPv6 directly connected unicast route. · unicast—Other IPv6 unicast route, such as IPv6 unicast static route. · mbgp—IPv6 MBGP route. |
Route selection rule |
RPF route selection rule: · Route preference. · Longest prefix match. |
Load splitting rule |
Whether load splitting is enabled. |
Source AS |
AS number of the source-side PE. |
C-multicast route target |
Route target attribute value of the C-multicast route. |
display ipv6 multicast forwarding-table
display ipv6 multicast routing-table
ipv6 multicast boundary
Use ipv6 multicast boundary to configure an IPv6 multicast forwarding boundary.
Use undo ipv6 multicast boundary to delete an IPv6 multicast forwarding boundary.
Syntax
ipv6 multicast boundary { ipv6-group-address prefix-length | scope { scope-id | admin-local | global | organization-local | site-local } }
undo ipv6 multicast boundary { ipv6-group-address prefix-length| all | scope { scope-id | admin-local | global | organization-local | site-local } }
Default
An interface is not an IPv6 multicast forwarding boundary.
Views
Interface view
Predefined user roles
network-admin
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.
all: Specifies all IPv6 multicast boundaries configured on the interface.
scope-id: Specifies the ID of an admin-scoped zone, in the range of 3 to 15, which is identified by the scope field in the IPv6 multicast group address.
admin-local: Specifies the scoped zone as admin-local, which has a scope ID of 4.
global: Specifies the scoped zone as global, which has a scope ID of 14.
organization-local: Specifies the scoped zone as organization-local, which has a scope ID of 8.
site-local: Specifies the scoped zone as site-local, which has a scope ID of 5.
Usage guidelines
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 is not forwarded.
An interface can act as a forwarding boundary for multiple IPv6 multicast groups in different address ranges. You can implement this by using 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.
You do not need to enable IPv6 multicast routing before you execute this command.
Assume that Set A and Set B are both IPv6 multicast forwarding boundary sets with different address ranges, and that B is a subset of A. A takes effect on the interface no matter whether A is configured earlier or later than B.
This configuration does not affect users that come online through an interface configured with IPv6 multicast access control. Such users can still join IPv6 multicast groups specified for the multicast forwarding boundary.
Examples
# Configure Ten-GigabitEthernet 3/1/1 as the forwarding boundary of IPv6 multicast groups in the range of FF03::/16.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/1/1
[Sysname-Ten-GigabitEthernet3/1/1] ipv6 multicast boundary ff03:: 16
# Configure Ten-GigabitEthernet 3/1/1 as the forwarding boundary of IPv6 multicast groups in the admin-local scope.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/1/1
[Sysname-Ten-GigabitEthernet3/1/1] ipv6 multicast boundary scope 4
Related commands
display ipv6 multicast boundary
ipv6 multicast forwarding-table cache-unknown per-entry
Use ipv6 multicast forwarding-table cache-unknown per-entry to set the maximum number of unknown IPv6 multicast packets that can be cached for an (S, G) entry.
Use undo ipv6 multicast forwarding-table cache-unknown per-entry to restore the default.
Syntax
ipv6 multicast forwarding-table cache-unknown per-entry per-entry-limit
undo ipv6 multicast forwarding-table cache-unknown per-entry
Default
The device can cache only one unknown IPv6 multicast packet for an (S, G) entry.
Views
System view
Predefined user roles
network-admin
Parameters
per-entry-limit: Specifies the maximum number of unknown IPv6 multicast packets that can be cached for an (S, G) entry. The value range for this argument is 0 to 256. If you set the value to 0, the device cannot cache unknown IPv6 multicast packets.
Examples
# Set the maximum number to 20 for unknown IPv6 multicast packets that can be cached for an (S, G) entry.
<Sysname> system-view
[Sysname] ipv6 multicast forwarding-table cache-unknown per-entry 20
Related commands
ipv6 multicast forwarding-table cache-unknown total
ipv6 multicast forwarding-table cache-unknown total
Use ipv6 multicast forwarding-table cache-unknown total to set the maximum number of all unknown IPv6 multicast packets that can be cached.
Use undo multicast forwarding-table cache-unknown total to restore the default.
Syntax
ipv6 multicast forwarding-table cache-unknown total total-limit
undo ipv6 multicast forwarding-table cache-unknown total
Default
The device can cache 1024 unknown IPv6 multicast packets in total.
Views
System view
Predefined user roles
network-admin
Parameters
total-limit: Specifies the maximum number of all unknown IPv6 multicast packets that can be cached. The value range for this argument is 0 to 65535. If you set the value to 0, the device cannot cache unknown IPv6 multicast packets.
Usage guidelines
As a best practice, set the value in this command to be far greater than the value set in the ipv6 multicast forwarding-table cache-unknown per-entry command.
Examples
# Set the maximum number to 10000 for all unknown IPv6 multicast packets that can be cached.
<Sysname> system-view
[Sysname] ipv6 multicast forwarding-table cache-unknown total 10000
Related commands
ipv6 multicast forwarding-table cache-unknown per-entry
ipv6 multicast frr mode
Use ipv6 multicast frr mode to set the IPv6 multicast FRR mode.
Use undo ipv6 multicast frr mode to restore the default.
Syntax
ipv6 multicast frr mode [ by-entry | by-iif ]
undo ipv6 multicast frr mode
Default
The IPv6 multicast FRR mode is by-entry.
Views
System view
Predefined user roles
network-admin
Parameters
by-entry: Specifies the by-entry mode. In this mode, IPv6 multicast FRR periodically monitors IPv6 multicast traffic on primary and backup incoming interfaces by entry.
by-iif: Specifies the by-incoming interface mode. In this mode, IPv6 multicast FRR periodically monitors IPv6 multicast traffic for different (S, G) entries by pair of primary and backup incoming interfaces.
Usage guidelines
With IPv6 multicast FRR enabled, the device will add a primary incoming interface and a backup incoming interface for each (S, G) entry and (*, G) entry during entry creation. It will periodically monitor IPv6 multicast traffic on the primary and backup incoming interfaces of all entries. If no IPv6 multicast traffic is detected on the primary incoming interface, the device determines that the primary incoming interface fails and uses the backup incoming interface for IPv6 multicast forwarding.
As a best practice, set the IPv6 multicast FRR mode to by-incoming interface if the device has a large number of IPv6 multicast entries and most entries have the same primary and backup incoming interfaces.
In the current software version, only IPv6 PIM supports multicast FRR. For more information about IPv6 PIM FRR, see PIM configuration in IP Multicast Configuration Guide.
Examples
# Set the IPv6 multicast FRR mode to by-incoming interface.
<Sysname> system-view
[Sysname] ipv6 multicast frr mode by-iif
Related commands
rpf-frr enable
ipv6 multicast frr monitor cycle
Use ipv6 multicast frr monitor cycle to set the primary/backup link monitoring interval for IPv6 multicast FRR.
Use undo ipv6 multicast frr monitor cycle to restore the default.
Syntax
ipv6 multicast frr monitor cycle monitor-time
undo ipv6 multicast frr monitor cycle
Default
The primary/backup link monitoring interval is 200 milliseconds.
Views
System view
Predefined user roles
network-admin
Parameters
monitor-time: Specifies the primary/backup link monitoring interval in milliseconds. Valid values are 10, 20, 40, 100, 200, and 500.
Usage guidelines
Before executing this command, execute the rpf-frr enable or c-multicast frr command to enable PIM FRR or MVPN FRR.
With IPv6 multicast FRR enabled, the device will add a primary incoming interface and a backup incoming interface for each (S, G) entry and (*, G) entry during entry creation. It will periodically monitor multicast traffic on the primary and backup incoming interfaces of all entries. If no multicast traffic is detected on the primary incoming interface, the device determines that the primary incoming interface fails and uses the backup incoming interface for multicast forwarding. You can set the internal at which multicast FRR monitors the states of the primary and backup links.
As a best practice to prevent the CPU from being overloaded, set the monitoring interval to a larger value if there are many multicast entries. As a best practice to prevent the device from determining link failures mistakenly when the multicast traffic rate is small, also set the monitoring interval to a larger value if there are many multicast entries.
Examples
# Set the primary/backup link monitoring interval to 20 milliseconds.
<Sysname> system-view
[Sysname] ipv6 multicast frr monitor cycle 20
Related commands
c-multicast frr
rpf-frr enable
ipv6 multicast frr wtr
Use ipv6 multicast frr wtr to configure traffic switchback from the backup link to the primary link for IPv6 multicast FRR.
Use undo ipv6 multicast frr wtr to restore the default.
Syntax
ipv6 multicast frr wtr { wtr-time | disable }
undo ipv6 multicast frr wtr
Default
Traffic switchback is disabled and the wait-to-restore (WTR) time is 60 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
wtr-time: Specifies the wait-to-restore (WTR) time in the range of 60 to 1800 seconds.
disable: Disables traffic switchback.
Usage guidelines
Before executing this command, execute the rpf-frr enable or c-multicast frr command to enable PIM FRR or MVPN FRR.
To prevent multicast traffic from being switched back before the multicast entries are created for the primary link, do not set too short a wait-to-restore (WTR) time.
Multicast packets might be lost or duplicate multicast packets might exist during a traffic switchback. As a best practice, do not configure traffic switchback for multicast services requiring high reliability.
Examples
# Set the WTR time to 800 seconds.
<Sysname> system-view
[Sysname] ipv6 multicast frr wtr 800
Related commands
c-multicast frr
rpf-frr enable
ipv6 multicast global limit pim sm
Use ipv6 multicast global limit pim sm to configure global IPv6 PIM entry limits in PIM-SM.
Use undo ipv6 multicast global limit pim sm to restore the default.
Syntax
ipv6 multicast global limit pim sm { star-group-number | source-group-number } limit-count [ alarm-threshold upper-limit upper-limit lower-limit lower-limit ]
undo ipv6 multicast global limit pim sm { star-group-number | source-group-number }
Default
The number of IPv6 PIM entries is not limited.
Views
System view
Predefined user roles
network-admin
Parameters
star-group-number: Limits the number of IPv6 (*,G) entries.
source-group-number: Limits the number of IPv6 (S,G) entries.
limit-count: Specifies the maximum number of IPv6 PIM entries allowed, in the range of 1 to 16384.
alarm-threshold upper-limit upper-limit: Specifies the upper limit of IPv6 PIM entries that causes a log message to be generated. The upper-limit argument specifies a percentage of the maximum number of IPv6 PIM entries allowed. The default is 80. As a best practice, do not configure a value greater than 95.
alarm-threshold lower-limit lower-limit: Specifies the lower limit of IPv6 PIM entries that causes a log message to be generated. The lower-limit argument specifies a percentage of the maximum number of IPv6 PIM entries allowed. The default is 70. The value for the lower-limit argument must be smaller than or equal to the value for the upper-limit argument. As a best practice to avoid generating log messages frequently, do not configure a value smaller than 10.
Usage guidelines
When an illegal user launches an attack by using multicast data or protocol (MLD or IPv6 PIM) packets, a large number of multicast routing entries might be generated, causing high memory or CPU usage. This command can protect the device by limiting the number of MLD or IPv6 PIM entries.
When the number of global MLD or IPv6 PIM entries reaches the limit, new MLD or IPv6 PIM entries cannot be created and a log message is generated. The log messages are sent to the information center for processing. With the information center, you can set log message filtering and output rules, including output destinations. For more information about the information center, see Network Management and Monitoring Configuration Guide.
Static (*,G) entries, static (S,G) entries, and ASM default group entries are not affected by this function.
Examples
# Set the maximum number of IPv6 (S,G) entries allowed to 1000.
<Sysname> system-view
[Sysname] ipv6 multicast global limit pim sm source-group-number 1000
# Set the maximum number of IPv6 (*,G) entries allowed to 2000, the upper limit for generating a log message to 80%, and the lower limit for generating a log message to 70%.
<Sysname> system-view
[Sysname] ipv6 multicast global limit pim sm star-group-number 2000 threshold-alarm upper-limit 80 lower-limit 70
Related commands
display ipv6 multicast global pim sm statistics
ipv6 multicast routing
Use ipv6 multicast routing to enable IPv6 multicast routing and enter IPv6 MRIB view.
Use undo ipv6 multicast routing to disable IPv6 multicast routing.
Syntax
ipv6 multicast routing [ vpn-instance vpn-instance-name ]
undo ipv6 multicast routing [ vpn-instance vpn-instance-name ]
Default
IPv6 multicast routing is disabled.
Views
System view
Predefined user roles
network-admin
parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command enables IPv6 multicast routing on the public network.
Usage guidelines
Other Layer 3 IPv6 multicast commands take effect only when IPv6 multicast routing is enabled on the public network or for the VPN instance to which the device belongs.
The device does not forward any IPv6 multicast packets before IPv6 multicast routing is enabled.
Examples
# Enable IPv6 multicast routing on the public network, and enter IPv6 MRIB view.
<Sysname> system-view
[Sysname] ipv6 multicast routing
[Sysname-mrib6]
# Enable IPv6 multicast routing for VPN instance mvpn, and enter IPv6 MRIB view.
<Sysname> system-view
[Sysname] ipv6 multicast routing vpn-instance mvpn
[Sysname-mrib6-mvpn]
ipv6 multicast rpf-fail-pkt flooding
Use ipv6 multicast rpf-fail-pkt flooding to enable the device to RPF-check-failed IPv6 multicast data packets in all VLANs.
Use ipv6 multicast rpf-fail-pkt flooding to restore the default.
Syntax
ipv6 multicast rpf-fail-pkt flooding
undo ipv6 multicast rpf-fail-pkt flooding
Default
RPF-check-failed IPv6 multicast data packets are not flooded in a VLAN.
Views
System view
Predefined user roles
network-admin
Usage guidelines
You do not need to enable IPv6 multicast routing before you execute this command.
For this command to take effect, you must clear all IPv6 multicast forwarding entries after executing this command. To clear IPv6 multicast forwarding entries, use the reset ipv6 multicast forwarding-table command.
Examples
# Enable the device to flood RPF-check-failed IPv6 multicast data packets in all VLANs.
<Sysname> system-view
[Sysname] ipv6 multicast rpf-fail-pkt flooding
Related commands
reset ipv6 multicast forwarding-table
ipv6 multicast rpf-fail-pkt trap-to-cpu
Use ipv6 multicast rpf-fail-pkt trap-to-cpu to enable the device to send RPF-check-failed IPv6 multicast data packets to the CPU.
Use undo ipv6 multicast rpf-fail-pkt trap-to-cpu to restore the default.
Syntax
ipv6 multicast rpf-fail-pkt trap-to-cpu
undo ipv6 multicast rpf-fail-pkt trap-to-cpu
Default
RPF-check-failed IPv6 multicast data packets are not sent to the CPU.
Views
System view
Predefined user roles
network-admin
Usage guidelines
You do not need to enable IPv6 multicast routing before you execute this command.
For this command to take effect, you must clear all IPv6 multicast forwarding entries after executing this command. To clear IPv6 multicast forwarding entries, use the reset ipv6 multicast forwarding-table command.
Examples
# Enable the device to send RPF-check-failed IPv6 multicast data packets to the CPU.
<Sysname> system-view
[Sysname] ipv6 multicast rpf-fail-pkt trap-to-cpu
Related commands
reset ipv6 multicast forwarding-table
ipv6 rpf-route-static
Use ipv6 rpf-route-static to configure a static IPv6 multicast route.
Use undo ipv6 rpf-route-static to delete a static IPv6 multicast route.
Syntax
ipv6 rpf-route-static [ vpn-instance vpn-instance-name ] ipv6-source-address prefix-length { ipv6-rpf-nbr-address | interface-type interface-number } [ preference preference ] [ description text ]
undo ipv6 rpf-route-static [ vpn-instance vpn-instance-name ] ipv6-source-address prefix-length { ipv6-rpf-nbr-address | interface-type interface-number }
Default
No static IPv6 multicast routes exist.
Views
System view
Predefined user roles
network-admin
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command configures a static IPv6 multicast route on the public network.
ipv6-source-address: Specifies an IPv6 multicast source address.
prefix-length: Specifies the address prefix length in the range of 0 to 128. The default is 128.
ipv6-rpf-nbr-address: Specifies an RPF neighbor by its IPv6 address.
interface-type interface-number: Specifies an interface by its type and number. The interface connects the RPF neighbor.
preference: Sets a route preference in the range of 1 to 255. The default is 1.
description text : Specifies the description of the static IPv6 multicast route, a case-sensitive string of 1 to 60 characters. The description can include blank spaces and special characters except for the question mark (?).
Usage guidelines
If the interface connected to an RPF neighbor is a point-to-point interface, you must specify the interface by its type and number.
If the interface connected to an RPF neighbor is not a point-to-point interface, you must specify the interface by its IP address. This type of interfaces includes Layer 3 Ethernet, Layer 3 aggregate, loopback, and VLAN interfaces.
The configured static IPv6 multicast route might not take effect when one of the following conditions exists:
· The outgoing interface iteration fails.
· The specified interface is not in the public network or the same VPN instance as the current interface.
· The specified interface is not a point-to-point interface.
· The specified interface is down.
If multiple static IPv6 multicast routes within the same IPv6 multicast source address range are available, only the one with the highest route preference can become active. You can use the display ipv6 multicast routing-table static command to verify that the configured static IPv6 multicast route has taken effect.
The undo ipv6 rpf-route-static command deletes the specified static IPv6 multicast route. To delete all static IPv6 multicast routes, use the delete ipv6 rpf-route-static command.
Examples
# Configure a static IPv6 multicast route to IPv6 multicast source 101::0/64 and specify the interface with IP address 106::7 as the RPF neighbor on the public network.
<Sysname> system-view
[Sysname] ipv6 rpf-route-static 101::0 64 106::7
Related commands
delete ipv6 rpf-route-static
display ipv6 multicast routing-table static
load-splitting (IPv6 MRIB view)
Use load-splitting to enable IPv6 multicast load splitting.
Use multicast load-splitting to restore the default.
Syntax
load-splitting { balance-ecmp | balance-ucmp | ecmp | source | source-group | ucmp }
undo load-splitting
Default
Load splitting of IPv6 multicast traffic is disabled.
Views
IPv6 MRIB view
Predefined user roles
network-admin
Parameters
balance-ecmp: Enables IPv6 multicast load balancing based on ECMP paths. Multicast traffic is evenly distributed among ECMP paths.
balance-ucmp: Enables IPv6 multicast load balancing based on links. Multicast traffic is evenly distributed among links.
ecmp: Enables IPv6 multicast load splitting based on ECMP paths.
source: Enables IPv6 multicast load splitting based on IPv6 multicast sources.
source-group: Enables IPv6 multicast load splitting based on IPv6 multicast sources and groups.
ucmp: Enables IPv6 multicast load splitting based on links.
Usage guidelines
On a network with ECMP routes, specify the balance-ecmp, ecmp, source, or source-group keyword. On a network with UCMP routes, specify the balance-ucmp or ucmp keyword.
· If you specify the ecmp keyword, adding or deleting ECMP routes severely affects IPv6 multicast forwarding.
· If you specify the source or source-group keyword, adding or deleting ECMP routes slightly affects IPv6 multicast forwarding. Specify either of the keywords on a network with unstable equal cost links.
· If you specify the balance-ecmp or balance-ucmp keyword, the device uses a polling mechanism for IPv6 multicast load balancing. ECMP or UCMP-based IPv6 multicast load balancing provides better stability and balance than ECMP or UCMP-based IPv6 multicast load sharing.
Examples
# Enable IPv6 multicast load splitting based on IPv6 multicast source on the public network.
<Sysname> system-view
[Sysname] ipv6 multicast routing
[Sysname-mrib6] load-splitting source
longest-match (IPv6 MRIB view)
Use longest-match to specify the longest prefix match principle for RPF route selection.
Use undo longest-match to restore the default.
Syntax
longest-match
undo longest-match
Default
Route preference is used for RPF route selection. The route with the highest route preference is used as the RPF route.
Views
IPv6 MRIB view
Predefined user roles
network-admin
Usage guidelines
This command enables the device to use the matching route with the longest prefix as the RPF route.
Examples
# Specify the longest prefix match principle for RPF route selection on the public network.
<Sysname> system-view
[Sysname] ipv6 multicast routing
[Sysname-mrib6] longest-match
reset ipv6 multicast fast-forwarding cache
Use reset ipv6 multicast fast-forwarding cache to clear IPv6 multicast fast forwarding entries.
Syntax
In standalone mode:
reset ipv6 multicast [ vpn-instance vpn-instance-name ] fast-forwarding cache { { ipv6-source-address | ipv6-group-address } * | all } [ slot slot-number [ cpu cpu-number ] ]
In IRF mode:
reset ipv6 multicast [ vpn-instance vpn-instance-name ] fast-forwarding cache { { ipv6-source-address | ipv6-group-address } * | all } [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]
Views
User view
Predefined user roles
network-admin
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears IPv6 multicast fast forwarding entries on the public network.
ipv6-source-address: Specifies an IPv6 multicast source address.
ipv6-group-address: Specifies an IPv6 multicast group address. The value range for this argument is FFxy::/16 (excluding FFx1::/16 and FFx2::/16), where "x" and "y" represent any hexadecimal numbers from 0 to F.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command clears IPv6 multicast fast forwarding entries for the MPU. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command clears IPv6 multicast fast forwarding entries for the global active MPU. (In IRF mode.)
cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.
all: Specifies all IPv6 multicast fast forwarding entries.
Examples
# Clear all IPv6 multicast fast forwarding entries on the public network.
<Sysname> reset ipv6 multicast fast-forwarding cache all
# Clear the IPv6 multicast fast forwarding entry for IPv6 multicast source and group (FE1F:20::2, FF0E::1) on the public network.
<Sysname> reset ipv6 multicast fast-forwarding cache fe1f:20::2 ff0e::1
Related commands
display ipv6 multicast fast-forwarding cache
reset ipv6 multicast forwarding event
Use reset ipv6 multicast forwarding event to clear statistics for IPv6 multicast forwarding events.
Syntax
reset ipv6 multicast [ vpn-instance vpn-instance-name ] forwarding event
Views
User view
Predefined user roles
network-admin
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears statistics for the IPv6 multicast forwarding events on the public network.
Examples
# Clear statistics for the IPv6 multicast forwarding events on the public network.
<Sysname> reset ipv6 multicast forwarding event
Related commands
display ipv6 multicast forwarding event
reset ipv6 multicast forwarding-table
Use reset ipv6 multicast forwarding-table to clear IPv6 multicast forwarding entries.
Syntax
reset ipv6 multicast [ vpn-instance vpn-instance-name ] forwarding-table { { ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | incoming-interface { interface-type interface-number } } * | all }
Views
User view
Predefined user roles
network-admin
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears IPv6 multicast forwarding entries on the public network.
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 value 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 multicast forwarding entries that contain the specified incoming interface.
interface-type interface-number: Specifies an interface by its type and number.
all: Specifies all IPv6 multicast forwarding entries.
Usage guidelines
When you clear an IPv6 multicast forwarding entry, the associated IPv6 multicast routing entry is also cleared.
Examples
# Clear IPv6 multicast forwarding entries for IPv6 multicast group FF0E::1 on the public network.
<Sysname> reset ipv6 multicast forwarding-table ff0e::1
display ipv6 multicast forwarding-table
reset ipv6 multicast routing-table
Use reset ipv6 multicast routing-table to clear IPv6 multicast routing entries.
Syntax
reset ipv6 multicast [ vpn-instance vpn-instance-name ] routing-table { { ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | incoming-interface interface-type interface-number } * | all }
Views
User view
Predefined user roles
network-admin
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command clears IPv6 multicast routing entries on the public network.
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 an 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 multicast routing entries that contain the specified incoming interface.
interface-type interface-number: Specifies an interface by its type and number.
all: Specifies all IPv6 multicast routing entries.
Usage guidelines
When you clear an IPv6 multicast routing entry, the associated IPv6 multicast forwarding entry is also cleared.
Examples
# Clear IPv6 multicast routing entries for IPv6 multicast group FF03::101 on the public network.
<Sysname> reset ipv6 multicast routing-table ff03::101
Related commands
display ipv6 multicast routing-table
snmp-agent trap enable mrib6
Use snmp-agent trap enable mrib6 to enable SNMP notifications for IPv6 multicast routing and forwarding.
Use undo snmp-agent trap enable mrib6 to disable SNMP notifications for IPv6 multicast routing and forwarding.
Syntax
snmp-agent trap enable mrib6 [ entry-exceed | entry-exceed-clear ] *
undo snmp-agent trap enable mrib6 [ entry-exceed | entry-exceed-clear ] *
Default
SNMP notifications for IPv6 multicast routing and forwarding are enabled.
Views
System view
Predefined user roles
network-admin
Parameters
entry-exceed: Specifies notifications about the number of IPv6 multicast routing entries reaching the maximum number.
entry-exceed-clear: Specifies notifications about the number of IPv6 multicast routing entries falling below the maximum number.
Usage guidelines
If you do not specify an optional keyword, this command enables or disables IPv6 multicast routing and forwarding to generate SNMP notifications.
The maximum number of IPv6 multicast routing entries is the value of the limit-count argument in the ipv6 multicast global limit command or the maximum number supported by the device, whichever is smaller.
To report critical IPv6 multicast routing and forwarding events to an NMS, enable SNMP notifications for IPv6 multicast routing and forwarding. For IPv6 multicast routing and forwarding event notifications to be sent correctly, you must also configure SNMP on the device. For more information about SNMP configuration, see Network Management and Monitoring Configuration Guide.
Examples
# Disable SNMP notifications for IPv6 multicast routing and forwarding.
<Sysname> system-view
[Sysname] undo snmp-agent trap enable mrib6
Related commands
ipv6 multicast global limit