Multicast Configuration

igmp-snooping

To enable IGMP Snooping, use the igmp-snooping command in the global configuration mode. To disable IGMP Snooping, use the no form of the command.

igmp-snooping

no igmp-snooping

Syntax Description

igmp-snooping

Enables IGMP Snooping.

Command Default

IGMP Snooping is enabled by default.

Command Modes

Global configuration

Examples

The following example shows how to enable IGMP Snooping.

Device(config)#igmp-snooping

igmp-snooping drop

To configure a port to drop query or report packets, use the igmp-snooping drop command in the interface configuration mode. To configure the port to start receiving IGMP query or report packets, use the no form of the command.

igmp-snooping drop { query| report}

no igmp-snooping drop

Syntax Description

query

Configures the port to drop IGMP query packets.

report

Configures the port to drop IGMP report packets.

Command Default

Packet dropping is not enabled by default.

Command Modes

Interface configuration

Examples

The following example shows how to comfigure a port to drop query packets:

Device(config-if-ethernet-1/1)# igmp-snooping drop query

igmp-snooping fast-leave

To remove the port directly from the multicast group upon receiving an IGMP Leave message, use the igmp-snooping fast-leave command in the interface configuration mode. To disable fast leave use the no form of the command.

igmp-snooping fast-leave

no igmp-snooping fast-leave

Syntax Description

fast-leave

Removes the port directly from the multicast group upon receiving an IGMP Leave message

Command Default

Fast leave is not configured by default.

Command Modes

Interface configuration

Examples

The following example shows how to configure fast leave:

Device(config-if-ethernet-1/1)#igmp-snooping fast-leave

igmp-snooping group-limit action

To configure the action that the port will perform when it reaches the maximum number of multicast groups it can join, use the igmp-snooping group-limit action command in the interface configuration mode.

igmp-snooping group-limit action { drop| replace}

Syntax Description

drop

Drops the multicast group. This is the default action.

replace

Replaces an old multicast group with the new group.

Command Default

When the group limit is reached, the new group is dropped.

Command Modes

Interface configuration

Examples

This example shows how to configure the port to drop new multicast groups when it reaches the group limit

Device(config-if-ethernet-1/1)#igmp-snooping group-limit action drop

igmp-snooping group-limit

To configure the maximum number of multicast groups that an interface or a port can learn or join, use the igmp-snooping group-limit command in the interface configuration mode. To undo the limit on the maximum number of multicast groups that a port can join use the no form of the command.

igmp-snooping group-limit number

no igmp-snooping group-limit

Syntax Description

number

Specifies the maximum number of multicast groups that a port can join.The range is 0-1024.

Command Default

No limit is configured by default.

Command Modes

Interface configuration

Examples

The following examples shows how to configure a group limit of 100:

Device(config-if-ethernet-1/4)#igmp-snooping group-limit 100

igmp-snooping general-query source-ip

To configure the source IP address for sending general query packets, use the igmp-snooping general-query source-ip command in the global configuration mode. To disable the source IP address for sending general query, use the no form of the command.

igmp-snooping general-query source-ipip-address

no igmp-snooping general-query source-ipip-address

Syntax Description

ip-address

Configures the source IP address for sending general query

packets.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure a source IP address for sending general query packets:

Device(config)# igmp-snooping general-query source-ip 192.168.1.2

igmp-snooping host-aging-time

To configure the aging time of dynamic multicast members, use the igmp-snooping host-aging-time command in the global configuration mode. To disable aging time for dynamic multicast members use the no form of the command.

igmp-snooping host-aging-timetime

no igmp-snooping host-aging-time

Syntax Description

time

Specifies the aging time for dynamic multicast members. The range is from 10-1000000 seconds. The default value is 300 seconds.

Command Default

The aging time is set to 300 seconds.

Command Modes

Global configuration

Examples

The following example shows how to configure an aging time of 500 seconds:

Device(config)# igmp-snooping host-aging-time 500

igmp-snooping max-response-time

To configure the maximum waiting time for deleting group ports after receiving a leave packet, use the igmp-snooping max-resposne-time command in the global configuration mode.To disable a maximum waiting time use the no form of the command.

igmp-snooping max-response-time time

no igmp-snooping max-response-time time

Syntax Description

time

Configures the maximum waiting time for deleting group ports after receiving a leave packet. The range is from 1-100 seconds. The default value is 10 seconds.

Command Default

The default maximum waiting time is 10 seconds.

Command Modes

Global configuration

Examples

The following example shows how to configure a maximum response time of 20 seconds:

Device(config)# igmp-snooping max-response-time 20

igmp-snooping multicast vlan

To configure multicast VLAN for IGMP packets, use the igmp-snooping multicast vlan command in the interface configuration mode. To disable multicast VLAN for IGMP packets, use the no form of the command.

igmp-snooping multicast vlan vlan-id

no igmp-snooping multicast vlan

Syntax Description

multicast vlan

Configures multicast VLAN for the IGMP packets on the port.

Command Default

None

Command Modes

Interface configuration

Examples

The following example shows how to enable multicast VLAN for IGMP packets on VLANs 1-50:

Device(config-if-ethernet-1/1)# igmp-snooping multicast vlan 50

igmp-snooping {permit|deny}

To configure the default learning rule for multicast groups that are not in the blocked list or the allowed list, use the igmp-snooping {permit|deny} command in the global configuration mode. By default, the learning rule for all multicast groups that are not in the blocked list or the allowed list is to learn all multicast groups.

igmp-snooping { permit| deny} { group all| vlanvlan-id

Syntax Description

permit

Configures the list of groups that are permitted to join by IGMP snooping.

deny

Configures the list of groups that are denied to join by IGMP snooping.

Command Default

Default is to learn all multicast groups that are not in the blocked list or the allowed list

Command Modes

Global configuration

Examples

This example shows how to configure the rule to learn all multicast groups:

Device(config)#igmp-snooping permit group all

igmp-snooping profile refer

To configure a profile or a list of profiles as a reference for a port, use the igmp-snooping profile refer command in the interface configuration mode. You can disable the profile reference of a port using the no form of the command.

igmp-snooping profile referprofile-list

no igmp-snooping profile referprofile-list

Syntax Description

profile-list

Configures a list of reference profiles for the port.

Command Default

None

Command Modes

Interface configuration

Examples

The following exaple shows how to create reference profile for the port:

Device(config-if)# igmp-snooping profile refer 1-5

igmp-snooping profile

To create an IGMP Snooping profile, use the igmp-snooping profile command in the global configuration mode. To disable IGMP snooping profile use the no form of the command.

igmp-snooping profile profile-id

no igmp-snooping profile

Syntax Description

profile-id

Functions as an identifier for an IGMP Snooping profile. The range is 1-128.

Command Default

IGMP Snooping profile is not enabled by default.

Command Modes

Global configuration

Examples

The following example shows how to create an IGMP Snooping profile:

Device(config)# igmp-snooping profile 1

igmp-snooping {permit|deny} group-range

To configure a port to learn (or not learn) a range of MAC addresses and VLAN ids, use the igmp-snooping {permit|deny} group-range command in the interface configuration mode.

igmp-snooping { permit| deny} group-range MAC-address multi-count multi-count-numbervlan vlan-list

Syntax Description

multi-count multi-count-number

Configures the number of MAC addresses in the group range.

Command Default

None

Command Modes

Interface configuration

Examples

The following example shows how to permit a group range of MAC addresses and VLAN ids:

Device(config-if-ethernet-1/1)# igmp-snooping permit group-range 01:00:5e:09:08:07 multi-count 12 vlan 10

igmp-snooping query-interval

To configure the interval for sending general query packets, use the igmp-snooping query-interval command in the global configuration mode.

igmp-snooping query-interval interval

Syntax Description

interval

Configures the interval for sending general query packets. The range is from 1 to 30000 seconds.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure the IGMP Snooping query interval to 500 seconds:

Device(config)# igmp-snooping query-interval 500

igmp-snooping querier version

To configure the version of the IGMP Snooping querier, use the igmp-snooping querier version command in the global configuration mode. The IGMP snooping querier version is set to 2 by default.

igmp-snooping querier version version-id

Syntax Description

version-id

Configures the version of the IGMP Snooping querier. The range is 2-3. The default version is 2.

Command Default

the querier is set to version 2 by default.

Command Modes

Global configuration

Examples

The following example shows how to configure the IGMP Snooping querier vesion to version 3:

Device(config)# igmp-snooping querier version 3

igmp-snooping querier-vlan

To configure VLANs for general query packets, use the igmp-snooping querier-vlan command in the global configuration mode. To disable VLANs for query packets use the no form of the command.

igmp-snooping querier-vlanvlan-list

no igmp-snooping querier-vlanvlan-list

Syntax Description

querier-vlan

Configures a list of VLANs for general query packets.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure VLANs for the IGMP-Snooping querier:

Device(config)# igmp-snooping querier-vlan 1-50

igmp-snooping query-max-respond

To configure the maximum response time for general query packets, use the igmp-snooping query-max-respond command in the global configuration mode. To disable a maximum response time, use the no form of the command.

igmp-snooping query-max-respond time

no igmp-snooping query-max-respond time

Syntax Description

time

Configures the maximum response time for general query packets. The range is from 1 to 25 seconds.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure the maximum response time for general query packets to 10 seconds:

Device(config)# igmp-snooping query-max-respond 10

igmp-snooping record-host

To enable recording the MAC address of the source of an IGMP report packet, use the igmp-snooping record-host command in the interface configuration mode. To disable the recording of the host MAC address, use the no form of the command.

igmp-snooping record-host

no igmp-snooping record-host

Syntax Description

record-host

Enables recording the MAC address of the source of an IGMP report packet

Command Default

recording is not enabled by default

Command Modes

Interface configuration

Examples

The following example shows how to configure a port to record the host MAC address

Device(config-if-ethernet-1/1)# igmp-snooping record-host

igmp-snooping router-port-age

To configure the ageing time for the dynamic route port, use the igmp-snooping router-port-age command in the global configuration mode. To disable ageing time for the dynamic route port, use the no form of the command.

igmp-snooping router-port-age { on| off| age-time}

no igmp-snooping router-port-age { on| off| age-time}

Syntax Description

on

Starts router port age

off

Stops router port age.

age-time

Sets router port age time in seconds. The range is 10-1000000 seconds. The default value is 300 seconds.

Command Default

The router port age is on by default.

Command Modes

Global configuration

Examples

The following example shows how to start the rotuter port age:

Device(config)# igmp-snooping router-port-age on

igmp-snooping route-port forward

To configure a dynamic route port to forward multicast traffic packets, use the igmp-snooping route-port forward command in the global configuration mode. To disable the route port from forwarding multicast traffic packets, use the no form of the command.

igmp-snooping route-port forward

no igmp-snooping route-port forward

Syntax Description

forward

Configures the port to forward multicast traffic packets.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure a dynamic route port to forward multicast traffic packets:

Device(config)# igmp-snooping route-port forward

igmp-snooping report-supression

To enable IGMP Snooping supression of multicast reports, use the igmp-snooping report-supression command in the global configuration mode. To disable the suppression of multicast reports, use the no form of the command.

igmp-snooping report-supression

no igmp-snooping report-supression

Syntax Description

report-supression

Enables IGMP Snooping supression of multicast reports.

Command Default

Report supression is not enabled by default.

Command Modes

Global configuration

Examples

The following example shows how to enable IGMP Snooping report supression:

Device(config)# igmp-snooping report-suppression

igmp-snooping route-port vlan

To configure a static route port, use the igmp-snooping route-port vlan command in the global configuration mode. You can disable the static route port by using the no form of the command.

igmp-snooping route-port vlan vlan-id interface { all| channel-group channel-group-id| ethernet interface-number

no igmp-snooping route-port vlan vlan-id interface { all| channel-group channel-group-id| ethernet interface-number

Syntax Description

channel-group-id

Specifies the number of the channel group. The range is from 0-5.

interface-number

Specifies the ethernet interface number.

Command Default

None.

Command Modes

Global configuration

Examples

The following examples shows how to configure all the ports of an interface as static route ports:

Device(config)# igmp-snooping route-port vlan 50 interface all

ip range

To configure the range of IP addresses and VLAN IDs for an IGMP profile, use the ip range command in profile configuration mode.

ip range start-ip-address end-ip-address vlan vlan-id

Syntax Description

start-ip-address

Configures the start IP Address for the IGMP Snooping profile. The IP addresses range is from 224.0.0.1 to 239.255.255.254.

end-ip-address

Configures the end IP Address for the IGMP Snooping profile.The IP addresses range is from 224.0.0.1 to 239.255.255.254.

vlan-id

Configures the range of VLAN IDs for the IGMP Snooping profile. The VLAN id range is from 1 to 4094.

Command Default

None

Profile configuration mode

Examples

The following example shows how to configure the range of IP addresses and VLAN ids for an IGMP Snooping profile.

Device(config-igmp-profile-1)# ip range 224.0.0.1 239.255.255.254 vlan 50

mac range

To configure the range of MAC addresses and VLAN IDs for an IGMP profile, use the mac range command in profile configuration mode.

mac range start-mac-address end-mac-address vlan vlan-id

Syntax Description

start-mac-address

Configures the start MAC Address for the IGMP Snooping profile. The MAC addresses range is 01:00:5e:H:H:H. .

end-mac-address

Configures the end MAC Address for the IGMP Snooping profile.The MAC addresses range is 01:00:5e:H:H:H.

vlan-id

Configures the range of VLAN IDs for the IGMP Snooping profile. The VLAN id range is from 1 to 4094.

Command Default

None

Command Modes

Profile configuration

Examples

The following example shows how to configure the range of MAC addresses and VLAN ids for an IGMP Snooping profile.

Device(config-igmp-profile-1)# mac range 01:00:5e:09:08:07 01:00:5e:09:09:08 vlan 50

mld-snooping

To enable MLD Snooping, use the mld-snooping command in the global configuration mode. To disable MLD Snooping, use the no form of the command.

mld-snooping

no mld-snooping

Command Default

MLD Snooping is disabled by default.

Command Modes

Global configuration

Examples

The following example shows how to enable MLD Snooping.

Device(config)# mld-snooping

mld-snooping fast-leave

To remove the port directly from the multicast group upon receiving a Leave message, use the mld-snooping fast-leave command in the interface configuration mode. To disable fast leave, use the no form of the command.

Command Default

Fast leave is not configured by default.

Command Modes

Interface configuration

Examples

The following example shows how to configure fast leave:

Device(config-if-ethernet-1/1)# mld-snooping fast-leave

mld-snooping group-limit

To configure the maximum number of IPv6 multicast groups that an interface or a port can learn or join, use the mld-snooping group-limit command in the interface configuration mode. To undo the limit on the maximum number of IPv6 multicast groups that a port can join use the no form of the command.

mld-snooping group-limit number

no mld-snooping group-limit

Syntax Description

number

Specifies the maximum number of IPv6 multicast groups that a port can join.The range is 0-1024.

Command Default

No limit is configured by default.

Command Modes

Interface configuration

Examples

The following example shows how to configure a group limit of 100:

Device(config-if-ethernet-1/4)# mld-snooping group-limit 100

mld-snooping host-aging-time

To configure the aging time of dynamic multicast ports, use the mld-snooping host-aging-time command in the global configuration mode. To disable aging time for dynamic multicast ports use the no form of the command.

mld-snooping host-aging-time time

no mld-snooping host-aging-time

Syntax Description

time

Specifies the aging time for dynamic multicast ports. The range is from 10-1000000 seconds. The default value is 300 seconds.

Command Default

The aging time is set to 300 seconds.

Command Modes

Global configuration

Examples

The following example shows how to configure an aging time of 500 seconds for a host:

Device(config)# mld-snooping host-aging-time 500

mld-snooping max-response-time

To configure the maximum response time of the leave packets, use the mld-snooping max-resposne-time command in the global configuration mode. To disable the maximum response time, use the no form of the command.

mld-snooping max-response-time time

no mld-snooping max-response-time time

Syntax Description

time

Configures the maximum waiting time to send a response after receiving a leave packet. The range is from 1-100 seconds. The default value is 10 seconds.

Command Default

The default maximum waiting time is 10 seconds.

Command Modes

Global configuration

Examples

The following example shows how to configure a maximum response time of 20 seconds:

Device(config)# mld-snooping max-response-time 20

mld-snooping multicast vlan

To configure multicast VLAN with MLD snooping, use the mld-snooping multicast vlan command in the global configuration mode.

mld-snooping multicast vlan vlan_id

Syntax Description

vlan_id

The VLAN ID.

The range is from 1 to 4094.

Command Default

None

Command Modes

Interface configuration (config-if)

Examples

This example shows how to configure multicast VLAN with MLD snooping:

Device> enable
Device# configure terminal
Device(config)# interface gpon 0/1
Device(config-if-gpon-0/1)# mld-snooping multicast vlan 1

mld-snooping {permit|deny} {group|vlan}

To specify a learning rule on the device for the multicast groups that are not part of a blocked list or an allowed list, use the mld-snooping { permit| deny}{ group| vlan} command in the global configuration mode.

mld-snooping { permit | deny } { group all | vlan vlan-list }

Syntax Description

group all

Specifies that the learning policy applies to all multicast groups.

vlan vlan-list

Specifies the VLAN to which the learning policy applies.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to permit the learning rule for all multicast groups.

Device(config)# mld-snooping permit group all

mld-snooping permit deny group MAC vlan

To configure a list of multicast groups that are permitted or denied by MLD snooping in a particular VLAN, use the mld-snooping { permit | deny} group MAC vlan vlan-id in the interface configuration mode.

mld-snooping { permit | deny } group MAC-address vlan vlan-id

Syntax Description

MAC-address

Specifies the list of multicast groups that start at the MAC-address

Command Default

None

Command Modes

Interface configuration

Examples

The following example shows how to permit a group of MAC addresses in VLAN 5:

Device(config-if-ethernet-1/1)# mld-snooping permit group 33:33:5e:09:08:07 vlan 5

mld-snooping {permit|deny} group-range

To configure a port to learn (or not learn) a range of MAC addresses and VLAN ids, use the mld-snooping {permit|deny} group-range command in the interface configuration mode.

mld-snooping { permit | deny } group-range MAC-address multi-count multi-count-number vlan vlan-list

Syntax Description

multi-count multi-count-number

Configures the number of MAC addresses in the group range.

Command Default

None

Command Modes

Interface configuration

Examples

The following example shows how to permit a group range of MAC addresses and VLAN ids:

Device(config-if-ethernet-1/1)# mld-snooping permit group-range 33:33:5e:09:08:07 multi-count 12 vlan 10

mld-snooping querier

To enable MLD Snooping querier to forward the source address, maximum response time, and query interval for sending general query messages, use the mld-snooping querier command in the global configuration mode. To disable MLD Snooping querier, use the no form of the commnd.

mld-snooping querier

Command Default

MLD Snooping querier is disabled by default.

Command Modes

Global configuration

Examples

The following example shows how to enable MLD Snooping querier :

Device(config)# mld-snooping querier

mld-snooping querier-vlan

To configure VLANs for general query packets, use the mld-snooping querier-vlan command in the global configuration mode. To disable VLANs for query packets use the no form of the command.

mld-snooping querier-vlan vlan-id

no mld-snooping querier-vlan vlan-id

Syntax Description

vlan-id

Specifes the VLAN that carries the general query packets.

The range is 1 to 4094.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure a VLAN for the MLD Snooping querier:

Device(config)# mld-snooping querier-vlan 50

mld-snooping query-interval

To configure the interval for sending mld snooping general query packets, use the mld-snooping query-interval command in the global configuration mode.

mld-snooping query-interval interval

Syntax Description

interval

Configures the interval for sending mld-snooping general query packets. The range is from 1 to 30000 seconds.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure the MLD Snooping query interval to 3000 seconds:

Device(config)# mld-snooping query-interval 3000

mld-snooping query-max-respond

To configure the maximum response time for general query packets, use the mld-snooping query-max-respond command in the global configuration mode. To disable a maximum response time, use the no form of the command

mld-snooping query-max-respond time

no mld-snooping query-max-respond time

Syntax Description

time

Configures the maximum response time for general query packets. The range is from 1 to 25 seconds.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure the maximum response time for general query packets to 10 seconds:

Device(config)# mld-snooping query-max-respond 10

mld-snooping route-port forward

To configure a dynamic route port to forward IPv6 multicast traffic packets, use the mld-snooping route-port forward command in the global configuration mode. To disable the route port from forwarding IPv6 multicast traffic packets, use the no form of the command.

mld-snooping route-port forward

no igmp-snooping route-port forward

Syntax Description

forward

Configures the port to forward IPv6 multicast traffic packets.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure a dynamic route port to forward IPv6 multicast traffic packets:

Device(config)# mld-snooping route-port forward

mld-snooping route-port vlan

To configure a mutlicast router VLAN and specify the interface to the multicast router, use the mld-snooping route-port vlan command in the global configuration mode. You can disable the mutlicast router VLAN by using the no form of the command.

mld-snooping route-port vlan vlan-id interface { all | ethernet interface-number

no mld-snooping route-port vlan vlan-id interface { all | ethernet interface-number

Syntax Description

all

Specifies that all ports are multicast router interfaces.

ethernet interface-number

Specifies the ethernet interface number.

Command Default

None.

Command Modes

Global configuration

Examples

The following examples shows how to configure all the ports of an interface as multicast route ports:

Device(config)# mld-snooping route-port vlan 50 interface all

mld-snooping router-port-age

To configure the ageing time for the dynamic route port, use the mld-snooping router-port-age command in the global configuration mode. To disable ageing time for the dynamic route port, use the no form of the command.

mld-snooping router-port-age { on | off | age-time }

no mld-snooping router-port-age { on | off | age-time }

Syntax Description

on

Starts router port age

off

Stops router port age.

age-time

Sets router port age time in seconds. The range is 10-1000000 seconds. The default value is 300 seconds.

Command Default

The router port age is on by default.

Command Modes

Global configuration

Examples

The following example shows how to start the router port age:

Device(config)# mld-snooping router-port-age on

mld-snooping record-host

To enable the port to record the host information, use the mld-snooping record-host command in the global configuration mode.

mld-snooping record-host

Command Default

None

Command Modes

Interface configuration (config-if)

Examples

This example shows how to enable the port to record the host information:

Device> enable
Device# configure terminal
Device(config)# interface gpon 0/1
Device(config-if-gpon-0/1)# mld-snooping record-host

multicast

To create a static multicast group, use the multicast command in the global configuration mode.

multicast { mac-addressmac-address| ip-address ip-address} vlan vlan-id

Syntax Description

ip-address

Configures the static multicast IP address. It can only be in the format 224.x.x.x.

mac-address

Configures the static multicast MAC address. It can only be in the format 01:00:5e:H:H:H.

vlan-id

Configures the VLANS for the static multicast group.

Command Default

Multicast group is not configured by default.

Command Modes

Global configuration

Examples

The following example shows how to configure a static multicast group:

Device(config)# multicast ip-address 224.0.0.3 vlan  50   
Adding multicast group successfully !

multicast ds-tag add

To configure the ONT downlink multicast VLAN tag adding rule, use the multicast ds-tag add command in line profile configuration mode.

To disable the ONT uplink multicast VLAN tag adding rule, use the no multicast ds-tag add command.

multicast ds-tag add vlan_id {priority | port port_id}

no multicast ds-tag port port_id

Syntax Description

vlan_id

The VLAN ID

The range is from 1 to 4094.

priority

The 802.1 priority value.

The range is from 0 to 7.

port_id

The ONT Ethernet port ID.

The range is from 1 to 24.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to configure the ONT downlink multicast VLAN tag adding rule.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# multicast ds-tag add 3

multicast ds-tag remove

To configure the ONT downlink multicast VLAN tag removing rule, use the multicast ds-tag remove port command in line profile configuration mode. To delete the ONT downlink multicast VLAN tag, use the no multicast ds-tag port command

multicast ds-tag remove [port port_id]

no multicast ds-tag [port port_id]

Syntax Description

port_id

The ONT Ethernet port ID. The range is from 1 to 24.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to configure the ONT downlink multicast VLAN tag removing rule.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# multicast ds-tag remove

multicast ds-tag translate

To configure the ONT downlink multicast VLAN tag translating rule, use the multicast ds-tag translate command in line profile configuration mode.

multicast ds-tag translate vlan_id [priority | port port_id]

Syntax Description

vlan_id

The VLAN ID

The range is from 1 to 4094.

priority

The 802.1 priority value.

The range is from 0 to 7.

port_id

The ONT Ethernet port ID.

The range is from 1 to 24.

Command Modes

Line profile configuration (deploy-profile-line)

Usage Guidelines

You must configure a device type.

Examples

This example shows how to configure the ONT downlink multicast VLAN tag translating rule.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# multicast ds-tag translate 3

multicast fast-leave disable

To disable fast-leave, use the multicast fast-leave disable command in global configuration mode.

multicast fast-leave disable [port port_id]

no multicast fast-leave disable [port port_id]

Syntax Description

port_id

The ONT Ethernet port ID. The range is from 1 to 24.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to disable fast-leave on a port.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# multicast fast-leave disable

multicast group-limit

To configure the limit of multicast groups, use the multicast group-limit limit_number command in line profile configuration mode. To disable the limit of multicast groups, use the no multicast group-limit limit_number command.

multicast group-limit limit_number [port port_id]

no multicast group-limit limit_number [port port_id]

Syntax Description

limit_number

The multicast group limit. The range is from 1 to 128.

port_id

The ONT Ethernet port ID. The range is from 1 to 24.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to configure the limit of multicast groups.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# multicast group-limit 4

multicast interface

To add a port to a static multicast group, use the multicast interface command in the global configuration mode.

multicast { mac-addressmac-address| ip-address ip-address} vlan vlan-idinterface { all| interface-list}

Syntax Description

all

Adds all the ports of the interface to the static multicast group.

interface-list

Adds the specified ports of the interface to the static multicast group.

Command Default

None.

Command Modes

Global configuration

Examples

The following example shows how to add all the ports of an interface to a static multicast group:

Device(config)# multicast ip-address 224.0.0.11
vlan 1 interface all

multicast mode igmp-snooping

To enable Internet Group Management Protocol (IGMP) snooping, use the multicast mode igmp-snooping command in line profile configuration mode.

multicast mode igmp-snooping [port port_id]

Syntax Description

port_id

The ONT Ethernet port ID. The range is from 1 to 24.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to enable IGMP snooping on a port.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# multicast mode igmp-snooping port 10

multicast proxy-interval

To configure the interval at which the device sends report packets to the multicast source through the proxy port, use the multicast proxy-inteval command in the global configuration mode.

multicast proxy-interval seconds

Syntax Description

proxy-interval

Configures the interval at which the device sends report packets to the multicast source through the proxy port.

seconds

Configures the proxy-interval in seconds. The range is from 1-300. The default is 10 seconds.

Command Default

The default interval is 10 seconds.

Command Modes

Global configuration

Examples

The following example shows how to configure the proxy-interval to 100 seconds

Device(config)# multicast proxy-interval 100 

multicast proxy-port

To configure a proxy-port for the static multicast group, use the multicast proxy-port command in the global configuration mode.

multicast { mac-addressmac-address| ip-address ip-address} vlan vlan-idproxy-port ethernet port-id

Syntax Description

proxy-port

Configures a proxy port to send the multicast report to the multicast source.

port-id

Configures the port that will act as the proxy port.

Command Default

None

Command Modes

Global configuration

Examples

The following example shows how to configure a proxy port for a static multicast group:

Device(config)# multicast ip-address 225.0.0.11 vlan 1 proxy-port ethernet 1/1

multicast us-tag add

To configure the ONT uplink multicast VLAN tag adding rule, use the multicast us-tag add command in line profile configuration mode. To disable the ONT uplink multicast VLAN tag adding rule, use the no multicast us-tag add command.

multicast us-tag add vlan_id {priority | port port_id}

no multicast us-tag port port_id

Syntax Description

vlan_id

The VLAN ID

The range is from 1 to 4094.

priority

The 802.1 priority value.

The range is from 0 to 7.

port_id

The ONT Ethernet port ID.

The range is from 1 to 24.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to configure the ONT uplink multicast VLAN tag adding rule

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# multicast us-tag add 3

multicast us-tag translate

To configure the ONT downlink multicast VLAN tag translating rule, use the multicast us-tag translate command in line profile configuration mode. To disable the ONT downlink multicast VLAN tag translating rule, use the no multicast us-tag translate command

multicast us-tag translate vlan_id {priority | port port_id}

no multicast us-tag port port_id

Syntax Description

vlan_id

The VLAN ID

The range is from 1 to 4094.

priority

The 802.1 priority value.

The range is from 0 to 7.

port_id

The ONT Ethernet port ID.

The range is from 1 to 24.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to configure the ONT uplink multicast VLAN tag translating rule.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# multicast us-tag translate 3

profile limit

To configure the IGMP snooping profile type as a permit or deny profile, use the profile limit command in the profile configuration mode.

profile limit{ permit| deny}

Syntax Description

permit

Configures a list of groups that are permitted by the IGMP Snooping profile.

deny

Configures a list of groups that are denied by the IGMP Snooping profile.

Command Default

None

Command Modes

Profile configuration

Examples

The folloiwng example shows how to configure a permit type profile:

Device(config-igmp-profile-1)# profile limit permit

show igmp-snooping

To displays IGMP Snooping configurations, use the show igmp-snooping command in the EXEC mode.

show igmp-snooping

Syntax Description

igmp-snooping

Displays IGMP Snooping configurations.

Command Default

None

Command Modes

User EXEC
Privileged EXEC

Examples

The following example shows the output from show igmp-snooping command on an inteface where IGMP SNooping is enabled:

Device# show igmp-snooping
Enable IGMP-Snooping
Disable IGMP-Snooping report-suppression
The max response time is 10 second(s)
The host aging time is 300 second(s).
Disable IGMP-Snooping route-port forward
The Router port timeout is 300 second(s), Currently aging is running
Denied VLAN:
Blocked list:
NULL
Allowed list:
NULL
Default group policy is permit
IGMP-Snooping Querier : ON
Querier vlan : 1
Querier Source IP 0.0.0.0 | Max Query Respond Time 10 sec | Query interval 60
sec | Igmp version 2
Port Information:
port  limit  action  fast-leave  mcast-vlan  igmp-profile  drop-type
p0/1  1024   drop    disabled    disabled    disabled      null
p0/2  1024   drop    disabled    disabled    disabled      null
p0/3  1024   drop    disabled    disabled    disabled      null
p0/4  1024   drop    disabled    disabled    disabled      null
p0/5  1024   drop    disabled    disabled    disabled      null
p0/6  1024   drop    disabled    disabled    disabled      null
p0/7  1024   drop    disabled    disabled    disabled      null
p0/8  1024   drop    disabled    disabled    disabled      null
e1/1  1024   drop    disabled    disabled    1             null
e1/2  1024   drop    disabled    disabled    disabled      null
e1/3  1024   drop    disabled    disabled    disabled      null
e1/4  1024   drop    disabled    disabled    disabled      null
e2/1  1024   drop    disabled    disabled    disabled      null
e2/2  1024   drop    disabled    disabled    disabled      null

show igmp-snooping profile

To display the details of an IGMP Snooping profile, use the show igmp-snooping profile command in the EXEC mode.

showigmp-snooping profile { profile-id | interface port-id| vlan vlan-id}

Syntax Description

profile-id

Displays the details of the particular IGMP Snooping profile

port-id

Displays the IGMP Snooping profile details for the port.

vlan-id

Displays the IGMP Snooping profile details for the VLANs.

Command Default

None

Command Modes

User EXEC
Privileged EXEC

Examples

The following example displays the output of the show igmp-snooping profile command:

Device# show igmp-snooping profile 1

IGMP-Snooping profile 1
Profile description :
Profile limit       : permit
Profile referred    : e1/1.
start-address        end-address          vlan
224.0.0.1            239.255.255.254      any
Total ip range: 1, mac range: 0

Total profiles: 1, IP&MAC ranges: 1

show igmp-snooping record-host

To display the MAC address of the record host, use the show igmp-snooping record-host command in the EXEC mode.

show igmp-snooping record-host[ interface-id]

Syntax Description

record-host

Displays the MAC address of the record host.

interface-id

Displays the MAC address of the record host for the interface.

Command Default

None

Command Modes

User EXEC
Privileged EXEC

Examples

The following eample shows the output of the show igmp-snooping record-host command:

Device# show igmp-snooping record-host
show host record information
Total Record: 0

show igmp-snooping router-dynamic

To display the dynamic route ports, use the show igmp-snooping router-dynamic command in the EXEC mode.

show igmp-snooping router-dynamic

Syntax Description

router-dynamic

Displays the dynamic route ports.

Command Default

None

Command Modes

User EXEC
Privileged EXEC

Examples

The following example shows the output from show igmp-snooping router-dynamic command on an inteface where IGMP Snooping is enabled:

Device# show igmp-snooping router-dynamic
  Port        VID     Age       Type
  e1/3       100      237     { QUERY }
Total Record: 1

show igmp-snooping router-static

To display the static route ports on an interface or an a multicast VLAN, use the show igmp-snooping router-static command in the EXEC mode.

show igmp-snooping router-static [ interface { channel-group channel-group-id| ethernet port} | vlan vlan-id]

Syntax Description

router-static

Displays the static router ports.

channel-group-id

Displays the static ports for a LACP channel group. The range is 0-5.

vlan-id

Displays the static ports for Multicast VLANs.

Command Default

None

Command Modes

User EXEC
Privileged EXEC

Examples

The following example shows the output from show igmp-snooping router-static command on an inteface where IGMP SNooping is enabled:

Device# show igmp-snooping router-static interface  channel-group  1
  Port        VID     Age       Type
Total Record: 0

show mld-snooping

To display information about MLD snooping related configuration, use the show mld-snooping command in privileged EXEC or global configuration mode.

show mld-snooping

Command Modes

Privileged EXEC (#)

Global configuration (config)

Examples

This example shows how to view information about MLD snooping.

Device> enable
Device# configure terminal
Device(config)# show mld-snooping
Enable MLD-Snooping
The max response time is 10 second(s)
The host port timeout is 300 second(s).
Enable MLD-Snooping route-port forward
The Router port timeout is 300 second(s), Currently aging is running
Denied VLAN
Blocked list:
NULL
Allowed list:
NULL
Default group policy is permit
MLD-Snooping Querier : ON
Querier vlan : 101
Max Respond Time 25 sec | Query interval 60 sec
Port Information:
port   groups-limit  fast-leave  mcast-vlan
p0/1   1024          enabled     disabled
p0/2   1024          disabled    disabled
p0/3   1024          disabled    disabled
p0/4   1024          disabled    disabled
p0/5   1024          disabled    disabled
p0/6   1024          disabled    disabled
p0/7   1024          disabled    disabled
p0/8   1024          disabled    disabled
p0/9   1024          disabled    disabled
p0/10  1024          disabled    disabled
p0/11  1024          disabled    disabled
p0/12  1024          disabled    disabled
p0/13  1024          disabled    disabled
p0/14  1024          disabled    disabled
p0/15  1024          disabled    disabled
p0/16  1024          disabled    disabled
e1/1   1024          disabled    disabled
e1/2   1024          disabled    disabled
e1/3   1024          disabled    disabled
e1/4   1024          disabled    disabled
e2/1   1024          disabled    disabled
e2/2   1024          disabled    disabled

show mld-snooping router-dynamic

To display the information of dynamic routing port, use the show mld-snooping router-dynamic command in privileged EXEC or global configuration mode.

show mld-snooping router-dynamic

Command Modes

Privileged EXEC (#)

Global configuration (config)

Examples

This example shows how to view information about dynamic routing port.

Device> enable
Device# configure terminal
Device(config)# show mld-snooping router-dynamic
  Port        VID        Age      Type
  e1/3       101         300    { QUERY }
Total Record: 1

show mld-snooping router-static

To display the information of static routing port, use the show mld-snooping router-static command in privileged EXEC or global configuration mode.

show mld-snooping router-static

Command Modes

Privileged EXEC (#)

Global configuration (config)

Examples

This example shows how to view information about static routing port.

Device> enable
Device# configure terminal
Device(config)# show mld-snooping router-static
  Port        VID        Age      Type
Total Record: 0

show multicast mld-snooping

To display multicast information, use the show multicast mld-snooping command in privileged EXEC or global configuration mode.

show multicast mld-snooping interface { ethernet | gpon } slot-num/port-num

Syntax Description

slot-num/port-num

The port ID.

  • slot-number:

    • GPON: The value is 0.

    • GE Ethernet: The value is 1.

    • 10GE Ethernet: The value is 2.

  • port-number:

    • GPON: The range is from 1 to 8.

    • GE Ethernet: The range is from 1 to 4.

    • 10GE Ethernet: The range is from 1 to 2

Command Modes

Privileged EXEC (#)

Global configuration (config)

Examples

This example shows how to view information about multicast.

Device> enable
Device# configure terminal
Device(config)# show multicast mld-snooping interface gpon 0/1
show mld-snooping multicast table information

MAC Address  :  33:33:00:00:00:0c
IP Address   :  FF02::C
VLAN ID      :  101
Age time     :  274
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:00:00:00:fb
IP Address   :  FF02::FB
VLAN ID      :  101
Age time     :  283
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:00:01:00:03
IP Address   :  FF02::1:3
VLAN ID      :  101
Age time     :  299
MLD Port     :  g0/1
MLD Version  :  V2

MAC Address  :  33:33:ff:00:00:90
IP Address   :  FF02::1:FF00:90
VLAN ID      :  101
Age time     :  265
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:00:01:01
IP Address   :  FF02::1:FF00:101
VLAN ID      :  101
Age time     :  283
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:01:04:46
IP Address   :  FF02::1:FF01:446
VLAN ID      :  101
Age time     :  272
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:0a:7d:ec
IP Address   :  FF02::1:FF0A:7DEC
VLAN ID      :  101
Age time     :  283
MLD Port     :  g0/1
MLD Version  :  V2

MAC Address  :  33:33:ff:35:db:cf
IP Address   :  FF02::1:FF35:DBCF
VLAN ID      :  101
Age time     :  273
MLD Port     :  g0/1
MLD Version  :  V2

MAC Address  :  33:33:ff:3d:30:3b
IP Address   :  FF02::1:FF3D:303B
VLAN ID      :  101
Age time     :  270
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:53:25:fe
IP Address   :  FF02::1:FF53:25FE
VLAN ID      :  101
Age time     :  283
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:87:2c:93
IP Address   :  FF02::1:FF87:2C93
VLAN ID      :  101
Age time     :  276
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:8d:03:30
IP Address   :  FF02::1:FF8D:330
VLAN ID      :  101
Age time     :  279
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:a2:7b:3e
IP Address   :  FF02::1:FFA2:7B3E
VLAN ID      :  101
Age time     :  270
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:ba:22:cb
IP Address   :  FF02::1:FFBA:22CB
VLAN ID      :  101
Age time     :  283
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:da:4e:79
IP Address   :  FF02::1:FFDA:4E79
VLAN ID      :  101
Age time     :  270
MLD Port     :  g0/1
MLD Version  :  V1,V2

MAC Address  :  33:33:ff:e5:01:41
IP Address   :  FF02::1:FFE5:141
VLAN ID      :  101
Age time     :  283
MLD Port     :  g0/1
MLD Version  :  V1,V2

Total Record: 16

show multicast igmp-snooping

To display igmp-snooping multicast table information, use the show multicast igmp-snooping command in the EXEC mode.

show multicast igmp-snooping { interfaceinterface-id| ip-address ip-address}

Syntax Description

interface-id

Displays the IGMP Snooping multicast table for the interface.

ip-address

Displays the IGMP Snooping multicast table for the IP address.

Command Default

None

Command Modes

User EXEC
Privileged EXEC

Examples

The following example displays the output of the show multicast igmp snooping command for an interface:

Device# show multicast igmp-snooping interface ethernet 1/1
show igmp-snooping multicast table information Total Record: 0

show ont multicast

To display information about the multicast learning table on an ONT, use the show ont multicast command in privileged EXEC or global configuration mode.

show ont multicast slot-num/pon-num/ont-num [port port-id ]

Syntax Description

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

port-id

The ONT Ethernet port ID.

The range is from 1 to 24.

Command Modes

Privileged EXEC (#)

Global configuration (config)

Examples

This example shows how to view the information about the multicast learning table on an ONT.

Device> enable
Device# configure terminal
Device(config)# show ont multicast 0/1/1

show running-config mld_snooping

To display the running MLD Snooping configuration, use the show running-config mld_snooping command in the EXEC mode.

show running-config mld_snooping

Syntax Description

mld_snooping

Displays the running MLD snooping configuration.

Command Default

None.

Command Modes

User EXEC
Priveleged EXEC

Examples

The following example shows a sample output of the show running-config mld_snooping command.

Device#show running-config mld_snooping

![MLD_SNOOPING]
mld-snooping
mld-snooping route-port forward
mld-snooping query-max-respond 25
mld-snooping querier
mld-snooping querier-vlan 101
interface gpon 0/1
mld-snooping fast-leave
mld-snooping record-host
mld-snooping multicast vlan 1
exit