55
Parameters
None
Description
Use
multicast longest-match
to configure the device to select the RPF route using longest match.
Use
undo multicast longest-match
to restore the default.
By default, the device selects the route with the highest priority as the RPF route.
Examples
# Configure the device to select the RPF route based on the longest match principle.
<Sysname> system-view
[Sysname] multicast longest-match
multicast routing-enable
Syntax
multicast routing-enable
undo multicast routing-enable
View
System view
Default level
2: System level
Parameters
None
Description
Use
multicast routing-enable
to enable IP multicast routing.
Use
undo multicast routing-enable
to disable IP multicast routing.
By default, IP multicast routing is disabled.
You must enable IP multicast routing before you can use other Layer 3 multicast commands.
The device does not forward any multicast packets before IP multicast routing is enabled.
Examples
# Enable IP multicast routing.
<Sysname> system-view
[Sysname] multicast routing-enable
reset multicast forwarding-table
Syntax
reset multicast forwarding-table
{ {
source-address
[
mask
{
mask
|
mask-length
} ] |
group-address
[
mask
{
mask
|
mask-length
} ] |
incoming-interface
{
interface-type interface-number
|
register
} } * |
all
}