DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
414
user_define_mask
Specifies the L4 part mask.
packet_content_mask
Specifies the frame content mask. There are a maximum of five offsets
that can be configured.
Each offset presents 16 bytes, the range of mask of frame is 80 bytes (5
offsets) in the first eighty bytes of frame.
offset
Specifies the mask pattern offset of frame.
offset_chunk_1,
offset_chunk_2,
offset_chunk_3,
offset_chunk_4
Specifies the frame content offset and mask. Up to four trunk offset and
masks in maximum can be configured. A trunk mask presents 4 bytes.
Four offset chunks can be selected out from 32 predefined offset chunks
as described below:
chunk0 chunk1
chunk2 …… chunk29 chunk30 chunk31
B126,
B127,
B0,
B1
B2,
B3,
B4,
B5
B6,
B7,
B8,
B9
…… B114,
B115,
B116,
B117
B118,
B119,
B120,
B121
B122,
B123,
B124,
B125
Example:
offset_chunk_1 0 0xffffffff will match packet byte offset 126,127,0,1
offset_chunk_1 0 0x0000ffff will match packet byte offset 0,1
Note
: Only one packet content mask profile can be created.
class
Specifies the IPv6 class mask.
flowlabel
Specifies the IPv6 flow label mask.
source_ipv6_mask
Specifies the IPv6 source IP mask.
destination_ipv6_mask
Specifies the IPv6 destination IP mask.
Restrictions
You must have administrator privileges. The Switch supports a maximum of 200 profiles.
Example
To create access list rules:
D G S - 3 2 0 0 - 1 0 : 4 # c r e a t e a c c e s s _ p r o f i l e p r o f i l e _ i d 1 0 0 e t h e r n e t v l a n s o u r c e _ m a c F F - F
F - F F - F F - F F - F F d e s t i n a t i o n _ m a c 0 0 - 0 0 - 0 0 - F F - F F - F F 8 0 2 . 1 p e t h e r n e t _ t y p e
C o m m a n d : c r e a t e a c c e s s _ p r o f i l e p r o f i l e _ i d 1 0 0 e t h e r n e t v l a n s o u r c e _ m a c F F - F F - F F -
F F - F F - F F d e s t i n a t i o n _ m a c 0 0 - 0 0 - 0 0 - F F - F F - F F 8 0 2 . 1 p e t h e r n e t _ t y p e
S u c c e s s .