Permit, deny (standard ipv6 acl) – LevelOne GTL-2690 User Manual

Page 507

Advertising
background image

Access Control List Commands

26-8

26

Example

Related Commands

permit, deny (26-8)
ipv6 access-group (26-11)
show ipv6 access-list (26-11)

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

[no] {permit | deny} {any | source-ipv6-address[/prefix-length] |

host source-ipv6-address}

any – Any source IP address.
source-ipv6-address - An IPv6 source address. 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).

host – Keyword followed by a specific IP address.

Default Setting

None

Command Mode

Standard IPv6 ACL

Command Usage

New rules are appended to the end of the list.

Example
This example configures one permit rule for the specific address 2009:DB9:2229::79
and another rule for the addresses with the network prefix 2009:DB9:2229:5::/64.

Related Commands

access-list ipv6 (26-7)

Console(config)#access-list ipv6 standard david
Console(config-std-ipv6-acl)#

Console(config-std-ipv6-acl)#permit host 2009:DB9:2229::79
Console(config-std-ipv6-acl)#permit 2009:DB9:2229:5::/64
Console(config-std-ipv6-acl)#

Advertising