User Manual

13.1.2 Add comment to standard IPv4 access list
[Syntax]
access-list std-ip-acl-id remark line
no access-list std-ip-acl-id remark
[Parameter]
std-ip-acl-id : <1-99>, <1300-1999>
ID of standard IPv4 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 standard IPv4 access list.
If this command is executed with the "no" syntax, the comment is deleted from the standard 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 standard IPv4 access list #2 which permits frames from 192.168.1.0/24, and add the comment "Test."
SWP1(config)#access-list 2 permit 192.168.1.0 0.0.0.255
SWP1(config)#access-list 2 remark Test
13.1.3 Apply standard IPv4 access list
[Syntax]
ip access-group std-ip-acl-id direction
no ip access-group std-ip-acl-id direction
[Parameter]
std-ip-acl-id : <1-99>, <1300-1999>
ID of standard IPv4 access list to apply
direction : Specifies the direction of applicable frames
Setting value Description
in Apply to received frames
out Apply to transmitted frames
[Initial value]
none
[Input mode]
interface mode
[Description]
Applies a standard 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.
If this command is executed with the "no" syntax, the applied access list is deleted from the LAN/SFP port.
168 | Command Reference | Traffic control