D-Link DES-3010F Reference Manual - Page 118

CPU Interface Filtering, udp {src_port_mask <hex 0x0-0xffff> | dst_port_mask <hex 0x0

Page 118 highlights

DES-30XX Layer 2 Switch CLI Reference Manual create cpu access_profile Purpose Used to create an access profile specifically for CPU Interface Filtering on the Switch and to define which parts of each incoming frame's header the Switch will examine. Masks can be entered that will be combined with the values the Switch finds in the specified frame header fields. Specific values for the rules are entered using the config cpu access_profile command, below. Syntax Description Parameters create cpu access_profile profile_id [ethernet {vlan | source_mac | destination_mac | 802.1p | ethernet_type} | ip {vlan | source_ip_mask | destination_ip_mask | dscp | [icmp {type | code} | igmp {type} | tcp {src_port_mask | dst_port_mask } | flag_mask [all | {urg | ack | psh | rst | syn | fin}]} | udp {src_port_mask | dst_port_mask } | protocol_id_mask {user_mask } ]} | packet_content_mask {offset 0-15 | offset 16-31 | {offset 32-47 | {offset 48-63 | {offset 64-79 } | ipv6 {class | flowlabel | source_ipv6_mask | destination_ipv6_mask

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174

DES-30XX Layer 2 Switch CLI Reference Manual
114
create cpu access_profile
Purpose
Used to create an access profile specifically for
CPU Interface Filtering
on the Switch and to define which parts of each incoming frame’s header
the Switch will examine. Masks can be entered that will be combined with
the values the Switch finds in the specified frame header fields. Specific
values for the rules are entered using the
config cpu access_profile
command, below.
Syntax
create cpu access_profile profile_id <value 1-3> [ethernet {vlan |
source_mac <macmask> | destination_mac <macmask> | 802.1p |
ethernet_type} | ip {vlan | source_ip_mask <netmask> |
destination_ip_mask <netmask> | dscp | [icmp {type | code} | igmp
{type} | tcp {src_port_mask <hex 0x0-0xffff> | dst_port_mask <hex
0x0-0xffff>} | flag_mask [all | {urg | ack | psh | rst | syn | fin}]} |
udp {src_port_mask <hex 0x0-0xffff> | dst_port_mask <hex 0x0-
0xffff>} | protocol_id_mask {user_mask <hex 0x0-0xffffffff>} ]} |
packet_content_mask {offset 0-15 <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}]
Description
The
create cpu access_profile
command is used to create an access
profile used only for CPU Interface Filtering. Masks can be entered that
will be combined with the values the Switch finds in the specified frame
header fields. Specific values for the rules are entered using the
config
cpu access_profile
command, below.
Parameters
profile_id <value 1-3>
Specifies an index number that will identify the
access profile being created with this command.
ethernet
Specifies that the Switch will examine the layer 2 part of each
packet header.
vlan
Specifies that the Switch will examine the VLAN part of each
packet header.
source_mac <macmask> -
Specifies to examine the source MAC
address mask.
destination_mac <macmask> -
Specifies to examine the destination
MAC address mask.
802.1p
Specifies that the Switch will examine the 802.1p priority
value in the frame’s header.
ethernet_type
Specifies that the Switch will examine the Ethernet
type value in each frame’s header.
ip
Specifies that the Switch will examine the IP address in each frame’s
header.
vlan
Specifies a VLAN mask.
source_ip_mask <netmask>
Specifies an IP address mask for the
source IP address.