703
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\ACL.fm
D E L L C O N F ID E N T I A L – P RE L IM I N A RY 2 0 1 2 - F O R P R O O F O N LY
Switch (config)# ipv6 access-list acl1
Switch(config-ipv6-acl)# permit tcp 2001:0DB8:0300:0201::/64 any any 80
permit ( IPv6 )
Use the
permit
command in IPv6 Access-list Configuration mode to set
permit conditions for IPv6 access list.
Syntax
permit
protocol {any |{source-prefix/length }{any | destination-
prefix/length } [dscp number | precedence number] [time-range time-range-
name]
permit
icmp {any | {source-prefix/length }{any | destination- prefix/length }
{any|icmp-type} {any|icmp-code} [dscp number | precedence number]
[time-range time-range-name]
permit
tcp {any | {source-prefix/length } {any | source-port/port-range}
}{any | destination- prefix/length } {any| destination-port/port-range} [dscp
number | precedence number] [match-all list-of-flags] [time-range time-
range-name]
permit
udp {any | {source-prefix/length }} {any | source-port/port-range}
}{any | destination- prefix/length } {any| destination-port/port-range} [dscp
number | precedence number] [time-range time-range-name]
Parameters
•
protocol
—The name or the number of an IP protocol. Available protocol
names are: icmp (58), tcp (6) and udp (17). To match any protocol, use
the ipv6 keyword. (Range: 0–255)
•
source-prefix/length
—The source IPv6 network or class of networks
about which to set permit conditions. This argument must be in the form
documented in RFC 3513 where the address is specified in hexadecimal
using 16-bit values between colons.
•
destination-prefix/length
—The destination IPv6 network or class of
networks about which to set permit conditions. This argument must be
in the form documented in RFC 3513 where the address is specified in
hexadecimal using 16-bit values between colons.
•
dscp number
—Specifies the DSCP value. (Range: 0–63)