DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
246
Format
config cpu access_profile profile_id <value 1-5> [add access_id [auto_assign | <value 1-
100>] [ethernet {[vlan <vlan_name 32> | vlan_id <vlanid 1-4094>] | source_mac <macaddr> |
destination_mac <macaddr> | 802.1p <value 0-7> | ethernet_type <hex 0x0-0xffff>} | ip {[vlan
<vlan_name 32> | vlan_id <vlanid 1-4094>] | source_ip <ipaddr> | destination_ip <ipaddr> |
dscp <value 0-63> | [icmp {type <value 0-255> | code <value 0-255>} | igmp {type <value 0-
255>} | tcp {src_port <value 0-65535> | dst_port <value 0-65535> | flag [all | {urg | ack | psh |
rst | syn | fin}]} | udp {src_port <value 0-65535> | dst_port <value 0-65535>} | protocol_id
<value 0-255> {user_define <hex 0x0-0xffffffff>}]} | packet_content {offset_0-15 <hex 0x0-
0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_16-31 <hex 0x0-
0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_32-47 <hex 0x0-
0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_48-63 <hex 0x0-
0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_64-79 <hex 0x0-
0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff>} | ipv6 {class <value 0-
255> | flowlabel <hex 0x0-0xfffff> | source_ipv6 <ipv6addr> | destination_ipv6 <ipv6addr>}]
port [<portlist> | all] [permit | deny] {time_range <range_name 32>} | delete access_id
<value 1-100>]
Parameters
profile_id
- Specifies the index of access list profile.
<value 1-5>
- Enter the profile ID value here. This value must be between 1 and 5.
access_id
- Specifies the index of access list entry. The range of this value is 1-100.
<value 1-100>
- Enter the access ID here. This value must be between 1 and 100.
ethernet
- Specifies that the profile type will be Ethernet.
vlan
- (Optional) Specifies the VLAN name used.
<vlan_name 32>
- Enter the name of the VLAN here. This name can be up to 32 characters
long.
vlan_id
- (Optional) Specifies the VLAN ID used.
<vid>
- Enter the VLAN ID used here.
mask
- (Optional) Specifies the mask used.
<hex 0x0-0x0fff>
- Specifies the mask used.
source_mac
- (Optional) Specifies the source MAC address.
<macaddr>
- Enter the source MAC address used for this configuration here.
mask
- (Optional) Specifies the mask used.
<hex 0x0-0x0fff>
- Specifies the mask used.
destination_mac
- (Optional) Specifies the destination MAC.
<macaddr>
- Enter the destination MAC address used for this configuration here.
mask
- (Optional) Specifies the mask used.
<hex 0x0-0x0fff>
- Specifies the mask used.
802.1p
- (Optional) Specifies the value of 802.1p priority tag.
<value 0-7>
- Enter the 802.1p priority tag value here. This value must be between 0 and 7.
ethernet_type
- (Optional) Specifies the Ethernet type.
<hex 0x0-0xffff>
- Enter the Ethernet type value here.
ip
- Specifies that the profile type will be IP.
vlan
- (Optional) Specifies the VLAN name used.
<vlan_name 32>
- Enter the name of the VLAN here. This name can be up to 32 characters
long.
vlan_id
- (Optional) Specifies the VLAN ID used.
<vid>
- Enter the VLAN ID used here.
source_ip
- (Optional) Specifies an IP source address.
<ipaddr>
- Enter the source IP address used for this configuration here.
mask
- (Optional) Specifies the mask.
<netmask>
- Specifies the mask.