Aruba & ProVision-based
1752781 Members
5957 Online
108789 Solutions
New Discussion юеВ

Re: Creating ACLs offline

 
SOLVED
Go to solution
Lee Bailey_1
Occasional Advisor

Creating ACLs offline

Hello,

I'm new to creating ACLs :-)

I have the following in a text file called test.txt that I am trying to tftp to a HP5406 router:

ip access-list extended "test"
10 remark "test remark"
10 permit tcp 150.237.128.0 0.0.0.255 150.237.196.0 0.0.0.127
exit

I get the following when I tftp the file to the router which indicates a problem with the remark command. If I manually create the same list on the switch it works fine. Any ideas or suggestions?

Many thanks, Lee.

Foss_CRoom_Left_HP5406/1# copy tftp command 150.237.128.7 test.txt
Running configuration may change, do you want to continue [y/n]? y
1.
2. ip access-list extended "test"
3. 10 remark "test remark"
Command files are limited to access-list commands.
4. 10 permit tcp 150.237.128.0 0.0.0.255 150.237.196.0 0.0.0.127
5. exit
6.
Foss_CRoom_Left_HP5406/1#

 

 

P.S. This thread has been moved from Switches, Hubs, Modems (Legacy ITRC forum) to ProCurve / ProVision-Based. - Hp Forum Moderator

7 REPLIES 7
cenk sasmaztin
Honored Contributor

Re: Creating ACLs offline

Lee Bailey_1
Occasional Advisor

Re: Creating ACLs offline

Hi Cenk,

I think I may be missing the point from your reply. Have I got the syntax wrong on the remark statement? The Cisco article seems to be saying that where remarks were constructed using "!", the remarks were ignored by the Cisco IOS and what admins should be using is the "remark" command.

Thanks, Lee.
cenk sasmaztin
Honored Contributor

Re: Creating ACLs offline

hi Lee

please send me test.txt file

cenk
cenk

Holger Hasenaug
Trusted Contributor
Solution

Re: Creating ACLs offline

Hi,

please take the following fix in mind to be sure you test with a good version:

K.13.04:
TFTP/ACL (PR_1000771560) ├в The copy tftp command-file command rejects ACL remarks
if they do not contain the keywords permit or deny.

Lee Bailey_1
Occasional Advisor

Re: Creating ACLs offline

Thank you!

I'll check the current code on Monday.

Regards, Lee.
Lee Bailey_1
Occasional Advisor

Re: Creating ACLs offline

Thank you! I've upgraded the code level and that has fixed the issue.

Regards, Lee.
Lee Bailey_1
Occasional Advisor

Re: Creating ACLs offline

As above.