EasyManuals Logo
Home>HP>Switch>2530

HP 2530 User Manual

HP 2530
111 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #103 background imageLoading...
Page #103 background image
The offline process
1. Begin by doing one of the following:
To edit one or more existing ACLs, use copy command-output tftp to copy the
current version of the ACL configuration to a file in your TFTP server. For example, to
copy the ACL configuration to a file named acl-001.txt in the TFTP directory on a
server at FE80::2a1:200:
HP Switch# copy command-output 'show access-list
config' tftp fe80::2a1:200 acl-001.txt pc
To create a new ACL, open a text (.txt) file in the appropriate directory on a TFTP server
accessible to the switch.
2. Use a text editor to create or edit the ACLs in the *.txt ASCII file format.
To replace an ACL on the switch with a new ACL that uses the same number or name syntax,
begin the command file with a no ip access-list command to remove the earlier version
of the ACL from the switch's running-config file. Otherwise, the switch will append the new
ACEs in the ACL you download to the existing ACL. For example, if you plan to use the copy
command to replace an ACL named "List-120", place the following command at the beginning
of the edited file:
no ipv6 access-list List-120
Example 47 An offline ACL file designed to replace an existing ACL
no ipv6 access-list List-120
1
ip access-list "List-120"
2
10 remark "THIS ACE ALLOWS TELNET"
10 permit tcp fe80::17/128 ::/0 eq 23
20 deny ipv6 fe80::123/128 fe80::/125 log
30 deny ipv6 fe80::255/128 fe80::/125 log
40 remark "THIS IS THE FINAL ACE IN THE LIST"
40 permit ipv6 ::/0 ::/0
exit
1
2
Removes an existing ACL and replaces it with a new version
with the same identifier. To append new ACEs to an existing
ACL instead of replacing it, you would omit the first line and
ensure that the sequence numbering for the new ACEs begin
with a number greater than the highest number in the existing
list.
3. Use copy tftp command-file to download the file as a list of commands to the switch.
Creating or editing an ACL offline 103

Table of Contents

Other manuals for HP 2530

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 2530 and is the answer not in the manual?

HP 2530 Specifications

General IconGeneral
BrandHP
Model2530
CategorySwitch
LanguageEnglish

Related product manuals