Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

vlan (IGMP Snooping)

Syntax

vlan (all | vlan-name) {data-forwarding {source {groups group-prefix;}receiver {source-vlans vlan-list;install;}}disable;immediate-leave;interface (all | interface-name) {multicast-router-interface;static {group ip-address;}}proxy {source-address ip-address;}robust-count number;version version;}

Hierarchy Level

[edit protocols igmp-snooping]

Release Information

Statement introduced in Junos OS Release 9.1 for EX Series switches.

Statement updated with enhanced ? (CLI completion feature) functionality in Junos OS Release 9.5 for EX Series switches.

Description

Configure IGMP snooping parameters for a VLAN.

When the vlan configuration statement is used without the disable statement, IGMP snooping is enabled on the specified VLAN or on all VLANs.

Note: You cannot configure IGMP snooping on a secondary VLAN.

Default

If the vlan statement is not included in the configuration, IGMP snooping is disabled.

Options

  • all—All VLANs on the switch
  • vlan-name—Name of a VLAN.

Tip: When you configure IGMP snooping parameters using the vlan all statement, any VLAN that is not individually configured for IGMP snooping inherits the vlan all configuration. Any VLAN that is individually configured for IGMP snooping, on the other hand, inherits none of its configuration from vlan all. Any parameters that are not explicitly defined for the individual VLAN assume their default values, not the values specified in the vlan all configuration.

For example, in the following configuration:

protocols {
    igmp-snooping {
        vlan all {
            robust-count 8;
        }
        vlan employee {
            interface ge-0/0/8.0 {
                static {
                    group 239.0.10.3
                }
            }
        }
    }
}   

all VLANs, except employee, have a robust count of 8. Because employee has been individually configured, its robust count value is not determined by the value set under vlan all. Instead, its robust count is the default value of 2.

The remaining statements are explained separately.

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.

Published: 2012-06-19