H3C S9500 Command Manual-Release2132[V2.03]-04 IP Multicast Volume

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release2132[V2.03]-04 IP Multicast Volume
02-IGMP Snooping Commands
Title Size Download
02-IGMP Snooping Commands 137.36 KB

Chapter 1  IGMP Snooping Configuration Commands

1.1  IGMP Snooping Configuration Commands

1.1.1  debugging igmp-snooping

Syntax

debugging igmp-snooping { all | event | abnormal | driver | group | timer | ipc { receive | send } | packet [ vlan vlan-id [ port port-type port-number ] ] }

undo debugging igmp-snooping { all | event | abnormal | driver | group | timer | ipc { receive | send } | packet }

View

User view

Default Level

1: Monitor level

Parameters

all: Specifies all types of debugging for IGMP Snooping.

event: Specifies event debugging for IGMP-Snooping.

abnormal: Specifies abnormal information debugging for IGMP-Snooping.

driver: Specifies driver debugging for IGMP-Snooping.

group: Specifies group debugging for IGMP-Snooping.

timer: Specifies timer debugging for IGMP-Snooping.

ipc: Specifies debugging for IPC packets.

receive: Specifies debugging for received IPC packets.

send: Specifies debugging for sent IPC packets.

packet: Specifies debugging for IGMP messages.

vlan vlan-id: Specifies a VLAN ID.

port port-type port-number: Specifies a port by its type and number.

Description

Use the debugging igmp-snooping command to enable debugging for IGMP Snooping.

Use the undo debugging igmp-snooping command to disable debugging for IGMP Snooping.

By default, debugging for IGMP Snooping is disabled.

Table 1-1 debugging igmp-snooping driver command output description

Field

Description

mask boardmask

Adding/deleting the target board mask of an entry

(saddr, gaddr)

(S, G) entry

 

Table 1-2 debugging igmp-snooping event command output description

Field

Description

Succeed to enable/disable IGMP snooping drop-unknown globally

The function of dropping unknown multicast packets globally enabled/disabled

 

Table 1-3 debugging igmp-snooping group command output description

Field

Description

(saddr, gaddr)

(S, G) entry

on vlan vlanid

VLAN to which the (S, G) belongs

 

Table 1-4 debugging igmp-snooping packet command output description

Field

Description

IGMP general query/ special query/ group-and-source-specific query/report/done packet

IGMP general query/group-specific query/group-and-source-specific query/report/leave message

port portname

Number of the port that processes the message

on vlan vlanid

ID of the VLAN to which the port belongs

destination address dstaddr

Destination address of the message

 

Table 1-5 debugging igmp-snooping timer command output description

Field

Description

host port aging timer/time

router port aging timer/time

aggregation host port aging timer/time

aggregation router port aging timer/time

querier timer/interval

IGMP-Snooping timers

 

Examples

# Enable all types of debugging for IGMP Snooping.

<Sysname> debugging igmp-snooping all

1.1.2  display igmp-snooping group

Syntax

display igmp-snooping group [ vlan vlan-id ] [ slot slot-id ] [ verbose ]

View

Any view

Default Level

1: Monitor level

Parameters

vlan vlan-id: Displays the IGMP Snooping multicast group information in the specified VLAN. If you do not specify a VLAN, this command will display the IGMP Snooping multicast group information in all VLANs.

slot slot-id: Displays the IGMP Snooping multicast group information for the specified board. If you do not specify a slot, this command will display the IGMP Snooping multicast group information on the switching and routing processing unit (SRPU) only.

verbose: Specifies to display the detailed IGMP Snooping multicast group information.

Description

Use the display igmp-snooping group command to view the IGMP Snooping multicast group information.

Examples

# View the detailed IGMP Snooping multicast group information on the board in slot 7.

<Sysname> display igmp-snooping group slot 7 verbose

    Total 1 IP Group(s).

    Total 1 IP Source(s).

    Total 1 MAC Group(s).

 

  Port flags: D-Dynamic port, S-Static port, A-Aggregation port, C-Copy port

  Subvlan flags: R-Real VLAN, C-Copy VLAN

  Vlan(id):3000.

    Total 1 IP Group(s).

    Total 1 IP Source(s).

    Total 1 MAC Group(s).

    Router port unit board: Mask(0x0)

    Router port(s):total 0 port.

    IP group(s):the following ip group(s) match to one mac group.

      IP group address:232.1.0.1

        (0.0.0.0, 232.1.0.1):

          Attribute:    Host Port

          Host port unit board: Mask(0x0)

          Host port(s):total 1 port.

            Eth7/1/8              (D) ( 00:04:01 )

    MAC group(s):

      MAC group address:0100-5e01-0001

          Host port unit board: Mask(0x0)

          Host port(s):total 1 port.

            Eth7/1/8

Table 1-6 display igmp-snooping group command output description

Field

Description

Total 1 IP Group(s)

Total number of IP multicast groups

Total 1 IP Source(s)

Total number of multicast sources

Total 1 MAC Group(s)

Total number of MAC multicast groups

Port flags: D-Dynamic port, S-Static port, A-Aggregation port, C-Copy port

Port flags: D for dynamic port, S for static port, A for aggregation port, C for port copied from a (*, G) entry to an (S, G) entry

Subvlan flags: R-Real VLAN, C-Copy VLAN

Sub-VLAN flags: R for real egress sub-VLAN under the current entry, C for sub-VLAN copied from a (*, G) entry to an (S, G) entry

Mask (0x0)

Board mask (0x0 indicates that at least one port on the current board has joined the multicast group, while no ports of other boards have joined the group

Router port(s):

Number of router ports

IP group(s):

Information about IP multicast group(s)

IP group address

Address of IP multicast group

(0.0.0.0, 232.1.0.1)

(S, G) entry

Attribute

Attribute of the IP multicast group

Host port(s)

Number of host member port(s)

( 00:04:01 )

Remaining aging time of the port

MAC group(s):

Information about MAC multicast group(s)

MAC group address

Address of the MAC multicast group

 

1.1.3  display igmp-snooping statistics

Syntax

display igmp-snooping statistics

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display igmp-snooping statistics command to view the statistics information of IGMP messages learned by IGMP Snooping.

Examples

# View the statistics information of IGMP messages learned by IGMP Snooping.

<Sysname> display igmp-snooping statistics

  Received IGMP general  query packet(s) number:0.

  Received IGMP V1 report packet(s) number:0.

  Received IGMP V2 report packet(s) number:19.

  Received IGMP leave  packet(s) number:0.

  Received IGMP V2 specific query packet(s) number:0.

  Sent     IGMP V2 specific query packet(s) number:0.

  Received IGMP V3 report packet(s) number:0.

  Received IGMP V3 specific query packet(s) number:0.

  Received IGMP V3 specific sg query packet(s) number:0.

  Sent     IGMP V3 specific query packet(s) number:0.

  Sent     IGMP V3 specific sg query packet(s) number:0.

  Received error IGMP packet(s) number:19.

Table 1-7 display igmp-snooping statistics command output description

Field

Description

general query packet(s)

General query message(s)

specific query packet(s)

Group-specific query message(s)

report packet(s)

Report message(s)

leave packet(s)

Leave message(s)

specific sg query packet(s)

Group-and-source-specific query message(s)

error IGMP packets

IGMP messages with errors

 

1.1.4  drop-unknown

Syntax

drop-unknown

undo drop-unknown

View

IGMP-Snooping view

Default Level

2: System level

Parameters

None

Description

Use the drop-unknown command to enable globally the function of dropping unknown multicast data.

Use the undo drop-unknown command to disable globally the function of dropping unknown multicast data.

By default, this function is disabled, that is, unknown multicast data is flooded.

This command works only on an IGMP Snooping–enabled VLAN, but not on a VLAN with IGMP enabled on its VLAN interface.

Examples

# Globally enable the device to drop unknown multicast data.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] drop-unknown

1.1.5  fast-leave

Syntax

fast-leave [ vlan vlan-list ]

undo fast-leave [ vlan vlan-list ]

View

IGMP-Snooping view

Default Level

2: System level

Parameters

vlan vlan-list: Configures the fast leave feature for the specified VLAN(s). You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id or a VLAN range in the form of start-vlan-id to end-vlan-id, where the start VLAN ID must be greater than the end VLAN ID.

Description

Use the fast-leave command to enable the fast leave feature globally.

Use the undo fast-leave command to disable the fast leave feature globally.

By default, the fast leave feature is globally disabled.

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           If you do not specify any VLAN, the command will take effect for all VLANs; if you specify a VLAN or multiple VLANs, the command will take effect for the specified VLAN(s) only.

Related commands: igmp-snooping fast-leave.

Examples

# Enable the fast leave feature globally in VLAN 2.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] fast-leave vlan 2

1.1.6  group-policy

Syntax

group-policy acl-number [ vlan vlan-list ]

undo group-policy [ vlan vlan-list ]

View

IGMP-Snooping view

Default Level

2: System level

Parameters

acl-number: Basic ACL number.

vlan vlan-list: Configures a multicast group filter for the specified VLAN(s). You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id or a VLAN range in the form of start-vlan-id to end-vlan-id, where the start VLAN ID must be greater than the end VLAN ID.

Description

Use the group-policy command to configure a global multicast group filter.

Use the undo group-policy command to remove the configured global multicast group filter.

By default, no global multicast group filter is configured, namely a host can join any multicast group.

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           If you do not specify any VLAN, the command will take effect for all VLANs; if you specify a VLAN or multiple VLANs, the command will take effect for the specified VLAN(s) only.

l           If the specified ACL does not exist or the ACL rule is null, all multicast groups will be filtered out.

l           You can configure different ACL rules for a port in different VLANs; for a given VLAN, a newly configured ACL rule will override the existing one.

Related commands: igmp-snooping group-policy.

Examples

# Configure ACL 2000 as the multicast group filter in VLAN 2.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] group-policy 2000 vlan 2

1.1.7  host-aging-time

Syntax

host-aging-time interval

undo host-aging-time

View

IGMP-Snooping view

Default Level

2: System level

Parameters

interval: Dynamic member port aging time, in units of seconds.

Description

Use the host-aging-time command to configure the aging time of dynamic member ports globally.

Use the undo host-aging-time command to restore the default setting.

By default, the aging time of dynamic member ports is 260 seconds.

This command works only on an IGMP Snooping–enabled VLAN, but not on a VLAN with IGMP enabled on its VLAN interface.

Related commands: igmp-snooping host-aging-time.

Examples

# Set the aging time of dynamic member ports globally to 300 seconds.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] host-aging-time 300

1.1.8  igmp-snooping

Syntax

igmp-snooping

undo igmp-snooping

View

System view

Default Level

2: System level

Parameters

None

Description

Use the igmp-snooping command to enable IGMP Snooping globally and enter IGMP-Snooping view.

Use the undo igmp-snooping command to disable IGMP Snooping globally.

By default, IGMP Snooping is disabled.

Related commands: igmp-snooping enable.

 

  Caution:

If you execute the undo igmp-snooping command on the IGMP Snooping–enabled switch, all the IGMP Snooping configurations will be lost.

 

Examples

# Enable IGMP Snooping globally and enter IGMP-Snooping view.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping]

1.1.9  igmp-snooping enable

Syntax

igmp-snooping enable

undo igmp-snooping enable

View

VLAN view

Default Level

2: System level

Parameters

None

Description

Use the igmp-snooping enable command to enable IGMP Snooping in the current VLAN.

Use the undo igmp-snooping enable command to disable IGMP Snooping in the current VLAN.

By default, IGMP Snooping is disabled in a VLAN.

Note that:

l           IGMP Snooping must be enabled globally before it can be enabled in a VLAN.

l           After enabling IGMP Snooping in a VLAN, you cannot enable IGMP and/or PIM on the corresponding VLAN interface, and vice versa.

Related commands: igmp-snooping.

Examples

# Enable IGMP Snooping in VLAN 2.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping enable

1.1.10  igmp-snooping fast-leave

Syntax

igmp-snooping fast-leave [ vlan vlan-list ]

undo igmp-snooping fast-leave [ vlan vlan-list ]

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

vlan vlan-list: Configures the fast leave feature for the specified VLAN(s). You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id or a VLAN range in the form of start-vlan-id to end-vlan-id, where the start VLAN ID must be greater than the end VLAN ID.

Description

Use the igmp-snooping fast-leave command to enable the fast leave feature on the current port or group of ports.

Use the undo igmp-snooping fast-leave command to disable the fast leave feature on the current port or group of ports.

By default, the fast leave feature is disabled.

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           If you do not specify any VLAN in Ethernet interface view, the command will take effect on the port no matter which VLAN the port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect on the port only if the port belongs to the specified VLAN(s).

l           If you do not specify any VLAN in manual port group view, the command will take effect on all the ports in this group no matter which VLANs these ports belong to; if you specify a VLAN or multiple VLANs, the command will take effect on those ports in this group that belong to the specified VLAN(s).

l           Configurations made in aggregation port group view are effective only for the master port in the group. If you do not specify any VLAN in aggregation port group view, the command will take effect no matter which VLAN the master port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect only if the master port belongs to the specified VLAN(s).

Related commands: fast-leave.

Examples

# Enable the fast leave feature on Ethernet 1/1/1, which belongs to VLAN 2.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] igmp-snooping fast-leave vlan 2

1.1.11  igmp-snooping general-query source-ip

Syntax

igmp-snooping general-query source-ip { current-interface | ip-address }

undo igmp-snooping general-query source-ip

View

VLAN view

Default Level

2: System level

Parameters

current-interface: Sets the source address of IGMP general queries to the address of the current VLAN interface. If the current VLAN interface does not have an IP address, the default IP address 0.0.0.0 will be used as the source IP address of IGMP general queries.

ip-address: Specifies the source address of IGMP general queries, which can be any legal IP address.

Description

Use the igmp-snooping general-query source-ip command to configure the source address of IGMP general queries.

Use the undo igmp-snooping general-query source-ip command to restore the default configuration.

By default, the source IP address of IGMP general queries is 0.0.0.0.

This command takes effect only if IGMP Snooping is enabled in the VLAN.

Examples

# Set the IP address of the interface of VLAN 2 to 10.1.1.1, with the subnet mask of 255.255.255.0, and specify this IP address as the source IP address of IGMP general queries.

<Sysname> system-view

[Sysname] interface vlan-interface 2

[Sysname-Vlan-interface2] ip address 10.1.1.1 255.255.255.0

[Sysname-Vlan-interface2] quit

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping general-query source-ip current-interface

1.1.12  igmp-snooping group-limit

Syntax

igmp-snooping group-limit limit [ vlan vlan-list ]

undo igmp-snooping group-limit [ vlan vlan-list ]

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

limit: Maximum number of multicast groups that can be joined on a port.

vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id or a VLAN range in the form of start-vlan-id to end-vlan-id, where the start VLAN ID must be greater than the end VLAN ID.

Description

Use the igmp-snooping group-limit command to configure the maximum number of multicast groups that can be joined on a port.

Use the undo igmp-snooping group-limit command to restore the default setting.

The default value is 512.

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           If you do not specify any VLAN in Ethernet interface view, the command will take effect on the port no matter which VLAN the port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect on the port only if the port belongs to the specified VLAN(s).

l           If you do not specify any VLAN in manual port group view, the command will take effect on all the ports in this group no matter which VLANs these ports belong to; if you specify a VLAN or multiple VLANs, the command will take effect on those ports in this group that belong to the specified VLAN(s).

l           Configurations made in aggregation port group view are effective only for the master port of the group. If you do not specify any VLAN in aggregation port group view, the command will take effect no matter which VLAN the master port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect only if the master port belongs to the specified VLAN(s).

Examples

# Configure to allow up to 10 multicast groups to be joined on Ethernet 1/1/1, which belongs to VLAN 2.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] igmp-snooping group-limit 10 vlan 2

1.1.13  igmp-snooping group-policy

Syntax

igmp-snooping group-policy acl-number [ vlan vlan-list ]

undo igmp-snooping group-policy [ vlan vlan-list ]

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

acl-number: Basic ACL number.

vlan vlan-list: Configures a multicast group filter in the specified VLAN(s). You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id or a VLAN range in the form of start-vlan-id to end-vlan-id, where the start VLAN ID must be greater than the end VLAN ID.

Description

 Use the igmp-snooping group-policy command to configure a multicast group filter on the current port(s).

Use the undo igmp-snooping group-policy command to remove a multicast group filter on the current port(s).

Be default, no multicast group filter is configured on an interface, namely a host can join any multicast group

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           If you do not specify any VLAN in Ethernet interface view, the command will take effect on the port no matter which VLAN the port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect on the port only if the port belongs to the specified VLAN(s).

l           If you do not specify any VLAN in manual port group view, the command will take effect on all the ports in this group no matter which VLANs these ports belong to; if you specify a VLAN or multiple VLANs, the command will take effect on those ports in this group that belong to the specified VLAN(s).

l           Configurations made in aggregation port group view are effective only for the master port of the group. If you do not specify any VLAN in aggregation port group view, the command will take effect no matter which VLAN the master port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect only if the master port belongs to the specified VLAN(s).

l           If the specified ACL does not exist or the ACL rule is null, all multicast groups will be filtered out.

l           You can configure different ACL rules for a port in different VLANs; for a given VLAN, a newly configured ACL rule will override the existing one.

Related commands: group-policy.

Examples

# Configure ACL 2000 as the multicast group filter on Ethernet 1/1/1, which belongs to VLAN 2.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] igmp-snooping group-policy 2000 vlan 2

1.1.14  igmp-snooping host-aging-time

Syntax

igmp-snooping host-aging-time interval

undo igmp-snooping host-aging-time

View

VLAN view

Default Level

2: System level

Parameters

interval: Dynamic member port aging time, in units of seconds.

Description

Use the igmp-snooping host-aging-time command to configure the aging time of dynamic member ports in the current VLAN.

Use the undo igmp-snooping host-aging-time command to restore the default setting.

By default, the aging time of dynamic member ports is 260 seconds.

This command takes effect only if IGMP Snooping is enabled in the VLAN.

Related commands: host-aging-time.

Examples

# Set the aging time of dynamic member ports to 300 seconds in VLAN 2.

<Sysname> system-view

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping host-aging-time 300

1.1.15  igmp-snooping host-join

Syntax

igmp-snooping host-join group-address [ source-ip source-address ] vlan vlan-id

undo igmp-snooping host-join group-address [ source-ip source-address ] vlan vlan-id

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

vlan vlan-id: Specifies the VLAN that comprises the Ethernet port(s).

group-address: Address of the multicast group that the simulated host is to join, in the range of 224.0.1.0 to 239.255.255.255.

source-address: Address of the multicast source that the simulated host is to join. The value of this argument should be a valid unicast address or 0.0.0.0. If the value is 0.0.0.0, this means that no multicast source is specified.

Description

Use the igmp-snooping host-join command to configure simulated (*, G) or (S, G) joining on the current port or ports.

Use the undo igmp-snooping host-join command to restore the default.

By default, no ports are configured as simulated hosts for any multicast groups or sources-groups.

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           The source-ip source-address option in the command is meaningful only for IGMP Snooping version 3. If IGMP Snooping version 2 is running, although you can include source-ip source-address in your command, the simulated host does not make a response when receiving a query message.

l           If configured in Ethernet interface view, this feature takes effect on the port only if the port belongs to the specified VLAN. If configured in manual port group view, this feature takes effect on all the ports in the current port group that belong to the specified VLAN. When used in aggregation port group view, the command will take effect on the master port that belongs to the specified VLAN..

Examples

# Configure Ethernet 1/1/1 in VLAN 2 to join (1.1.1.1, 232.1.1.1) as a simulated host.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping enable

[Sysname-vlan2] igmp-snooping version 3

[Sysname-vlan2] quit

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] igmp-snooping host-join 232.1.1.1 source-ip 1.1.1.1 vlan 2

1.1.16  igmp-snooping last-member-query-interval

Syntax

igmp-snooping last-member-query-interval interval

undo igmp-snooping last-member-query-interval

View

VLAN view

Default Level

2: System level

Parameters

interval: Interval between IGMP last-member queries, in units of seconds.

Description

Use the igmp-snooping last-member-query-interval command to configure the interval between IGMP last-member queries in the VLAN.

Use the undo igmp-snooping last-member-query-interval command to restore the default setting.

By default, the IGMP last-member query interval is 1 second.

This command takes effect only if IGMP Snooping is enabled in the VLAN.

Related commands: last-member-query-interval.

Examples

# Set the interval between IGMP last-member queries to 3 seconds in VLAN 2.

<Sysname> system-view

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping last-member-query-interval 3

1.1.17  igmp-snooping max-response-time

Syntax

igmp-snooping max-response-time interval

undo igmp-snooping max-response-time

View

VLAN view

Default Level

2: System level

Parameters

interval: Maximum response time to IGMP general queries, in units of seconds.

Description

Use the igmp-snooping max-response-time command to configure the maximum response time to IGMP general queries in the VLAN.

Use the undo igmp-snooping max-response-time command to restore the default setting.

By default, the maximum response time to IGMP general queries is 10 seconds.

This command takes effect only if IGMP Snooping is enabled in the VLAN.

Related commands: max-response-time, igmp-snooping query-interval.

Examples

# Set the maximum response time to IGMP general queries to 5 seconds in VLAN 2.

<Sysname> system-view

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping max-response-time 5

1.1.18  igmp-snooping overflow-replace

Syntax

igmp-snooping overflow-replace [ vlan vlan-list ]

undo igmp-snooping overflow-replace [ vlan vlan-list ]

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

vlan vlan-list: Configures the multicast group replacement function in the specified VLAN(s). You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id or a VLAN range in the form of start-vlan-id to end-vlan-id, where the start VLAN ID must be greater than the end VLAN ID.

Description

Use the igmp-snooping overflow-replace command to enable the multicast group replacement function on the current port(s).

Use the undo igmp-snooping overflow-replace command to disable the multicast group replacement function on the current port(s).

By default, the multicast group replacement function is disabled.

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           If you do not specify any VLAN in Ethernet interface view, the command will take effect on the port no matter which VLAN the port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect on the port only if the port belongs to the specified VLAN(s).

l           If you do not specify any VLAN in manual port group view, the command will take effect on all the ports in this group no matter which VLANs these ports belong to; if you specify a VLAN or multiple VLANs, the command will take effect on those ports in this group that belong to the specified VLAN(s).

l           Configurations made in aggregation port group view are effective only for the master port of the group. If you do not specify any VLAN in aggregation port group view, the command will take effect no matter which VLAN the master port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect only if the master port belongs to the specified VLAN(s).

Related commands: overflow-replace.

Examples

# Enable the multicast group replacement function on Ethernet 1/1/1, which belongs to VLAN 2.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] igmp-snooping overflow-replace vlan 2

1.1.19  igmp-snooping querier

Syntax

igmp-snooping querier

undo igmp-snooping querier

View

VLAN view

Default Level

2: System level

Parameters

None

Description

Use the igmp-snooping querier command to enable the IGMP Snooping querier function.

Use the undo igmp-snooping querier command to disable the IGMP Snooping querier function.

By default, the IGMP Snooping querier function is disabled.

This command takes effect only if IGMP Snooping is enabled in the VLAN.

Examples

# Enable the IGMP Snooping querier function in VLAN 2.

<Sysname> system-view

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping querier

1.1.20  igmp-snooping query-interval

Syntax

igmp-snooping query-interval interval

undo igmp-snooping query-interval

View

VLAN view

Default Level

2: System level

Parameters

interval: Interval between IGMP general queries, in units of seconds.

Description

Use the igmp-snooping query-interval command to configure the interval between IGMP general queries.

Use the undo igmp-snooping query-interval command to restore the default setting.

By default, the IGMP general query interval is 60 seconds.

This command takes effect only if IGMP Snooping is enabled in the VLAN.

 

  Caution:

In the configuration, make sure that the IGMP general query interval is larger than the maximum response time for IGMP general queries.

 

Related commands: igmp-snooping querier, igmp-snooping max-response-time, max-response-time.

Examples

# Set the interval between IGMP general queries to 20 seconds in VLAN 2.

<Sysname> system-view

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping query-interval 20

1.1.21  igmp-snooping router-aging-time

Syntax

igmp-snooping router-aging-time interval

undo igmp-snooping router-aging-time

View

VLAN view

Default Level

2: System level

Parameters

interval: Dynamic router port aging time, in units of seconds.

Description

Use the igmp-snooping router-aging-time command to configure the aging time of dynamic router ports in the current VLAN.

Use the undo igmp-snooping router-aging-time command to restore the default setting.

By default, the aging time of dynamic router ports is 105 seconds.

This command takes effect only if IGMP Snooping is enabled in the VLAN.

Related commands: router-aging-time.

Examples

# Set the aging time of dynamic router ports to 100 seconds in VLAN 2.

<Sysname> system-view

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping router-aging-time 100

1.1.22  igmp-snooping special-query source-ip

Syntax

igmp-snooping special-query source-ip { current-interface | ip-address }

undo igmp-snooping special-query source-ip

View

VLAN view

Default Level

2: System level

Parameters

current-interface: Sets the source address of IGMP group-specific queries to the address of the current VLAN interface. If the current VLAN interface does not have an IP address, the default IP address 0.0.0.0 will be used as the source IP address of IGMP group-specific queries.

ip-address: Sets the source address of IGMP group-specific queries to the specified address.

Description

Use the igmp-snooping special-query source-ip command to configure the source IP address of IGMP group-specific queries.

Use the undo igmp-snooping special-query source-ip command to restore the default configuration.

By default, the source IP address of IGMP group-specific queries is 0.0.0.0.

This command takes effect only if IGMP Snooping is enabled in the VLAN.

Examples

# Set the IP address of the interface of VLAN 2 to 10.1.1.1, with the subnet mask of 255.255.255.0, and specify this IP address as the source IP address of IGMP group-specific queries.

<Sysname> system-view

[Sysname] interface vlan-interface 2

[Sysname-Vlan-interface2] ip address 10.1.1.1 255.255.255.0

[Sysname-Vlan-interface2] quit

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping special-query source-ip current-interface

1.1.23  igmp-snooping static-group

Syntax

igmp-snooping static-group group-address [ source-ip source-address ] vlan vlan-id

undo igmp-snooping static-group group-address [ source-ip source-address ] vlan vlan-id

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

group-address: Address of the multicast group to be statically joined, in the range of 224.0.0.0 to 239.255.255.255.

source-address: Address of multicast source to be statically joined. The value of this argument should be a valid unicast address or 0.0.0.0. If the value is 0.0.0.0, this means no multicast source is specified.

vlan vlan-id: Specifies the VLAN that comprises the Ethernet port(s).

Description

Use the igmp-snooping static-group command to configure the current port(s) as static member ports for the specified multicast group or source-group.

Use the undo igmp-snooping static-group command to restore the default.

By default, no ports are static member ports.

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           The source-ip source-address option in the command is meaningful only for IGMP Snooping version 3. If IGMP Snooping version 2 is running, although you can include the source-ip source-address option in your command, the configuration will not take effect.

l           If configured in Ethernet interface view, this feature takes effect on the port only if the port belongs to the specified VLAN. If configured in manual port group view, this feature takes effect only on those ports in this port group that belong to the specified VLAN. When used in aggregation port group view, the command will take effect only if the master port belongs to the specified VLAN(s).

Examples

# Configure Ethernet 1/1/1 in VLAN 2 as a static member port for (1.1.1.1, 232.1.1.1).

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping enable

[Sysname-vlan2] igmp-snooping version 3

[Sysname-vlan2] quit

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] igmp-snooping static-group 232.1.1.1 source-ip 1.1.1.1 vlan 2

1.1.24  igmp-snooping static-router-port

Syntax

igmp-snooping static-router-port vlan vlan-id

undo igmp-snooping static-router-port vlan vlan-id

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

vlan vlan-id: Specifies a VLAN in which one or more static router ports are to be configured.

Description

Use the igmp-snooping static-router-port command to configure the current port(s) as static router port(s).

Use the undo igmp-snooping static-router-port command to restore the default.

By default, no ports are static router ports.

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           If configured in Ethernet interface view, this feature takes effect on the port only if the port belongs to the specified VLAN. If configured in manual port group view, this feature takes effect on all the ports in the current port group that belong to the specified VLAN. When used in aggregation port group view, the command will take effect on the master port that belongs to the specified VLAN.

Examples

# Configure Ethernet 1/1/1 in VLAN 2 as a static router port.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] igmp-snooping static-router-port vlan 2

1.1.25  igmp-snooping version

Syntax

igmp-snooping version version-number

undo igmp-snooping version

View

VLAN view

Default Level

2: System level

Parameters

version-number: IGMP snooping version.

Description

Use the igmp-snooping version command to configure the IGMP Snooping version.

Use the undo igmp-snooping version command to restore the default setting.

By default, the IGMP version is 2.

This command can take effect only if IGMP Snooping is enabled in the VLAN.

Related commands: igmp-snooping enable.

Examples

# Enable IGMP Snooping in VLAN 2, and set the IGMP Snooping version to version 3.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] igmp-snooping enable

[Sysname-vlan2] igmp-snooping version 3

1.1.26  last-member-query-interval

Syntax

last-member-query-interval interval

undo last-member-query-interval

View

IGMP-Snooping view

Default Level

2: System level

Parameters

interval: Interval between IGMP last-member queries, in units of seconds.

Description

Use the last-member-query-interval command to configure the interval between IGMP last-member queries globally.

Use the undo last-member-query-interval command to restore the default setting.

By default, the interval between IGMP last-member queries is 1 second.

This command works only on an IGMP Snooping–enabled VLAN, but not on a VLAN with IGMP enabled on its VLAN interface.

Related commands: igmp-snooping last-member-query-interval.

Examples

# Set the interval between IGMP last-member queries globally to 3 seconds.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] last-member-query-interval 3

1.1.27  max-response-time

Syntax

max-response-time interval

undo max-response-time

View

IGMP-Snooping view

Default Level

2: System level

Parameters

interval: Maximum response time to IGMP general queries, in units of seconds.

Description

Use the max-response-time command to configure the maximum response time to IGMP general queries globally.

Use the undo max-response-time command to restore the default value.

By default, the maximum response time to IGMP general queries is 10 seconds.

This command works only on an IGMP Snooping–enabled VLAN, but not on a VLAN with IGMP enabled on its VLAN interface.

Related commands: igmp-snooping max-response-time, igmp-snooping query-interval.

Examples

# Set the maximum response time to IGMP general queries globally to 5 seconds.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] max-response-time 5

1.1.28  overflow-replace

Syntax

overflow-replace [ vlan vlan-list ]

undo overflow-replace [ vlan vlan-list ]

View

IGMP-Snooping view

Default Level

2: System level

Parameters

vlan vlan-list: Configures the multicast group replacement function for the specified VLAN(s). You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id or a VLAN range in the form of start-vlan-id to end-vlan-id, where the start VLAN ID must be greater than the end VLAN ID.

Description

Use the overflow-replace command to enable the multicast group replacement function.

Use the undo overflow-replace command to disable the multicast group replacement function.

By default, the multicast group replacement function is disabled.

Note that:

l           This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

l           If you do not specify any VLAN, the command will take effect for all VLANs; if you specify a VLAN or multiple VLANs, the command will take effect for the specified VLAN(s) only.

Related commands: igmp-snooping overflow-replace.

Examples

# Enable the multicast group replacement function in VLAN 2.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] overflow-replace vlan 2

1.1.29  report-aggregation

Syntax

report-aggregation

undo report-aggregation

View

IGMP-Snooping view

Default Level

2: System level

Parameters

None

Description

Use the report-aggregation command to enable IGMP report suppression.

Use the undo report-aggregation command to disable IGMP report suppression.

By default, IGMP report suppression is enabled.

This command works on an IGMP Snooping–enabled VLAN or on a VLAN with IGMP enabled on its VLAN interface.

Examples

# Disable IGMP report suppression.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] undo report-aggregation

1.1.30  reset igmp-snooping group

Syntax

reset igmp-snooping group { group-address | all } [ vlan vlan-id ]

View

User view

Default Level

2: System level

Parameters

group-address: Clears the information about the specified IGMP Snooping multicast group. The value range of group-address  is 224.0.1.0 to 239.255.255.255.

all: Clears all IGMP Snooping multicast group information.

vlan vlan-id: Clears the IGMP Snooping multicast group information in the specified VLAN.

Description

Use the reset igmp-snooping group command to clear IGMP Snooping multicast group information.

Note that:

l           This command works only on an IGMP Snooping–enabled VLAN, but not on a VLAN with IGMP enabled on its VLAN interface.

l           This command cannot clear IGMP Snooping multicast group information of static joins.

Examples

# Clear all IGMP Snooping multicast group information saved in the switch.

<Sysname> reset igmp-snooping group all

1.1.31  reset igmp-snooping statistics

Syntax

reset igmp-snooping statistics

View

User view

Default Level

2: System level

Parameters

None

Description

Use the reset igmp-snooping statistics command to clear the statistics information of IGMP messages learned by IGMP Snooping.

Examples

# Clear the statistics information of all kinds of IGMP messages learned by IGMP Snooping.

<Sysname> reset igmp-snooping statistics

1.1.32  router-aging-time

Syntax

router-aging-time interval

undo router-aging-time

View

IGMP-Snooping view

Default Level

2: System level

Parameters

interval: Dynamic router port aging time, in units of seconds.

Description

Use the router-aging-time command to configure the aging time of dynamic router ports globally.

Use the undo router-aging-time command to restore the default setting.

By default, the aging time of dynamic router ports is 105 seconds.

This command works only on an IGMP Snooping–enabled VLAN, but not on a VLAN with IGMP enabled on its VLAN interface.

Related commands: igmp-snooping router-aging-time.

Examples

# Set the aging time of dynamic router ports globally to 100 seconds.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] router-aging-time 100

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网