13 ipv6 access-list, 14 ipv6 access standard, 15 ipv6 access extended – Accton Technology ES4626 User Manual

Page 763

Advertising
background image

763

Examples:

Create a name expansion IP access-list whose name is ipFlow.

Switch(Config)# access-list ip standard ipFlow

18.2.2.13 ipv6 access-list

Command ipv6 access-list <num> {deny | permit} {<sIPv6Prefix/sPrefixlen> |

any-source | {host-source <sIPv6Addr>}}

no ipv6 access-list <num>

Functions

Creates a numbered standard IP access-list, if the access-list already exists,

then a rule will add to the current access-list; the “no access-list <num>“ command

deletes a numbered standard IP access-list.

Parameters<num>

is the list number ,list range is between 500~599;<sIPv6Prefix>is

prefix of the ipv6 source address,<sPrefixlen>is the length ofprefix of the ipv6 source
address, range is between 1~128.<sIPv6Addr> is ipv6 source address.

Command Mode:

Global mode

Default:

No access-list configured

Usage Guide:

Creates a numbered 520 standard IP access-list first time,the following

configuration will add to the current access-list.

Examples:

Creates a numbered 520 standard IP access-list,allow the source package

from 2003:1:2:3::1/64 pass through the net,and deny all the other package from the

source address 2003:1:2::1/48 pass through

Switch (Config)#ipv6 access-list 520 permit 2003:1:2:3::1/64

Switch (Config)#ipv6 access-list 520 deny 2003:1:2:::1/48

18.2.2.14 ipv6 access standard

Command: ipv6 access-list standard <name>

no ipv6 access-list standard <name>

Function:

Create a name-based standard IPv6 access list; the “no ipv6 access-list

standard<name>

”command deletes the name-based standard IPv6 access list

(including all entries).

Parameter:<name>

is the name for access list, the character string length is from 1 to

16.

Command Mode:

Global Mode

Default:

No access list is configured by default

Usage Guide:

When this command is run for the first time, only an empty access list with

no entry will be created.

Example:

Create a standard IPv6 access list named “ip6Flow”

Switch(Config)#ipv6 access-list standard ip6Flow

18.2.2.15 ipv6 access extended

Advertising
This manual is related to the following products: