D-Link xStack DGS-3120 Series Cli Reference Manual page 111

Dgs-3120 series layer 3 managed gigabit ethernet switch
Hide thumbs Also See for xStack DGS-3120 Series:
Table of Contents

Advertisement

®
xStack
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
<hex 0x0-0xffff> - Enter the UDP destination port mask value here.
icmp - (Optional) Specify a mask for ICMP filtering.
type - (Optional) Specify the inclusion of the ICMP type field in the mask.
code - (Optional) Specify the inclusion of the ICMP code field in the mask.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create an access profile:
DGS-3120-24TC:admin# create access_profile profile_id 1 profile_name t1
ethernet vlan source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02
802.1p ethernet_type
Command: create access_profile profile_id 1 profile_name 1 ethernet vlan
source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p
ethernet_type
Success.
DGS-3120-24TC:admin# create access_profile profile_id 2 profile_name 2 ip vlan
source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code
Command: create access_profile profile_id 2 profile_name t2 ip vlan
source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code
Success.
DGS-3120-24TC:admin# create access_profile profile_id 4 profile_name 4
packet_content_mask offset_chunk_1 3 0xFFFF offset_chunk_2 5 0xFF00
offset_chunk_3 14 0xFFFF0000 offset_chunk_4 16 0xFF000000
Command: create access_profile profile_id 4 profile_name 4 packet_content_mask
offset_chunk_1 3 0xFFFF offset_chunk_2 5 0xFF00 offset_chunk_3 14 0xFFFF0000
offset_chunk_4 16 0xFF000000
Success.
DGS-3120-24TC:admin#
6-2
delete access_profile
Description
This command is used to delete access list profiles. This command can only delete profiles that
were created using the ACL module.
Format
delete access_profile [profile_id <value 1-6> | profile_name <name 1-32> | all]
Parameters
profile_id - Specify the index of the access list profile.
<value 1-6> - Enter the profile ID value here. This value must be between 1 and 6.
106

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120-24pcXstack dgs-3120-48pc

Table of Contents