![D-Link DES-3828 - xStack Switch - Stackable Скачать руководство пользователя страница 162](http://html.mh-extra.com/html/d-link/des-3828-xstack-switch-stackable/des-3828-xstack-switch-stackable_cli-manual_76456162.webp)
xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
158
Example usage:
To create an access profile based on IPv6 classification:
DES-3800:admin# create access_profile ipv6 class
flowlabel profile_id 4
Command: create access_profile ipv6 class flowlabel
profile_id 4
Success.
DES-3800:admin#
config access_profile profile_id (ipv6)
Purpose
Used to configure the IPv6 access profile on the Switch and to
define specific values for the rules that will be used to by the Switch
to determine if a given packet should be forwarded, filtered or
mirrored. Masks entered using the
create access_profile
command
will be combined, using a logical AND operational method, with the
values the Switch finds in the specified frame header fields.
Syntax
config access_profile profile_id <value 1-8> [add access_id
<value 1-65535>] ipv6 {class <value 0-255> | flowlabel <hex 0x0-
0xfffff> | source_ipv6 <ipv6addr> | destionation_ipv6
<ipv6addr>} port <port> [permit {priority <value 0-7>
{replace_priority}} | deny] | delete <value 1-65535>]
Description
This command is used to define the rules used by the Switch to
either filter, forward or mirror packets based on the IPv6 part of each
packet header.
Parameters
profile_id <value 1-8>
- Enter an integer between 1 and 8 that is
used to identify the access profile that will be configured with this
command. This value is assigned to the access profile when it is
created with the create access_profile command. The lower the
profile ID, the higher the priority the rule will be given.
add access_id <value 1-65535>
- Adds an additional rule to the
above specified access profile. The value specifies the relative
priority of the additional rule. Up to 65535 different rules may be
configured for the IPv6 access profile.
ipv6
- Specifies that the Switch will look into the IPv6 fields in each
packet, with emphasis on one or more of the following fields:
•
class <value 0-255>
- Entering this parameter will instruct the
Switch to examine the
class
field of the IPv6 header. This class
field is a part of the packet header that is similar to the Type of
Service (ToS) or Precedence bits field in IPv4.
•
flowlabel <hex 0x0-fffff>
- Entering this parameter will instruct
the Switch to examine the flow label field of the IPv6 header.
This flow label field is used by a source to label sequences of
packets such as non-default quality of service or real time
service packets. This field is to be defined by the user in hex
form.
•
source_ipv6 <ipv6addr>
- Specifies an IP address mask for the
source IPv6 address.
•
destination_ipv6 <ipv6addr>
- Specifies an IP address mask
for the destination IPv6 address.
port <portlist>
- The access profile for Ethernet may be defined for
each port on the Switch. The port list is specified by listing the lowest
switch number and the beginning port number on that switch,
separated by a colon. Then the highest switch number, and the
highest port number of the range (also separated by a colon) are