DES-3028 DES-3028P DES-3028G DES-3052 DES-3052P Layer 2 Fast Ethernet Switch CLI Reference Manual
179
config cpu access_profile
Parameters
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 <vlan_name 32>
Specifies that the access profile will apply to only to this
VLAN.
source_mac <macaddr>
Specifies that the access profile will apply to this source
MAC address.
destination_mac <macaddr>
Specifies that the access profile will apply to this
destination MAC address.
ethernet_type <hex 0x0-0xffff>
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 <vlan_name 32>
Specifies that the access profile will apply to only this VLAN.
source_ip <ipaddr>
Specifies that the access profile will apply to only packets with
this source IP address.
destination_ip <ipaddr>
Specifies that the access profile will apply to only packets
with this destination IP address.
dscp <value 0-63>
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.
igmp
Specifies that the Switch will examine the Internet Group Management
Protocol (IGMP) field within each packet.
tcp
Specifies that the Switch will examine the Transmission Control Protocol (TCP)
field within each packet.
src_port <value 0-65535>
Specifies that the access profile will apply only to
packets that have this TCP source port in their TCP header.
dst_port <value 0-65535>
Specifies that the access profile will apply only to
packets that have this TCP destination port in their TCP header.
protocol_id <value 0-255>
Specifies that the Switch will examine the Protocol field in
each packet and if this field contains the value entered here, apply the following rules.
udp
Specifies that the Switch will examine the Transmission Control Protocol (TCP) field
within each packet.
src_port <value 0-65535>
Specifies that the access profile will apply only to
packets that have this UDP source port in their header.
dst_port <value 0-65535>
Specifies that the access profile will apply only to
packets that have this UDP destination port in their header.
protocol_id <value 0-255>
Specifies that the Switch will examine the protocol field in
each packet and if this field contains the value entered here, apply the following rules.
user_define_mask <hex 0x0-0xffffffff>
Specifies that the rule applies to the
IP protocol ID and the mask options behind the IP header.
packet_content_mask
– Specifies that the Switch will mask the packet header beginning
with the offset value specified as follows:
offset_0-76
- Enter a value in hex form to mask the packet from byte 0 to byte
76.
<portlist>
Specifies a port or range of ports to be configured.
permit | deny
– Specify that the packet matching the criteria configured with command will
either be permitted entry to the cpu or denied entry to the CPU.
time_range <range_name 32>
– Choose this parameter and enter the name of the Time
Range settings that has been previously configured using the
config time_range
command. This will set specific times when this access rule will be enabled or disabled on
the Switch.
delete access_id <value 1-5>
Use this to remove a previously created access rule in a