9.2. MLD Commands
9.2.1. ipv6 mld access-group
Command Purpose
Use this command to apply an access-list to the mld interface.
To remove this setting, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld access-group LISTNAME
no ipv6 mld access-group
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
LISTNAME |
The name of the ipv6 access-list to be applied. The format of access-list should be ipv6. |
A string with 1-20 characters |
Command Mode
Interface Configuration
Default
Access-group is not configured on any mld interface by default.
Usage
No matter the source ipv6 prefix or the destination ipv6 prefix in ACE should take effect respectively. If ACE’s action is deny, then the packet will be ignored; Otherwise if it matches one whose action is permit, then it will be processed regularly.
Examples
This example shows how to apply the access-list acl1 to the interface vlan1:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ipv6 mld access-group acl1
This example shows how to remove the access-list acl1 on the interface:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# no ipv6 mld access-group
9.2.2. ipv6 mld last-member-query-count
Command Purpose
Use this command to set the value of last member query count.
To return it to default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld last-member-query-count COUNT
no ipv6 mld last-member-query-count
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
COUNT |
The value of last member query count, range is 2 to 7 |
2-7 |
Command Mode
Interface Configuration
Default
2
Usage
None
Examples
This example shows how to set the value of last member query count to 5:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ipv6 mld last-member-query-count 5
This example shows how to return the value of last member query count to default value:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# no ipv6 mld last-member-query-count
Related Commands
show ipv6 mld interface
ipv6 mld last-member-query-interval
9.2.3. ipv6 mld last-member-query-interval
Command Purpose
Use this command to set the value of last member query interval.
To reset it to default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld last-member-query-interval INTERVAL
no ipv6 mld last-member-query-interval
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
INTERVAL |
The last member query interval value(ms) |
1000-25500 |
Command Mode
Interface Configuration
Default
1000
Usage
None
Examples
This example shows how to set the last member query interval value to 10000ms:
Switch# configure terminal
Switch(config)# ipv6 mld snooping last-member-query-interval 2000
This example shows how to reset the last member query interval value to default value:
Switch# configure terminal
Switch(config)# no ipv6 mld snooping last-member-query-interval
Related Commands
show ipv6 mld interface
ipv6 mld last-member-query-count
9.2.4. ipv6 mld limit
Command Purpose
Use this command to set the max num of groups allowed.
To reset it to default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld limit NUMBER ( except LISTNAME | )
no ipv6 mld limit
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
NUMBER |
The max num of groups, range is 1 to 4096 |
1-4096 |
LISTNAME |
Groups not to be counted |
A string with 1-20 characters |
Command Mode
Global Config & Interface Configuration
Default
4096
Usage
Max number of groups is 4096 by default,in Global Config mode, use this command to set number of groups for all ports, in interface configuration mode, use this command to set number of groups for one ports
Examples
This example shows how to set the max num of groups allowed to 1000 globally:
Switch# configure terminal
Switch(config)# ipv6 mld limit 1000
This example shows how to reset the max num of groups to default value:
Switch# configure terminal
Switch(config)# no ipv6 mld limit
Related Commands
show ipv6 mld interface
9.2.5. ipv6 mld mroute-proxy
Command Purpose
Use this command to set the mroute-proxy port on this interface.
To remove it, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld mroute-proxy IFNAME
no ipv6 mld mroute-proxy IFNAME
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
The interface name of the mroute-proxy port |
Support physical/aggregation/loopback/vlan/tunnel ports |
Command Mode
Interface Configuration
Default
None
Usage
This command is used to set the mroute-proxy port on the interface. Only one mroute-proxy port can be set on the interface. When set it again, the new setting will overwrite the old one.
Examples
This example shows how to set the mroute-proxy port to eth-0-1 on this interface:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ipv6 mld mroute-proxy eth-0-1
This example shows how to remove the mroute-proxy port on this interface:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# no ipv6 mld mroute-proxy
Related Commands
ipv6 mld proxy-service
9.2.6. ipv6 mld proxy-service
Command Purpose
Use this command to enable mld mroute proxy service on the interface.
To disable it, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld proxy-service
no ipv6 mld proxy-service
Command Mode
Interface Configuration
Default
None
Usage
This command is used with command ipv6 mld mroute-proxy and to set the upstream interface of the mld group.
Examples
This example shows how to enable mld mroute proxy service on this interface:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ipv6 mld proxy-service
This example shows how to disable mld mroute proxy service:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# no ipv6 mld proxy-service
Related Commands
ipv6 mld mroute-proxy
9.2.7. ipv6 mld querier-timeout
Command Purpose
Use this command to set the mld previous querier timeout value.
To reset it to default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld querier-timeout INTERVAL
no ipv6 mld querier-timeout
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
INTERVAL |
The mld previous querier timeout value, range is 60 to 300s. |
60-300 |
Command Mode
Interface Configuration
Default
255s
Usage
None
Examples
This example shows how to set the mld previous querier timeout value to 100 seconds:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ipv6 mld querier-timeout 100
This example shows how to reset the mld previous querier timeout value to default value:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# no ipv6 mld querier-timeout
Related Commands
ipv6 mld query-interval
ipv6 mld query-max-response-time
9.2.8. ipv6 mld query-interval
Command Purpose
Use this command to set the mld query interval.
To reset it to default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld query-interval INTERVAL
no ipv6 mld query-interval
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
INTERVAL |
The value of mld query interval, range is 2 to 18000s. |
2-18000 |
Command Mode
Interface Configuration
Default
125s
Usage
None
Examples
This example shows how to set the mld query interval to 300 seconds:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ipv6 mld query-interval 300
This example shows how to return the mld query interval to default value:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# no ipv6 mld query-interval
Related Commands
ipv6 mld querier-timeout
ipv6 mld query-max-response-time
9.2.9. ipv6 mld query-max-response-time
Command Purpose
Use this command to set the mld query max response time.
To reset it to default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld query-max-response-time INTERVAL
no ipv6 query-max-response-time
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
INTERVAL |
The mld query max response time, range is 1 to 25s. |
1-25 |
Command Mode
Interface Configuration
Default
10s
Usage
Query max response time must be less than mld query interval.
Examples
This example shows how to set the mld query max response time to 20 seconds:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ipv6 mld query-max-response-time 20
This example shows how to return the mld query max response time to default value:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# no ipv6 mld query-max-response-time
Related Commands
ipv6 mld querier-timeout
ipv6 mld query-interval
9.2.10. ipv6 mld robustness-variable
Command Purpose
Use this command to set the mld querier robustness variable value.
To reset it to default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld robustness-variable VALUE
no ipv6 robustness-variable
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
VALUE |
The mld querier robustness variable value, range is 2 to 7. |
2-7 |
Command Mode
Interface Configuration
Default
2
Usage
None
Examples
This example shows how to set the mld querier robustness variable value to 6:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ipv6 mld robustness-variable 6
This example shows how to reset the mld querier robustness variable value to default value:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# no ipv6 mld robustness-variable
Related Commands
show ipv6 mld interface
9.2.11. ipv6 mld version
Command Purpose
Use this command to set the mld version on interface.
To return it to default value, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld version NUMBER
no ipv6 version
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
NUMBER |
The mld version on the interface |
1-2 |
Command Mode
Interface Configuration
Default
1
Usage
None
Examples
This example shows how to set the mld version 2 on the interface:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ipv6 mld version 2
This example shows how to return the mld version to default value:
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# no ipv6 mld version
Related Commands
show ipv6 mld interface
9.2.12. ipv6 mld static-group
Command Purpose
Use this command to configure the static multicast group on interface.
To delete static group, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld static-group GRP_IPV6_ADDR ( source SRC_IPV6_ADDR | )
no ipv6 mld static-group GRP_IPV6_ADDR ( source SRC_IPV6_ADDR | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GRP_IPV6_ADDR |
The multicast group address |
IPv6 address |
SRC_IPV6_ADDR |
The multicast source address |
IPv6 address |
Command Mode
Interface Configuration
Default
None
Usage
None
Examples
This example shows how to configure the static mld group on interface:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# ipv6 mld static-group ff0e::1234
Switch(config-if)# ipv6 mld static-group ff0e::1234 source 2001::2
This example shows how to delete static mld group on interface:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no ipv6 mld static-group ff02::1234
Related Commands
show ipv6 mld groups
9.2.13. ipv6 mld ssm-map enable
Command Purpose
Use this command to enable mld ssm mapping.
To disable ssm mapping, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld ssm-map enable
no ipv6 mld ssm-map enable
Command Mode
Global Config
Default
Disable
Usage
None
Examples
This example shows how to enable mld ssm mapping:
Switch# configure terminal
Switch(config)# ipv6 mld ssm-map enable
This example shows how to disable mld ssm mapping:
Switch# configure terminal
Switch(config)# no ipv6 mld ssm-map enable
Related Commands
None
9.2.14. ipv6 mld ssm-map static
Command Purpose
Use this command to set mld ssm mapping.
To cancel ssm mapping setting, use the no form of this command.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
ipv6 mld ssm-map static LISTNAME SRC_IPV6_ADDR
no ipv6 mld ssm-map static LISTNAME SRC_IPV6_ADDR
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
LISTNAME |
Specify multicast group address range access list |
A string with 1-20 characters |
SRC_IPV6_ADDR |
Multicast source address |
IPv6 address |
Command Mode
Global Config
Default
Disable
Usage
None
Examples
This example shows how to set mld ssm mapping:
Switch# configure terminal
Switch(config)# ipv6 mld ssm-map static ipacl 2001::2
This example shows how to unset mld ssm mapping:
Switch# configure terminal
Switch(config)# no ipv6 mld ssm-map static ipacl 2001::2
Related Commands
None
9.2.15. clear ipv6 mld
Command Purpose
Use this command to clear mld groups.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
clear ipv6 mld group ( * | IPV6_ADDR )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
* |
All multicast group address |
- |
IPV6_ADDR |
Specify multicast group address |
IPv6 address |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to clear mld group all:
Switch# clear ipv6 mld
Switch# clear ipv6 mld group *
This example shows how to clear mld specified group:
Switch# clear ipv6 mld group ff02::1234
Related Commands
show ipv6 mld groups
9.2.16. clear ipv6 mld interface
Command Purpose
Use this command to clear mld groups on specified interface.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
clear ipv6 mld ( group IPV6_ADDR | interface ) IFNAME
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IPV6_ADDR |
Specify multicast group address |
IPv6 address |
IFNAME |
Interface name |
Support physical/aggregation/loopback/vlan/tunnel ports |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to clear mld group on specified interface:
Switch# clear ipv6 mld interface eth-0-1
Related Commands
show ipv6 mld groups
9.2.17. show ipv6 mld groups
Command Purpose
Use this command to show the information about mld groups.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 mld groups IPV6_ADDR ( detail | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IPV6_ADDR |
Specify multicast group address |
IPv6 address |
detail |
Detailed Information |
- |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display the detail information about mld groups:
Switch# show ipv6 mld groups detail
MLD Connected Group Membership Details for eth-0-2
Interface: eth-0-2
Group: ff0e::1234:5678
Uptime: 00:00:10
Group mode: Exclude (Expires: 00:04:10)
Last reporter: fe80:1111:1111:1111:1111:1111:1111:1111
Source list is empty
Related Commands
None
9.2.18. show ipv6 mld groups interface
Command Purpose
Use this command to show the information about mld groups on interface.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 mld groups IFNAME ( IPV6_ADDR | ) ( detail | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
Interface name |
Support physical/aggregation/loopback/vlan/tunnel ports |
IPV6_ADDR |
Specify multicast group address |
IPv6 address |
detail |
Detailed Information |
- |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display the information about mld groups on interface eth-0-1:
Switch# show ipv6 mld groups eth-0-1
MLD Connected Group Membership
Group Address Interface Expires
ff0e::1234:5678 eth-0-2 00:03:01
Related Commands
None
9.2.19. show ipv6 mld groups count
Command Purpose
Use this command to show mld group number.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 mld groups ( IFNAME | ) count
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
Interface name |
Support physical/aggregation/loopback/vlan/tunnel ports |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display the mld group number on interface eth-0-1:
Switch# show ipv6 mld groups eth-0-1 count
Dynamic multicast groups count: 1
Static multicast groups count: 0
Total multicast groups count: 1
Related Commands
None
9.2.20. show ipv6 mld interface
Command Purpose
Use this command to show the information about mld on interface.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show ipv6 mld interface ( IFNAME | )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
Interface name |
Support physical/aggregation/loopback/vlan/tunnel ports |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display the information about mld on interface eth-0-1:
Switch# show ipv6 mld interface eth-0-1
Interface eth-0-1 (Index 1)
MLD Active, Querier, Version 1 (default)
Internet address is fe80::9c7c:7eff:fe94:8300
MLD interface has 0 group-record states
MLD activity: 0 joins, 0 leaves
MLD query interval is 125 seconds
MLD querier timeout is 255 seconds
MLD max query response time is 10 seconds
Last member query response interval is 1000 milliseconds
Group Membership interval is 260 seconds
Related Commands
None