Alcatel-Lucent 6850-48 ネットワークガイド

ページ / 1162
Using ACL Manager
Configuring ACLs
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 39-21
Importing ACL Text Files
In addition to using ACLMAN interactive shell commands or editing the aclman.cfg file to configure 
common industry ACLs, it is possible to use a text file to update the running configuration. This method 
involves entering common industry ACL statements into a text document using a text editor. The text file 
must reside in any directory in the switch flash file system. 
To apply the contents of an ACL text file to the ACLMAN running configuration, use the import 
command in the Privileged Exec Mode of the ACLMAN interactive shell. For example, the following 
command imports the contents of the std_acl20 text file:
Aclman#import std_acl20
By default ACLMAN looks in the /flash directory on the switch for the filename specified with the 
import command. If the file is in any other directory, specify the path where the text file is located along 
with the filename. For example, the following command imports the ext_acl102 file located in the work-
ing
 directory on the switch:
Aclman#import working/std_acl102
Note that any errors encountered when importing the contents of a text file into the ACLMAN configura-
tion are logged to an aclman.cfg.1.err file on the switch. If this file already exists, then the error filename 
number is incremented by a value of one (e.g., aclman.cfg.2.erraclman.cfg.3.err) for each new error log 
file that is created.
Importing ACL statements from a text file updates the ACLMAN running configuration. Use the write 
memory
 command in the Privileged Exec Mode to save the updated running configuration to the 
aclman.cfg file. This will add the imported statements to the ACLMAN startup configuration.
Note. Issuing a write memory command is required to preserve the ACLMAN running configuration 
across switch reboots.