ACL Commands
permit (IPv6)
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
82
4
permit (IPv6)
To set permit conditions for an IPv6-based ACL, use the permit command in the
IPv6 Access-List Configuration mode.
To remove an IPv6-based ACE, use the no sequence command.
Syntax
[sequence
value
] permit
protocol
{any |
source-prefix/length
} {any |
destination-
prefix/length
} [dscp
number
| precedence
number
]
[sequence
value
] permit
icmp
{any | {
source-prefix/length
} {any |
destination-
prefix/length
} {any |
icmp-type
} {any |
icmp-code
} [dscp
number
|
precedence
number
]
[sequence
value
] 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
]
[sequence
value
] permit
udp
{any |
source-prefix/length
} {any |
source-port/port-
range
} {any |
destination- prefix/length
} {any |
destination-port/port-range
} [dscp
numbe
r
|
precedence
number
]
no sequence
value
Parameters
•
sequence
value
—(Optional) The sequence number for the IPv6-based ACL.
The acceptable range is from 1 to 2147483547. If not specified, the switch
provides a number starting from 1 in ascending order.
•
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 to 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.
•
source-port/port-range
—The UDP or TCP source port. Predefined port
names are defined in the
destination-port/port-range
parameter. (Range: 0
to 65535)
•
destination-prefix/length
—The destination IPv6 network or class of
networks about which to set permit conditions. This argument must be in