xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
211
<hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_16-31
<hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_32-47
<hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_48-63
<hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_64-79
<hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff>} | ipv6 class |
flowlabel | source_ipv6_mask <ipv6mask> | destination_ipv6_mask <ipv6mask>}]
Parameters
profile_id
- Specify the profile ID used here.
<value 1-5>
- Enter the profile ID value here. This value must be between 1 and 5.
ethernet
- Specify that the profile type will be Ethernet.
vlan
- (Optional) Specify a VLAN mask.
source_mac
- (Optional) Specify the source MAC mask.
<macmask>
- Enter the source MAC mask here.
destination_mac
- (Optional) Specify the destination mac mask.
<macmask>
- Enter the destination MAC mask here.
802.1p
- (Optional) Specify 802.1p priority tag mask.
ethernet_type
- (Optional) Specify the ethernet type mask.
ip
- Specify that the profile type will be IP.
vlan
- (Optional) Specify a VLAN mask.
source_ip_mask
- (Optional) Specify an IP source submask.
<netmask>
- Enter the IP source submask here.
destination_ip_mask
- Specify an IP destination submask.
<netmask>
- Enter the IP destination submask here.
dscp
- Specify the DSCP mask.
icmp
- Specify that the rule applies to ICMP traffic.
type
- (Optional) Specify that the rule applies to ICMP type traffic.
code
- (Optional) Specify that the rule applies to ICMP code traffic.
igmp
- Specify that the rule applies to IGMP traffic.
type
- (Optional) Specify that the rule applies to IGMP type traffic.
tcp
- Specify that the rule applies to TCP traffic.
src_port_mask
- (Optional) Specify the TCP source port mask.
<hex 0x0-0xffff>
- Enter the source TCP port mask here.
dst_port_mask
- (Optional) Specify the TCP destination port mask.
<hex 0x0-0xffff>
- Enter the destination TCP port mask here.
flag_mask
- (Optional) Specify the TCP flag field mask.
all
- Specify that the TCP flag field mask will be set to all.
urg
- Specify that the TCP flag field mask will be set to urg.
ack
- Specify that the TCP flag field mask will be set to ack.
psh
- Specify that the TCP flag field mask will be set to psh.
rst
- Specify that the TCP flag field mask will be set to rst.
syn
- Specify that the TCP flag field mask will be set to syn.
fin
- Specify that the TCP flag field mask will be set to fin.
udp
- Specify that the rule applies to UDP traffic.
src_port_mask
- (Optional) Specify the UDP source port mask.
<hex 0x0-0xffff>
- Enter the source UDP port mask here.
dst_port_mask
- (Optional) Specify the UDP destination port mask.
<hex 0x0-0xffff>
- Enter the destination UDP port mask here.
protocod_id_mask
- Specify that the rule applies to the IP protocol ID traffic.
<0x0-0xff>
- Enter the IP protocol ID mask here.
user_define_mask
- (Optional) Specify that the rule applies to the IP protocol ID and the mask
options behind the IP header length is 20 bytes.
<hex 0x0-0xffffffff>
- Enter the user-defined IP protocol ID mask here.
packet_content_mask
- Specify the frame content mask, there are 5 offsets in maximum could
be configure. Each offset presents 16 bytes, the range of mask of frame is 80 bytes (5 offsets)
in the first eighty bytes of frame.
offset_0-15
- (Optional) Specify that the mask pattern offset of the frame will be between 0