Adding or deleting a comment, Numbered acls: adding a comment – Brocade BigIron RX Series Configuration Guide User Manual
Page 707
BigIron RX Series Configuration Guide
629
53-1002484-04
Modifying ACLs
22
4. Enter the command “end” on a separate line at the end of the file. This command indicates to
the software that the entire ACL list has been read from the file.
5. Save the text file.
6. On the device, enter the following command at the Privileged EXEC level of the CLI.
copy tftp running-config <tftp-ip-addr> <filename>
NOTE
This command will be unsuccessful if you place any commands other than access-list and end
(at the end only) in the file. These are the only commands that are valid in a file you load using
the copy tftp running-config… command.
7. To save the changes to the device’s startup-config file, enter the following command at the
Privileged EXEC level of the CLI.
write memory
NOTE
Do not place other commands in the file. The device reads only the ACL information in the file
and ignores other commands, including commands. To assign ACLs to interfaces, use the CLI.
Adding or deleting a comment
You can add or delete comments to an ACL entry.
Numbered ACLs: adding a comment
To add a comment to an ACL entry in a numbered ACL, do the following.
1. Use the show access-list to display the entries in an ACL. For example.
BigIron RX(config)# show access-list 99
Standard IP access-list 99
deny host 1.2.4.5
permit host 5.6.7.8
2. To add the comment "Permit all users" to the second entry in the list, enter a command such as
the following.
BigIron RX(config)# access-list 99 remark Permit all users
3. Enter the filter “permit any”. For example:
BigIron RX(config-std-nacl)# permit any
4. Enter a show access-list command displays the following:
BigIron RX(config-std-nacl)# show access-list 99
Standard IP access-list 99
deny host 1.2.4.5
permit host 5.6.7.8
ACL Remarks: Permit all users
permit any
Syntax: [no] access-list <acl-num> remark <comment-text>