User Manual

To apply the generated access list, use the access-group command of interface mode.
If the "no" syntax is used to specify "action" and following, the IPv6 access list that matches all conditions is deleted.
If the "no" syntax is used without specifying "action" and following, the IPv6 access list of the matching ID of access list is
deleted.
[Note]
An access list that is applied to LAN/SFP port and logical interface cannot be deleted using the "no" syntax. Before you can
delete the access list, you must rescind the application of that list.
This command cannot be used if the stack function is enabled.
[Example]
Create IPv6 access list #3002 which will deny frames from 3ffe:506::/32.
SWR2310(config)#access-list 3002 deny 3ffe:506::/32
Delete IPv6 access list #3002.
SWR2310(config)#no access-list 3002
9.1.5 Add comment to IPv6 access list
[Syntax]
access-list ipv6-acl-id description line
no access-list ipv6-acl-id description
[Parameter]
ipv6-acl-id : <3001-4000>
ID of IPv6 access list to which comment is added
line : Comment to add. Up to 32 ASCII characters can be specified
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Adds a comment (remark) to the already-generated IPv6 access list.
If this is executed with the "no" syntax, the comment is deleted from the IPv6 access list.
[Note]
You can use this command to add a comment even after the access list has been applied to LAN/SFP port and logical interface.
(The last-written comment overwrites the previous one.)
This command cannot be used if the stack function is enabled.
[Example]
Create IPv6 access list #3002 which denies frames from 3ffe:506::/32, and add the comment "Test."
SWR2310(config)#access-list 3002 deny 3ffe:506::/32
SWR2310(config)#access-list 3002 description Test
9.1.6 Apply IPv6 access list
[Syntax]
access-group ipv6-acl-id direction
no access-group ipv6-acl-id direction
[Parameter]
ipv6-acl-id : <3001-4000>
ID of IPv6 access list to apply
direction : Specifies the direction of applicable frames
Command Reference | Traffic control | 241