Configuration Guide
334
Configuring Layer 2 Multicast
Configuring MLD Snooping
The following example shows how to configure VLAN 5 as the multicast VLAN, and set port
1/0/5 as the static router port:
Switch#configure
Switch(config)#ipv6 mld snooping
Switch(config)#ipv6 mld snooping multi-vlan-config
5
rport interface gigabitEthernet
1/0/5
Switch(config)#show ipv6 mld snooping multi-vlan
Multicast Vlan:Enable
Vlan Id: 5
Router Time:300
Member Time:260
Replace Source IP:::
Static Router Port:Gi1/0/5
Dynamic Router Port:None
Forbidden Router Port:None
Switch(config)#end
Switch#copy running-config startup-config
Configuring Forbidden Router Port
Step 1
configure
Enter global configuration mode.
Step 2
ipv6 mld snooping multi-vlan-config [
vlan-id
] router-ports-forbidden interface
{gigabitEthernet
port-list
| port-channel
port-channel-id
}
vlan-id
specifies the multicast VLAN to be configured.
port-list
and
port-channel-id
are the ports that cannot become router ports in the multicast
VLAN.
Step 3
show ipv6 mld snooping multi-vlan
Show the MLD snooping configuration in the multicast VLAN.
Step 4
end
Return to privileged EXEC mode.
Step 5
copy running-config startup-config
Save the settings in the configuration file.