Chapter 7: Quality of Service Commands 677
ipv6 access-list
rename
This command changes the name of an IPv6 ACL. The name parameter is the
name of an existing IPv6 ACL. The
newname parameter is a case-sensitive
alphanumeric string from 1 to 31 characters uniquely identifying the IPv6 access
list.
This command fails is an IPv6 ACL by the name
newname already exists.
{deny | permit}
(IPv6)
This command creates a new rule for the current IPv6 access list. Each rule is
appended to the list of configured rules for the list. A rule may either deny or
permit traffic according to the specified classification fields. At a minimum,
either the
every keyword or the protocol, source address, and destination
address values must be specified. The source and destination IPv6 address fields
may be specified using the keyword
any to indicate a match on any value in that
field. The remaining command parameters are all optional, but the most
frequently used parameters appear in the same relative order as shown in the
command format.
The no form of this command is not supported, since the rules within an IPv6
ACL cannot be deleted individually. Rather, the entire IPv6 ACL must be deleted
and respecified.
Format
ipv6 access-list rename
name newname
Mode Global Config
Format
{deny | permit} {every | {{icmpv6 | ipv6 | tcp | udp |
0-255} {
source-ipv6-prefix/prefix-length
| any |
host source-ipv6-address
} [{range {
portkey
|
startport
} {
portkey
|
endport
} | {eq | neq | lt | gt}
{
portkey
|
0-65535
} ] {
destination-ipv6-
prefix
/
prefix-length
| any |
host destination-
ipv6-address
} [{range {
portkey
|
startport
}
{
portkey
|
endport
} | {eq | neq | lt | gt} {
portkey
|
0-65535
}] [flag [+fin | -fin] [+syn | -syn] [+rst | -
rst] [+psh | -psh] [+ack | -ack] [+urg | -urg]
[established]] [flow-label value] [icmp-type
icmp-type
[icmp-code
icmp-code
] | icmp-message
icmp-message
]
[routing] [fragments] [dscp
dscp
]}} [log] [assign-
queue
queue-id
] [{mirror | redirect} slot/port] [rate-
limit
rate burst-size
]
Mode IPv6-Access-List Config