12 ipv6 access-list, Access, List – PLANET WGSW-52040 User Manual

Page 609

Advertising
background image

38-149

No access list is configured by default.

Usage Guide:

When this command is issued for the first time, an empty access list will be created.

Example:

To create a standard IP access list name ipFlow.

Switch(config)#ip access-list standard ipFlow

38.12 ipv6 access-list

Command:

ipv6 access-list <num-std> {deny | permit} {<sIPv6Prefix/sPrefixlen> | any-source | {host-source

<sIPv6Addr>}}

no ipv6 access-list <num-std>

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-std>|<num-ext>} “command deletes a numbered standard IP access-list.

Parameters:

<num-std> is the list number, list range is between 500~599; <sIPv6Prefix> is the prefix of the ipv6 source address;

<sPrefixlen> is the length of prefix of the ipv6 source address, range is between 1~128; <sIPv6Addr> is the 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 packet from 2003:1:2:3::1/64 pass through the net,

and deny all the other packet from the source address 2003:1:2::1/48 pass through.

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

Advertising