Permit, deny (standard ipv6 acl) – LevelOne FGL-2870 User Manual

Page 573

Advertising
background image

Access Control List Commands

4-207

4

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 | 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)

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 (4-206)

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