[Enterprise Switch] Basic configuration of IPv6 MLD Snooping Follow
Multicast Listener Discovery (MLD) snooping operates on IPv6 traffic and performs
a similar function to IGMP snooping for IPv4.
This topic can help you to configure MLD snooping with basic configuration.
Support models
ECS4620 series, ECS4510 series, ECS4120 series, ECS4100 series, ECS5520 series, ECS4530 series, ECS2100 series, ECS2110 series, ECS4130 series
Topology
Switch Configuration
4130-28T
Console(config)#interface vlan 1
Console(config-if)#ipv6 enable
Console(config-if)#exit
Console(config)#ipv6 mld snooping
Console(config)#ipv6 mld snooping querier
Console(config)#ipv6 mld snooping version 2
[optional] Console(config)#ipv6 mld snooping query-interval 60 (default is 125)
4120-28F
Console(config)#interface vlan 1
Console(config-if)#ipv6 enable
Console(config-if)#exit
Console(config)#ipv6 mld snooping
By setting as MLD snooping querier, it will transmit packets with link-local address, so IPv6 needs to be enable first.
With above configuration, the status of MLD snooping would be as:
SW1-4130-28T
Console#show ipv6 mld snooping
Service Status : Enabled
Proxy Reporting : Disabled
Querier Status : Enabled
Robustness : 2
Query Interval : 60 sec
Query Max Response Time : 10 sec
Router Port Expiry Time : 300 sec
Unsolicit Report Interval : 400 sec
Immediate Leave : Disabled on all VLAN
Immediate Leave By Host : Disabled on all VLAN
Unknown Flood Behavior : To Router Port
MLD Snooping Version : Version 2
VLAN Group IPv6 Address Port
---- --------------------------------------- ---------
SW2-4120-28F
Console#show ipv6 mld snooping
Service Status : Enabled
Proxy Reporting : Disabled
Querier Status : Disabled
Robustness : 2
Query Interval : 125 sec
Query Max Response Time : 10 sec
Router Port Expiry Time : 300 sec
Unsolicit Report Interval : 400 sec
Immediate Leave : Disabled on all VLAN
Immediate Leave By Host : Disabled on all VLAN
Unknown Flood Behavior : To Router Port
MLD Snooping Version : Version 2
VLAN Group IPv6 Address Port
---- --------------------------------------- ---------
With the client already joined the group, you can use command
Console#show ipv6 mld snooping group
for checking the current group.( Flag: R - Router port, M - Group member port)
MLD snooping group table of 4130-28T
Console#show ipv6 mld snooping group
Total Entries 6, limit 255
VLAN Multicast IPv6 Address Member Port Type
---- --------------------------------------- --------------- ---------------
1 ff02::c Eth 1/21(M) MLD Snooping
1 ff02::fb Eth 1/21(M) MLD Snooping
1 ff02::1:3 Eth 1/21(M) MLD Snooping
1 ff02::1:ff00:1 Eth 1/21(M) MLD Snooping
1 ff02::1:ff1d:14a6 Eth 1/21(M) MLD Snooping
1 ff1e::1 Eth 1/23(M) MLD Snooping
MLD snooping group table of 4120-28F
Console#show ipv6 mld snooping group
Total Entries 1, limit 1023
VLAN Multicast IPv6 Address Member Port Type
---- --------------------------------------- --------------- ---------------
1 ff1e::1 Eth 1/21(R) MLD Snooping
Eth 1/23(M) MLD Snooping
By using command
Console#show ipv6 mld snooping group sort-by-port
you can check more detailed information, i.e. expire time, group up time, joined by static or dynamic and numbers of un-reply queries.
Console#show ipv6 mld snooping group sort-by-port
Expire: H:M:S; Uptime: H:M:S; T: Dynamic/Stattic; Q: Unreply query
Port VLAN Group Expire Uptime T Q
--------- ---- --------------------------------------- ------ ---------- - --
Eth 1/23 1 ff1e::1 3:51 0:9:24 D 0
Use command
Console#show ipv6 mld snooping group host-ip-addr
to check the link-local address(which used to send the multicast listener report message)
Console#show ipv6 mld snooping group host-ip-addr
Port VLAN Group
Host
--------- ---- ---------------------------------------
Eth 1/23 1 ff1e::1
fe80::60d5:dea8:c2a0:215a
Command Instructions ( base on 4120-28F v.1.2.2.33, other models may have different default and range)
Console(config)#ipv6 mld snooping ?
proxy-reporting IGMP Snooping Proxy Reporting
querier Sets MLD snooping querier status
query-interval Configures query interval
query-max-response-time Configures the maximum response time for a general query
robustness Configures robustness variable
router-port-expire-time Configures router port expire time
unknown-multicast Unknown multicast data packets processing
unsolicited-report-interval MLD Snooping Unsolicited Report Interval
version Configures the MLD snooping version
vlan Enables MLD snooping in a specific VLAN
proxy-reporting, robustness and unsolicited-report-interval are for the MLD snooping proxy. In this topic, we will only configure MLD snooping without proxy.
1. Console(config)#ipv6 mld snooping querier:
This command allows the switch to act as the querier for MLDv2 snooping. If enabled, the switch will serve as querier if elected. The querier is responsible for asking hosts if they want to receive multicast traffic. An IPv6 address must be configured on the VLAN interface from which the querier will act if elected. When serving as the querier, the switch uses its own
IPv6 address as the query source address.
(Default Setting: Disable)
2. Console(config)#ipv6 mld snooping query-interval 60
Configures the interval between sending MLD general queries. This command applies when the switch is serving as the querier.
As set with 60s, the result will be as like:
(Default Setting: 125 seconds, Rnage: 60~125 seconds)
3. Console(config)#ipv6 mld snooping query-max-response-time 10
This command configures the maximum response time advertised in MLD general
queries.(how long the host has to respond to an MLD Query message before the switch deletes the group if it is the last member)
(Default Setting: 10 seconds, Range: 5-25 seconds)
4. Console(config)#ipv6 mld snooping router-port-expire-time 300
The router port expire time is the time the switch waits after the previous querier stops before it considers the router port (i.e., the interface that had been receiving query packets) to have expired.
(Default Setting: 300 seconds, Range: 300-500 seconds)
Console#show ipv6 mld snooping mrouter
VLAN Multicast Router Port Type Expire
---- --------------------- --------- ------
1 Eth 1/21 Dynamic 4:59
5. Console(config)#ipv6 mld snooping unknown-multicast mode to-router-port
This command sets the action for dealing with unknown multicast packets
Console(config)#ipv6 mld snooping unknown-multicast mode ?
flood Floods the unknown multicast data packets to all ports
to-router-port Forwards the unknown multicast data packets to router ports
When set to “flood,” any received IPv6 multicast packets that have not been requested by a host are flooded to all ports in the VLAN.
When set to “router-port,” any received IPv6 multicast packets that have not been requested by a host are forwarded to ports that are connected to a detected multicast router.
(Default Setting: to-router-port)
6. Console(config)#ipv6 mld snooping version 2
This command configures the MLD snooping version.
(Default Setting: version 2, Range: 1~2)
7. Console(config)#ipv6 mld snooping vlan 1 ?
Console(config)#ipv6 mld snooping vlan 1 ?
immediate-leave Set immeidate leave status
mrouter Adds a static multicast router port
static Static route
Console(config)#ipv6 mld snooping vlan 1 immediate-leave
This command immediately deletes a member port of an IPv6 multicast service when a leave packet is received at that port and immediate-leave is enabled for the parent VLAN.
Console(config)#ipv6 mld snooping vlan 1 mrouter ethernet 1/1
This command statically configures an IPv6 multicast router port.
Console(config)#ipv6 mld snooping vlan 1 static ff1e::1 ethernet 1/1
This command adds a port to an IPv6 multicast group.
Comments
0 comments
Please sign in to leave a comment.