D-Link xStack DGS-3420 Series Reference Manual page 143

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
Format
config egress_access_profile [profile_id <value 1-4> | profile_name <name 1-32>] [add
access_id [auto_assign | <value 1-128>] [ethernet {[vlan <vlan_name 32> | vlan_id <vlanid 1-
4094>] {mask <hex 0x0-0x0fff>} | source_mac <macaddr> {mask <macmask>} |
destination_mac <macaddr> {mask <macmask>} | 802.1p <value 0-7> | ethernet_type <hex 0x0-
0xffff>} | ip {[vlan <vlan_name 32> | vlan_id <vlanid 1-4094>] {mask <hex 0x0-0x0fff>} |
source_ip <ipaddr> {mask <netmask>} | destination_ip <ipaddr> {mask <netmask>} | dscp
<value 0-63> | [icmp {type <value 0-255> | code <value 0-255>} | igmp {type <value 0-255>} | tcp
{src_port <value 0-65535> {mask <hex 0x0-0xffff>} | dst_port <value 0-65535> {mask <hex 0x0-
0xffff>} | flag [all | {urg | ack | psh | rst | syn | fin}]} | udp {src_port <value 0-65535> {mask <hex
0x0-0xffff>} | dst_port <value 0-65535> {mask <hex 0x0-0xffff>}} | protocol_id <value 0-255>
{user_define <hex 0x0-0xffffffff> {mask <hex 0x0-0xffffffff>}}]} | ipv6 {class <value 0-255> |
source_ipv6 <ipv6addr> {mask <ipv6mask>} | destination_ipv6 <ipv6addr> {mask <ipv6mask>}
| [tcp {src_port <value 0-65535> {mask <hex 0x0-0xffff>} | dst_port <value 0-65535> {mask <hex
0x0-0xffff>}} | udp {src_port <value 0-65535> {mask <hex 0x0-0xffff>} | dst_port <value 0-
65535> {mask <hex 0x0-0xffff>}} | icmp {type <value 0-255> | code <value 0-255>}]}]
[vlan_based [vlan <vlan_name 32> | vlan_id <vlanid 1-4094>] | port_group [id <value 1-64> |
name <name 16>] | port <port>] [permit {replace_priority_with <value 0-7> | replace_dscp_with
<value 0-63> | counter [enable | disable]} | deny] {time_range <range_name 32>} | delete
access_id <value 1-128>]
Parameters
profile_id - Specifies the index of the egress access list profile.
<value 1-4> - Enter the profile ID used here. This value must be between 1 and 4.
profile_name - Specifies the name of the profile.
<name 1-32> - Enter the profile name here. This name can be up to 32 characters long.
add - Specifies to add a profile or rule.
access_id - Specifies the index of the access list entry. If the auto_assign option is selected, the
access ID is automatically assigned. The lower the access ID, the higher the priority.
auto assign - Specifies that the access ID will be configured automatically.
<value 1-128> - Enter the access ID used here. This value must be between 1 and 128.
ethernet - Specifies an Ethernet egress ACL rule.
vlan - (Optional) Specifies the VLAN name.
<vlan_name 32> - Enter the VLAN name used for this configuration here. This name can be
up to 32 characters long.
vlanid - Specifies a VLAN ID.
<vlanid 1-4094> - Enter the VLAN ID used for this congfiguration here. This value must be
between 1 and 4094.
mask - (Optional) Specifies the mask used.
<hex 0x0-x0fff> - Enter the mask value used here.
source_mac - (Optional) Specifies the source MAC address.
<macaddr> - Enter the source MAC address used here.
mask - Specifies that source MAC mask used.
<macmask> - Enter the source MAC mask value here.
destination_mac - Specifies the destination MAC address.
<macaddr> - Enter the destination MAC address used here.
mask - Specifies that destination MAC mask used.
<macmask> - Enter the destination MAC mask value here.
802.1p - (Optional) Specifies the value of the 802.1p priority tag. The priority tag ranges from 1 to
7.
138

Advertisement

Table of Contents
loading

Table of Contents