xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
225
create cpu access_profile
•
offset_0–15
– Enter a value in hex form to mask the packet from byte 0 to byte 15.
•
offset_16–31
– Enter a value in hex form to mask the packet from byte 16 to byte
31.
•
offset_32–47
– Enter a value in hex form to mask the packet from byte 32 to byte
47.
•
offset_48–63
– Enter a value in hex form to mask the packet from byte 48 to byte
63.
•
offset_64–79
– Enter a value in hex form to mask the packet from byte 64 to byte
79.
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–0xfffff>
– 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.
profile_id <value 1–5>
−
Enter an integer between
1
and
5
that is used to identify the
CPU access profile to be deleted with this command.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a CPU access profile:
D G S – 3 4 2 6 : 5 # c r e a t e c p u a c c e s s _ p r o f i l e p r o f i l e _ i d 1 i p v l a n s o u r c e _ i p _ m a s k
2 0 . 0 . 0 . 0 d e s t i n a t i o n _ i p _ m a s k 1 0 . 0 . 0 . 0 d s c p i c m p t y p e c o d e
C o m m a n d : c r e a t e c p u a c c e s s _ p r o f i l e p r o f i l e _ i d 1 i p v l a n s o u r c e _ i p _ m a s k 2 0 . 0 . 0 . 0
d e s t i n a t i o n _ i p _ m a s k 1 0 . 0 . 0 . 0 d s c p i c m p t y p e c o d e
S u c c e s s .
D G S – 3 4 2 6 : 5 #
delete
cpu access_profile
Purpose
Used to delete a previously created access profile or cpu access profile.
Syntax
delete cpu access_profile [profile_id <value 1–5> | all]
Description
This command is used to delete a previously created CPU access profile.
Parameters
profile_id <value 1–5>
−
Enter an integer between 1 and 5 that is used to identify the
CPU access profile to be deleted with this command. This value is assigned to the
access profile when it is created with the
create
cpu access_profile
command.
all
– Entering this parameter will delete all CPU access profiles currently set on the
Switch.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete the CPU access profile with a profile ID of 1: