D-Link DES-3828 Product Manual - Page 343
<macaddr> | ethernet_type <hex 0x0-0xffff>} [permit | deny] | ip {vlan <vlan_name
UPC - 790069276811
View all D-Link DES-3828 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 343 highlights
xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual config cpu access_profile Purpose Syntax Description Parameters Used to configure a cpu access profile used for CPU Interface Filtering and to define specific values that will be used to by the Switch to determine if a given packet should be forwarded or filtered. Masks entered using the create cpu access_profile command will be combined, using a logical AND operational method, 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. config cpu access_profile profile_id [add access_id [ethernet {vlan | source_mac | destination_mac | ethernet_type } [permit | deny] | ip {vlan | source_ip | destination_ip | dscp | [icmp {type code } | igmp {type } | tcp {src_port | dst_port | {urg | ack | psh | rst | syn | fin}]} | udp {src_port | dst_port } | protocol_id {user_define }]} [permit | deny] | packet_content {offset_0-15 | offset_16-31 | offset_32-47 | offset_48-63 | offset_64-79 }[permit | deny] | delete access_id ] The config cpu access_profile command is used to configure a CPU access profile for CPU Interface Filtering and to enter specific values that will be combined, using a logical AND operational method, with masks entered with the create cpu access_profile command, above. profile_id − Enter an integer 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 cpu access_profile command. The profile ID sets the relative priority for the profile and specifies an index number that will identify the access profile being created with this command. Priority is set relative to other profiles where the lowest profile ID has the highest priority. add access_id − Adds an additional rule to the above specified access profile. The value is used to index the rule created. ethernet − Specifies that the Switch will look only into the layer 2 part of each packet. • vlan − Specifies that the access profile will apply to only to this VLAN. • source_mac − Specifies that the access profile will apply to this source MAC address. • destination_mac − Specifies that the access profile will apply to this destination MAC address. • ethernet_type − Specifies that the access profile will apply only to packets with this hexadecimal 802.1Q Ethernet type value in the packet header. ip − Specifies that the Switch will look into the IP fields in each packet. • vlan − Specifies that the access profile will apply to only this VLAN. • source_ip − Specifies that the access profile will apply to only packets with this source IP address. • destination_ip − Specifies that the access profile will apply to only packets with this destination IP address. • dscp − Specifies that the access profile will apply only to packets that have this value in their Type-of-Service (DiffServ code point, DSCP) field in their IP packet header icmp − Specifies that the Switch will examine the Internet Control Message Protocol (ICMP) field within each packet. 339