Command Manual – Multicast
H3C S7500E Series Ethernet Switches
Chapter 6 Multicast Routing and Forwarding
Configuration Commands
6-16
Parameters
None
Description
Use the
multicast longest-match
command to configure route selection based on the
longest match, namely based on the mask length.
Use the
undo multicast longest-match
command to remove the configuration of
route selection based on the longest match.
By default, routes are selected according to the order of route entries.
Examples
# Configure route selection based on the longest match.
<Sysname> system-view
[Sysname] multicast longest-match
6.1.13 multicast routing-enable
Syntax
multicast routing-enable
undo multicast routing-enable
View
System view
Parameters
None
Description
Use the
multicast routing-enable
command to enable IP multicast routing.
Use the
undo multicast routing-enable
command to disable IP multicast routing.
IP multicast routing is disabled by default.
Note that:
z
You must enable IP multicast routing before you can carry out other Layer 3
multicast commands.
z
The device does not forward any multicast packets before IP multicast routing is
enabled.
Examples
# Enable IP multicast routing.