DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide
235
create access_profile
src_port_mask <hex 0x0-0xffff>
−
Specifies a UDP port mask for the source
port.
dst_port_mask <hex 0x0-0xffff>
−
Specifies a UDP port mask for the
destination port.
protocol_id
−
Specifies that the switch will
examine each frame’s Protocol ID field.
user_mask <hex 0x0-0xffffffff>
−
Specifies that the rule applies to the IP
protocol ID and the mask options behind
the IP header.
permit
−
Specifies that packets that match
the access profile are permitted to be
forwarded by the switch.
deny
−
Specifies that packets that do not
match the access profile are not permitted
to be forwarded by the switch and will be
filtered.
profile_id <value 1-8>
−
Specifies an index
number that will identify the access profile
being created with this command.
Restrictions
Only administrator-level users can issue
this command.
Example Usage:
To create access list rules:
Command: create access_profile ethernet vlan source_mac 00-
00-00-00-00-01 destin
ation_mac 00-00-00-00-00-02 802.1p ethernet_type permit
profile_id 8