CLI Reference Guide-R04

Table Of Contents
Chapter 10
| Access Control Lists
IPv6 ACLs
– 389 –
Command Mode
Global Configuration
Command Usage
When you create a new ACL or enter configuration mode for an existing ACL,
use the permit or deny command to add new rules to the bottom of the list. To
create an ACL, you must add at least one rule to the list.
To remove a rule, use the no permit or no deny command followed by the
exact text of a previously configured rule.
An ACL can contain up to 1K rules.
Example
Console(config)#access-list ipv6 standard david
Console(config-std-ipv6-acl)#
Related Commands
permit, deny (Standard IPv6 ACL) (389)
permit, deny (Extended IPv6 ACL) (390)
ipv6 access-group (392)
show ipv6 access-list (393)
permit, deny
(Standard IPv6 ACL)
This command adds a rule to a Standard IPv6 ACL. The rule sets a filter condition for
packets emanating from the specified source. Use the no form to remove a rule.
Syntax
{permit | deny} {any | host source-ipv6-address |
source-ipv6-address[/prefix-length]}
[time-range time-range-name]
no {permit | deny} {any | host source-ipv6-address |
source-ipv6-address[/prefix-length]}
any – Any source IP address.
host – Keyword followed by a specific IP address.
source-ipv6-address - An IPv6 source address or network class. The address
must be formatted according to RFC 2373 “IPv6 Addressing Architecture,
using 8 colon-separated 16-bit hexadecimal values. One double colon may
be used in the address to indicate the appropriate number of zeros
required to fill the undefined fields.
prefix-length - A decimal value indicating how many contiguous bits (from
the left) of the address comprise the prefix; i.e., the network portion of the
address. (Range: 0-128)
time-range-name - Name of the time range. (Range: 1-32 characters)