D-Link DGS-3224TGR Command Line Interface Reference Manual page 123

Layer 2 gigabit ethernet switch
Hide thumbs Also See for DGS-3224TGR:
Table of Contents

Advertisement

create access_profile
tcp − Specifies that the switch will examine each frames Transport Control Protocol (TCP)
field.
src_port_mask <hex 0x0-0xffff> − Specifies a TCP port mask for the source port.
dst_port_mask <hex 0x0-0xffff> − Specifies a TCP port mask for the destination port.
udp − Specifies that the switch will examine each frame's Universal Datagram Protocol
(UDP) field.
flag_mask − Specifies the TCP flag fields.
udp − Specifies that the switch will examine each frame's Universal Datagram Protocol
(UDP) field.
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 _mask − Specifies that the switch will examine each frame's Protocol ID field.
user_define_mask − Specifies that the rule applies to the IP protocol ID and the mask
options behind the IP header.
packet_content_mask − Specifies the frame content mask. There is a maximum of 5 offsets
that can be configured. Each offset must be 16 bytes in length. The mask can be up to 80
bytes in length, consisting of up to 5 offsets of 16 bytes each (5 x 16 bytes + 80 bytes). The
packet content mask covers the first 80 bytes of a frame. Up to 5 offsets from the first byte of
the frame can be specified with each offset consisting of 16 bytes.
port − Specifies a range of ports to be configured.
profile_id − Specifies the index of the access list profile.
Only administrator-level users can issue this command.
Restrictions
Example Usage:
To create an access profile:
DGS-3224TGR:4#create access_profile ethernet vlan 802.1p port all profile_id 1
Command: create access_profile ethernet vlan 802.1p port all profile_id 1
Success.
DGS-3224TGR:4#
delete access_profile
Purpose
Used to delete a previously created access profile.
Syntax
delete access_profile [profile_id <value 1-8>]
The delete access_profile command is used to delete a previously created access profile on
Description
the swtich.
profile_id <value 1-8> − An integer between 1 and 8 that is used to identify the access profile
Parameters
that will be deleted with this command. This value is assigned to the access profile when it is
created with the create access_profile command.
Restrictions
Only administrator-level users can issue this command.
Example Usage:
To delete the access profile with a profile ID of 1:
DGS-3224TGR Gigabit Ethernet Switch CLI Reference Manual
119

Advertisement

Table of Contents
loading

Table of Contents