Multicast Commands

Use these commands to configure IP Multicast and to view IP Multicast settings and statistics.

ip mcast boundary

M4250

M4350

This command adds an administrative scope multicast boundary specified by groupipaddr and mask for which this multicast administrative boundary is applicable. groupipaddr is a group IP address and mask is a group IP mask. This command can be used to configure a single interface or a range of interfaces.

Format ip mcast boundary groupipaddr mask
Mode Interface Config

no ip mcast boundary

This command deletes an administrative scope multicast boundary specified by groupipaddr and mask for which this multicast administrative boundary is applicable. groupipaddr is a group IP address and mask is a group IP mask.

Format no ip mcast boundary groupipaddr mask
Mode Interface Config

ip mroute

M4250

M4350

This command configures an IPv4 multicast static route for a source.

Default No MRoute is configured on the system.
Format ip mroute src-ip-addr src-mask rpf-addr preference
Mode Global Config
Parameter Description
src-ip-addr The IP address of the multicast source network.
src-mask The IP mask of the multicast data source.
rpf-ip-addr The IP address of the RPF next-hop router toward the source.
preference The administrative distance for this Static MRoute, that is, the preference value. The range is 1 to 255.

no ip mroute

This command removes the configured IPv4 multicast static route.

Format no ip mroute src-ip-addr
Mode Global Config

ip mroute static-multicast

M4250

M4350

This command configures a static multicast route for a multicast group IP address and a list of VLANs that are enabled for routing.

Default No default static routes
Format ip mroute static-multicast group-ip-address vlan-list
Mode Global Config
Parameters Description
group-ip-address A multicast group IP address.
vlan-list A list of VLANs in the range of 1 to 4093. Each VLAN ID must be separated by a comma.

Note the following requirements:

  • All VLANs that you specify in the list must be enabled for routing with an IP address configured.
  • You cannot configure two static multicast routes with the same group IP address, even though the VLAN lists differ. If you must change the VLAN list for a static route, delete the existing static route and create a new one with an updated VLAN list.

Command example:

To install a static route for multicast group address 224.0.1.129 for VLANs 1, 2, 3, and 4, enter the following command:

CODE
(config)#ip mroute static-multicast 224.0.1.129 1,2,3,4

no ip mroute static-multicast

This command removes a static multicast route for a group IP address.

The group-ip-address argument represents the multicast group IP address.

Format no ip mroute static-multicast group-ip-address
Mode Global Config

ip multicast

M4250

M4350

This command sets the administrative mode of the IP multicast forwarder in the router to active.

Default disabled
Format ip multicast
Mode Global Config

no ip multicast

This command sets the administrative mode of the IP multicast forwarder in the router to inactive.

Format no ip multicast
Mode Global Config

ip multicast ttl-threshold

M4250

M4350

This command is specific to IPv4. Use this command to apply a time-to-live (TTL) threshold value to a routing interface or range of interfaces. The ttlvalue is the TTL threshold that is applied to multicast data packets that are forwarded from the interface. This command sets the TTL threshold value so that data packets with a TTL value above the configured value are dropped from the interface. The value for ttlvalue ranges from 0 to 255.

Default 1
Format ip multicast ttl-threshold ttlvalue
Mode Interface Config

no ip multicast ttl-threshold

This command applies the default TTL threshold to a routing interface. The TTL threshold is applied to the multicast data packets that are forwarded from the interface.

Format no ip multicast ttl-threshold
Mode Interface Config

show ip mcast

M4250

M4350

This command displays the system-wide multicast information.

Format show ip mcast
Modes

Privileged EXEC

User EXEC

Term Definition
Admin Mode The administrative status of multicast. Possible values are enabled or disabled.
Protocol State The current state of the multicast protocol. Possible values are Operational or Non-Operational.
Table Max Size The maximum number of entries allowed in the multicast table.
Protocol The multicast protocol running on the router. Possible values are PIMDM, PIMSM, or DVMRP.
Multicast Forwarding Cache Entry Count The number of entries in the multicast forwarding cache.

show ip mcast boundary

M4250

M4350

This command displays all the configured administrative discovered multicast boundaries.

The interface corresponds to a physical routing interface or VLAN routing interface. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.

The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN directly. The vlan-id parameter is a number in the range of 1–4093.

Format show ip mcast boundary {unit/slot/port | vlan vlan-id | all}
Modes

Privileged EXEC

User EXEC

Term Definition
Interface The interface.
Group Ip The group IP address.
Mask The group IP mask.

show ip mcast interface

M4250

M4350

This command displays the multicast information for the specified interface.

The interface corresponds to a physical routing interface or VLAN routing interface. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.

The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.

Format show ip mcast interface {unit/slot/port | vlan vlan-id}
Modes

Privileged EXEC

User EXEC

Term Definition
Interface unit/slot/port
TTL The time-to-live value for this interface.

show ip mroute

M4250

M4350

This command displays a summary or all the details of the multicast table.

Format show ip mroute {detail | summary}
Modes

Privileged EXEC

User EXEC

If you use the detail parameter, the command displays the following fields.

Term Definition
Source IP Addr The IP address of the multicast data source.
Group IP Addr The IP address of the destination of the multicast packet.
Expiry Time The time of expiry of this entry in seconds.
Up Time The time elapsed since the entry was created in seconds.
RPF Neighbor The IP address of the RPF neighbor.
Flags The flags associated with this entry.

If you use the summary parameter, the command displays the following fields.

Term Definition
Source IP Addr The IP address of the multicast data source.
Group IP Addr The IP address of the destination of the multicast packet.
Protocol The multicast routing protocol by which the entry was created.
Incoming Interface The interface on which the packet for the source/group arrives.
Outgoing Interface List The list of outgoing interfaces on which the packet is forwarded.

show ip mroute group

M4250

M4350

This command displays the multicast configuration settings such as flags, timer settings, incoming and outgoing interfaces, RPF neighboring routers, and expiration times of all the entries in the multicast route table containing the specified group address (groupipaddr).

Format show ip mroute group groupipaddr {detail | summary}
Modes

Privileged EXEC

User EXEC

Term Definition
Source IP Addr The IP address of the multicast data source.
Group IP Addr The IP address of the destination of the multicast packet.
Protocol The multicast routing protocol by which this entry was created.
Incoming Interface The interface on which the packet for this group arrives.
Outgoing Interface List The list of outgoing interfaces on which this packet is forwarded.

show ip mroute source

M4250

M4350

This command displays the multicast configuration settings such as flags, timer settings, incoming and outgoing interfaces, RPF neighboring routers, and expiration times of all the entries in the multicast route table containing the specified source IP address (sourceipaddr).

Format show ip mroute source sourceipaddr {detail | summary}
Modes

Privileged EXEC

User EXEC

If you use the sourceipaddr parameter, the command displays the following column headings in the output table.

Term Definition
Source IP Addr The IP address of the multicast data source.
Group IP Addr The IP address of the destination of the multicast packet.
Expiry Time The time of expiry of this entry in seconds.
Up Time The time elapsed since the entry was created in seconds.
RPF Neighbor The IP address of the RPF neighbor.
Flags The flags associated with this entry.

If you use the summary parameter, the command displays the following column headings in the output table.

Term Definition
Source IP Addr The IP address of the multicast data source.
Group IP Addr The IP address of the destination of the multicast packet.
Protocol The multicast routing protocol by which this entry was created.
Incoming Interface The interface on which the packet for this source arrives.
Outgoing Interface List The list of outgoing interfaces on which this packet is forwarded.

show ip mroute static

M4250

M4350

Use this command in Privileged EXEC or User EXEC mode to display all the static routes configured in the static mcast table, if it is specified, or display the static route associated with the particular sourceipaddr.

Format show ip mroute static [sourceipaddr]
Modes

Privileged EXEC

User EXEC

Parameter Description
Source IP IP address of the multicast source network.
Source Mask The subnetwork mask pertaining to the source IP.
RPF Address The IP address of the RPF next-hop router toward the source.
Preference The administrative distance for this Static MRoute.

Command example:

CODE
console#show ip mroute static

                     MULTICAST STATIC ROUTES
Source IP       Source Mask     RPF Address     Preference
--------------- --------------- --------------- ----------
1.1.1.1         255.255.255.0   2.2.2.2         23

show ip mroute static-multicast

M4250

M4350

Use this command in Privileged EXEC or User EXEC mode to display the manually added static multicast routes.

Format show ip mroute static-multicast
Modes

Privileged EXEC

User EXEC

Parameter Description
Maximum Multicast Static Address Count The maximum number of allowed static multicast routes.
Current Multicast Static Address Count The number of configured static multicast routes.
Group Address The configured multicast group IP address.
Egress VLAN List The VLANs that are associated with the static multicast route.

Command example:

CODE
(NETGEAR Switch) #show ip mroute static-multicast

Maximum Multicast Static Address Count ........ 32
Current Multicast Static Address Count ........ 4

Group Address          Egress VLAN List
---------------------- -----------------------------------
225.1.1.1              1-2
225.1.1.5              1
225.1.1.2              1-2
225.1.1.3              1

clear ip mroute

M4250

M4350

This command deletes all or the specified IP multicast route entries. This command clears only dynamic mroute entries. It does not clear static mroutes.

Format clear ip mroute {* | group-address [source-address]}
Modes Privileged EXEC
Parameter Description
* Deletes all IPv4 entries from the IP multicast routing table.
group-address IP address of the multicast group.
source-address The optional IP address of a multicast source that is sending multicast traffic to the group.

Command example:

The following example deletes all entries from the IP multicast routing table:

CODE
(NETGEAR Switch) # clear ip mroute *

Command example:

The following example deletes all entries from the IP multicast routing table that match the multicast group address (224.1.2.1), irrespective of which source is sending for this group:

CODE
(NETGEAR Switch) # clear ip mroute 224.1.2.1

Command example:

The following example deletes all entries from the IP multicast routing table that match the multicast group address (224.1.2.1) and the multicast source address (192.168.10.10):

CODE
(NETGEAR Switch) # clear ip mroute 224.1.2.1 192.168.10.10