67
Use undo multicast routing-enable to disable IP multicast routing.
By default, IP multicast routing is disabled.
You must enable IP multicast routing on the public network or VPN instance before you can use other
Layer 3 multicast commands in the corresponding instance.
The device does not forward any multicast packets before IP multicast routing is enabled.
Examples
# Enable IP multicast routing on the public network.
<Sysname> system-view
[Sysname] multicast routing-enable
# Enable IP multicast routing in VPN instance mvpn.
<Sysname> system-view
[Sysname] ip vpn-instance mvpn
[Sysname-vpn-instance-mvpn] route-distinguisher 100:1
[Sysname-vpn-instance-mvpn] multicast routing-enable
reset multicast forwarding-table
Syntax
reset multicast [ all-instance | vpn-instance vpn-instance-name ] forwarding-table { { source-address
[ mask { mask | mask-length } ] | group-address [ mask { mask | mask-length } ] | incoming-interface
{ interface-type interface-number | register } } * | all }
View
User view
Default level
2: System level
Parameters
all-instance: Specifies all VPN instances.
vpn-instance vpn-instance-name: Specifies a VPN by its name, a case-sensitive string of 1 to 31
characters.
source-address: Specifies a multicast source address.
group-address: Specifies a multicast group address, in the range of 224.0.0.0 to 239.255.255.255.
mask: Specifies the mask of the multicast group address or multicast source address, 255.255.255.255
by default.
mask-length: Specifies the mask length of the multicast group address or multicast source address. For a
multicast group address, the value ranges from 4 to 32. For a multicast source address, the value range
from 0 to 32. The default is 32 in both cases.
incoming-interface: Specifies the multicast forwarding entries where the incoming interface is the
specified one.
interface-type interface-number: Specifies an interface by its type and number.
register: Specifies the multicast forwarding entries where the incoming interface is the specified register
interface of PIM-SM.