C
HAPTER
38
| Multicast Filtering Commands
MVR for IPv4
– 1255 –
mvr
immediate-leave
This command causes the switch to immediately remove an interface from
a multicast stream as soon as it receives a leave message for that group.
Use the no form to restore the default settings.
SYNTAX
[no] mvr [domain domain-id] immediate-leave [by-host-ip]
domain-id - An independent multicast domain. (Range: 1-5)
by-host-ip - Specifies that the member port will be deleted only
when there are no hosts joining this group.
DEFAULT SETTING
Disabled
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
COMMAND USAGE
◆ Immediate leave applies only to receiver ports. When enabled, the
receiver port is immediately removed from the multicast group
identified in the leave message. When immediate leave is disabled, the
switch follows the standard rules by sending a group-specific query to
the receiver port and waiting for a response to determine if there are
any remaining subscribers for that multicast group before removing the
port from the group list.
◆ If the “by-host-ip” option is used, the router/querier will not send out a
group-specific query when an IGMPv2/v3 leave message is received
(the same as it would without this option having been used). Instead of
immediately deleting that group, it will look up the record, and only
delete the group if there are no other subscribers for it on the member
port. Only when all hosts on that port leave the group will the member
port be deleted.
◆ Using immediate leave can speed up leave latency, but should only be
enabled on a port attached to only one multicast subscriber to avoid
disrupting services to other group members attached to the same
interface.
◆ Immediate leave does not apply to multicast groups which have been
statically assigned to a port with the mvr vlan group command.
EXAMPLE
The following enables immediate leave on a receiver port.
Console(config)#interface ethernet 1/5
Console(config-if)#mvr domain 1 immediate-leave
Console(config-if)#