xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
config cpu access_profile
AND operational method, with masks entered with the
create cpu access_profile
command, above.
Parameters
profile_id <value 1-5>
−
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 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.
ethernet
−
Specifies that the Switch will look only into the layer 2 part of each packet.
ip
−
Specifies that the Switch will examine the IP fields in each packet.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
add access_id <value 1-100>
−
Adds an additional rule to the above specified
access profile. The value is used to index the rule created.
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.
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.
•
type <value 0-255>
−
Specifies that the access profile will apply to this ICMP
type value.
•
code <value 0-255>
−
Specifies that the access profile will apply to this ICMP
code.
igmp
−
Specifies that the Switch will examine the Internet Group Management
Protocol (IGMP) field within each packet.
type <value 0-255>
−
Specifies that the access profile will apply to packets
that have this IGMP type value.
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.
udp
−
Specifies that the Switch will examine the User Datagram Protocol (UDP)
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
190