HP 6200YL User Manual
Page 262

IPv6 Access Control Lists (ACLs)
Creating or Editing ACLs Offline
ipv6 access-list "acl-001"
The “
;
” enables a
comment in the file.
; CREATED ON JUNE 10
10 remark "Telnet Allowed Here"
10 permit tcp 2001:db8:0:1af::10:14/128 ::/0 eq 23
20 permit tcp 2001:db8:0:1af::10:23/128 ::/0 eq 23
30 deny tcp 2001:db8:0:1af::10/116 ::/0 log
40 permit ipv6 2001:db8:0:1af::10/116 ::/0
45 permit ipv6 2001:db8:0:2b1::/64 ::/0
50 deny ipv6 ::/0 ::/0 log
exit
vlan 20 ipv6 access-group acl-001 vlan
Note: You can use the “
;
“ character to denote a comment. The file stored on your TFTP server
retains comments, and they appear when you use copy to download the ACL command file.
(Comments are not saved in the switch configuration.)
Figure 8-34. Example of a .txt File Designed for Creating an ACL
2. After you copy the above .txt file to the TFTP server at FE80::1ad:17, you
would then execute the following command:
copy tftp command-file fe80::1ad:17 acl-001.txt pc
8-86