[Note]
An access list that is applied to an interface cannot be deleted using the "no" syntax. Before you can delete the access list, you
must rescind the application of that list.
[Example]
Create IPv6 access list #3002 which will deny frames from 3ffe:506::/32.
SWR2311P(config)#access-list 3002 deny 3ffe:506::/32
Delete IPv6 access list #3002.
SWR2311P(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 the LAN/SFP port. (The last-written
comment overwrites the previous one.)
[Example]
Create IPv6 access list #3002 which denies frames from 3ffe:506::/32, and add the comment "Test."
SWR2311P(config)#access-list 3002 deny 3ffe:506::/32
SWR2311P(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
Setting value
Description
in
Apply to received frames
out
Apply to transmitted frames
220
| Command Reference | Traffic control