DES-3028 DES-3028P DES-3028G DES-3052 DES-3052P Layer 2 Fast Ethernet Switch CLI Reference Manual
173
config access_profile
Parameters
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_id <value 0-255>
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.
flag_mask
– Enter the type of TCP flag to be masked.
all
: all flags are selected.
urg
: TCP control flag (urgent)
ack
: TCP control flag (acknowledgement)
psh
: TCP control flag (push)
rst
: TCP control flag (reset)
syn
: TCP control flag (synchronize)
fin
: TCP control flag (finish)
udp
Specifies that the Switch will examine the Universal Datagram Protocol (UDP) field
in 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.
packet_content
– 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.
Parameters
port <portlist>
Specifies the port number on the Switch to permit or deny access for the rule.
The user can also configure “all” to specify all ports.
permit
– Specifies that packets that match the access profile are permitted to be forwarded by
the Switch.
priority <value 0-7>
This parameter is specified if you want to re-write the 802.1p
default priority previously set in the Switch, which is used to determine the CoS queue to
which packets are forwarded to. Once this field is specified, packets accepted by the
Switch that match this priority are forwarded to the CoS queue specified previously by the
user.
{replace_priority_with <value 0-7>}
Enter this parameter if you want to re-write the
802.1p default priority of a packet to the value entered in the Priority field, which meets
the criteria specified previously in this command, before forwarding it on to the specified
CoS queue. Otherwise, a packet will have its incoming 802.1p user priority re-written to
its original value before being forwarded by the Switch.
rx_rate
– Use this to limit Rx bandwidth for the profile being configured. This rate is