xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
create access_profile (ipv6)
Parameters
•
class
– 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.
profile_id <value 1-6>
- Specifies an index number between 1 and 6 that will
identify the access profile being created with this command.
ipv6
– Denotes that IPv6 packets will be examined by the Switch for forwarding
or filtering based on the rules configured in the
config access_profile
command for IPv6. IPv6 packets may be identified by the following:
Restrictions Only
administrator-level users can issue this command.
•
flowlabel
– 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.
•
source_ipv6_mask <ipv6mask>
- Specifies an IP address mask for the
source IPv6 address.
•
destination_ipv6_mask <ipv6mask>
- Specifies an IP address mask for
the destination IPv6 address.
Example usage:
To create an access profile based on IPv6 classification:
DGS-3400:4#create access_profile profile_id 4 ipv6 class flowlabel
Command: create access_profile profile_id 4 ipv6 class flowlabel
Success.
DGS-3400:4#
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 or filtered. 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-6> add access_id [auto_assign | <value
1-128>] ipv6 {class <value 0-255> | flowlabel <hex 0x0-0xfffff> | source_ipv6
<ipv6addr> | destionation_ipv6 <ipv6addr>} port [<portlist> | all] [permit {priority
<value 0-7> {replace_priority} | deny | rx_rate [no_limit | value 1-156249]]] | delete
access_id <value 1-128>]
Description
This command is used to define the rules used by the Switch to either filter or forward
packets based on the IPv6 part of each packet header.
Parameters
profile_id <value 1-6>
- Enter an integer between 1 and 6 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-128>
- Adds an additional rule to the above specified access
profile. The value specifies the relative priority of the additional rule. Up to 128 different
rules may be configured for the IPv6 access profile.
•
auto_assign
– Choose this parameter to configure the Switch to automatically
assign a numerical value (between 1 and 65535) for the rule being configured.
158