
xStack DES-6500 Modular Layer 3 Chassis Ethernet Switch CLI Manual
config access_profile profile_id (packet content mask)
specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports
between switch 1, port 3 and switch 2, port 4 − in numerical order.
permit – Specifies that packets that match the access profile are
permitted to be forwarded by the Switch.
replace_dscp <value 0-63> − Allows specification of a value to be
written to the DSCP field of an incoming packet that meets the
criteria specified in the first part of the command. This value will
over-write the value in the DSCP field of the packet.
deny – Specifies that packets that do not match the access profile
are not permitted to be forwarded by the Switch and will be filtered.
delete access_id <value 1-65535> − Use this command to delete a
specific rule from the packet content mask profile. Up to 65535 rules
may be specified for the Packet Content access profile.
Restrictions Only administrator-level users can issue this command.
• priority <value 0-7> − This parameter is specified 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} − Enter this parameter 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.
Example usage:
To create an access profile by packet content mask:
DES-6500:4# config access_profile profile_id 3 add access_id 1
packet_content offset_0-15 0x11111111 0x11111111 0x11111111
0x11111111 offset_16-31 0x11111111 0x11111111 0x11111111
0x11111111 port 1:1 deny
Command: config access_profile profile_id 3 add access_id 1
packet_content offset_0-15 0x11111111 0x11111111 0x11111111
0x11111111 offset_16-31 0x11111111 0x11111111 0x11111111
0x11111111 port 1:1 deny
Success.
DES-6500:4#
222