D-Link xStack DGS-3620 Reference Manual page 119

Hide thumbs Also See for xStack DGS-3620:
Table of Contents

Advertisement

xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
Restrictions
None.
Example
To display the ACL part of the current configuration:
DGS-3620-28PC:admin#show current_config access_profile
Command: show current_config access_profile
#-----------------------------------------------------------------------------
# ACL
create access_profile profile_id 1 profile_name EtherACL ethernet vlan 0xFFF
802.1p ethernet_type
config access_profile profile_id 1 add access_id 1 ethernet vlan_id 1 802.1p 7
ethernet_type 0xFFFF port 1 permit priority 7 replace_priority replace_tos 7
urpf_state_check enable
create access_profile profile_id 2 profile_name IPv4ACL ip vlan dscp icmp type
code
config access_profile profile_id 2 add access_id 1 ip vlan_id 1 dscp 63 icmp
type 255 code 255 port 1 permit priority 7 replace_priority replace_tos 7
urpf_state_check enable
create access_profile profile_id 3 profile_name IPv6ACL ipv6 class flowlabel
tcp
config access_profile profile_id 3 add access_id 1 ipv6 class 255 flowlabel
0xFFFFF tcp port 1 permit priority 7 replace_priority replace_tos 7
urpf_state_check enable
create access_profile profile_id 4 profile_name PCACL packet_content_mask
offset_chunk_1 1 0x0 offset_chunk_2 2 0x0 offset_chunk_3 3 0x0 offset_chunk_4 4
0x0
config access_profile profile_id 4 add access_id 1 packet_content
offset_chunk_1 0x1 mask 0x5 offset_chunk_2 0x2 mask 0x6 offset_chunk_3 0x3 mask
0x7 offset_chunk_4 0x4 mask 0x8 port 1 permit priority 7 replace_priority
replace_tos 7 urpf_state_check enable
#-----------------------------------------------------------------------------
DGS-3620-28PC:admin#
5-8
delete cpu access_profile
Description
This command is used to delete CPU access list profiles.
Format
delete cpu access_profile [profile_id <value 1-5> | all]
Parameters
profile_id - Specifies the index of the access list profile.
<value 1-5> - Enter the value between 1 and 5.
114

Advertisement

Table of Contents
loading

Table of Contents