Published On: September 26ᵗʰ, 2019 07:52

Cisco Enterprise Network Compute System Switch Command Reference

ip igmp last-member-query-count

To configure the IGMP last-member query counter, use the ip igmp last-member-query-count command in interface switch configuration mode. To restore the default counter value, use the no form of this command.

ip igmp last-member-query-count count

no ip igmp last-member-query-count

Syntax Description

count

Specifies the number of times that group- or group-source-specific queries are sent upon receipt of a message indicating a leave. Valid range is from 1–7.

Command Default

The value of IGMP Robustness variable.

Command Modes

Interface (VLAN) switch configuration (config-switch-if)

Command History

Release Modification
3.5.1

This command was introduced.

Usage Guidelines

Use the ip igmp robustness command to configure the IGMP last-member query interval on an interface.

Examples

The following example changes the value of IGMP last member query counter to 3:


nfvis(config-switch)# interface vlan 1
nfvis(config-switch-if)# ip igmp last-member-query-count 3
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end

ip igmp last-member-query-interval

To configure the IGMP last-member query interval on an interface, use the ip igmp last-member-query-interval command in interface switch configuration mode. To restore the default IGMP query interval, use the no form of this command.

ip igmp last-member-query-interval milliseconds

no ip igmp last-member-query-interval

Syntax Description

milliseconds

Interval, in milliseconds, at which IGMP group-specific host query messages are sent on the interface. Valid range is from 100–25500.

Command Default

The default IGMP last member query interval is 1000 milliseconds.

Command Modes

Interface (VLAN) switch configuration (config-switch-if)

Command History

Release Modification
3.5.1

This command was introduced.

Usage Guidelines

None

Examples

The following example increases the IGMP last-member query interval to 1500 milliseconds:


nfvis(config-switch)# interface vlan 1
nfvis(config-switch-if)# ip igmp last-member-query-interval 1500
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end

ip igmp query-max-response-time

To configure the maximum response time advertised in the IGMP queries, use the ip igmp query-max-response-time command in the interface switch configuration mode. To restore the default value, use the no form of this command.

ip igmp query-max-response-time seconds

no ip igmp query-max-response-time

Syntax Description

seconds

Maximum response time, in seconds, advertised in IGMP queries. Valid range is from 5–20.

Command Default

10 seconds.

Command Modes

Interface (VLAN) switch configuration (config-switch-if)

Command History

Release Modification
3.5.1

This command was introduced.

Usage Guidelines

This command controls how much time the hosts have to answer an IGMP query message before the router deletes their group. Configuring a value of fewer than 10 seconds enables the router to prune groups faster.

The maximum query response time must be less than the query interval.

Examples

The following example configures a maximum response time of 8 seconds:


nfvis(config-switch)# interface vlan 1
nfvis(config-switch-if)# ip igmp query-max-response-time 8
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end

ip igmp query-interval

To configure the frequency at which the IGMP querier sends the IGMP host-query messages from an interface, use the ip igmp query-interval command in interface switch configuration mode. To restore the default IGMP query interval, use the no form of this command.

ip igmp query-interval seconds

no ip igmp query-interval

Syntax Description

seconds

Frequency, in seconds, at which the switch sends IGMP query messages from the interface. Valid range is from 30 to 18000.

Command Default

The default IGMP query interval is 125 seconds.

Command Modes

Interface (VLAN) switch configuration (config-switch-if)

Command History

Release Modification
3.5.1

This command was introduced.

Usage Guidelines

The IGMP querier sends query-host messages to discover which multicast groups have members on the attached networks of the router.

The query interval must be bigger than the maximum query response time.

Examples

The following example shows how to increase the frequency, at which the IGMP querier sends IGMP host-query messages, to 180 seconds:


nfvis(config-switch)# interface vlan 1
nfvis(config-switch-if)# ip igmp query-interval 180
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end  

ip igmp robustness

To configure the IGMP robustness variable, use the ip igmp robustness command in interface switch configuration mode. To restore the default value, use the no form of this command.

ip igmp robustness count

no ip igmp robustness

Syntax Description

count

The number of expected packets lost on a link. Valid range is from 1 to 7.

Command Default

The default value is 2.

Command Modes

Interface (VLAN) switch configuration (config-switch-if)

Command History

Release Modification
3.5.1

This command was introduced.

Examples

The following example changes the value of the IGMP robustness variable to 3:


nfvis(config-switch)# interface vlan 20
nfvis(config-switch-if)# ip igmp robustness 3
nfvis(config-switch-if)# commit
nfvis(config-switch-if)# end