ipv6 mld apply access-list

Syntax

ipv6 mld apply access-list没有ipv6 mld apply access-list

描述

Configures the ACL on a particular interface to filter the MLD join or leave packets based on rules set in the particular ACL name.

The没有form of this command removes the rules set for the ACL.

Command context

config-vlan

Parameters

access-list

Associates an ACL with the IGMP.

Specifies the name of the ACL.

权威

Administrators or local user group members with execution rights for this command.

Usage

Existing classifier commands are used to configure the ACL. In case an MLDv2 packet with multiple group addresses is received, it will only process the permitted group addresses based on the ACL rule set, and any existing joins will time out. If there is no match or if there is a deny rule match, the packet is dropped.

Examples

Configuring the ACL to filter MLD packets based on rules set in access listmygroup:

switch(config)#access-list ipv6 mygroupswitch(config-acl-ip)#允许icmpv6any ff55::1switch(config-acl-ip)#exitswitch(config)#interface vlan 1switch(config-vlan)#ipv6 mld apply access-list mygroup

Configuring the ACL to remove the rules set in access listmygroup:

switch(config-vlan)#没有ipv6 mld apply access-list mygroup