Add Comment To Ipv4 Access List; Apply Ipv4 Access List - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

218 | Command Reference | Traffic control
Delete IPv4 access list #1.
SWR2311P(config)#no access-list 1

9.1.2 Add comment to IPv4 access list

[Syntax]
access-list ipv4-acl-id description line
no access-list ipv4-acl-id description
[Parameter]
ipv4-acl-id
line
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Adds a comment (remark) to the already-generated IPv4 access list.
If this command is executed with the "no" syntax, the comment is deleted from the IPv4 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 access list #1 that denies communication from source segment 192.168.1.0/24 to destination 172.16.1.1, and add the
comment "Test."
SWR2311P(config)#access-list 1 deny any 192.168.1.0 0.0.0.255 host 172.16.1.1
SWR2311P(config)#access-list 1 description Test

9.1.3 Apply IPv4 access list

[Syntax]
access-group ipv4-acl-id direction
no access-group ipv4-acl-id direction
[Parameter]
ipv4-acl-id
direction
[Initial value]
none
[Input mode]
interface mode
[Description]
Applies an IPv4 access list to the LAN/SFP port.
If the received/transmitted frame matches the conditions in the access list, the action in the access list will be the action (permit,
deny) for the corresponding frame.
:
<1-2000>
ID of IPv4 access list to which a comment will be added
:
Comment to add. Up to 32 ASCII characters can be specified
:
<1-2000>
ID of IPv4 access list to apply
:
Specifies the direction of applicable frames
Setting value
in
out
Description
Apply to received frames
Apply to transmitted frames

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents