beautypg.com

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

Page 981

background image

C

HAPTER

30

| Access Control Lists

IPv6 ACLs

– 981 –

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

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 128 rules.

E

XAMPLE

Console(config)#access-list ipv6 standard david

Console(config-std-ipv6-acl)#

R

ELATED

C

OMMANDS

permit, deny (Standard IPv6 ACL) (981)

permit, deny (Extended IPv6 ACL) (982)

ipv6 access-group (985)

show ipv6 access-list (984)

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.

S

YNTAX

{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-30 characters)