![D-Link DGS-6600-48TS Скачать руководство пользователя страница 291](http://html2.mh-extra.com/html/d-link/dgs-6600-48ts/dgs-6600-48ts_manual_3541635291.webp)
DGS-6604
ip mroute
CLI Reference Guide
281
ip mroute
Use this command to create a multicast static route (mroute).
Use the no form of this command to delete the route.
ip mroute
SOURCE-NETWORK
{
RPF-ADDRESS
| Null } [
DISTANCE
]
no ip mroute
SOURCE-NETWORK
Default
DISTANCE: 0
Command Mode
Global configuration
Usage Guideline
This command statically configures where multicast sources are located even
when the unicast routing table shows something different.
If the RPF-ADDRESS is a PIM neighbor, PIM join, graft, and prune messages
are sent to it.
Examples
The following example configures the multicast data source within network
192.168.6.0/24 to be accessible with the neighbor router 10.1.1.1.
The following example configures the multicast data source within network
192.168.7.0/24 to be accessible with the neighbor router 10.1.1.1 and with the
distance value of 100.
The following example configures the multicast data source within a network
number 192.168.8.0/24 to be discarded.
Syntax Description
SOURCE-NETWORK
Network address of the multicast source. Format: A.B.C.D/M.
RPF-ADDRESS
RPF neighbor address for the multicast route.
Null
Indicates Null interface. When set to Null, the RPF check result will always be
failed.
DISTANCE
(Optional) Specifies whether a unicast route or multicast static route is used for
the RPF lookup. Lower distances have preference. If the multicast static route
has the same distance as the other RPF sources, the multicast static route takes
preference. Default is 0. Range is 0-255.
Switch(config)#ip mroute 192.168.6.0/24 10.1.1.1
Switch(config)#ip mroute 192.168.7.0/24 10.1.1.1 100
Switch(config)#ip mroute 192.168.8.0/24 null