Config Access_Profile - D-Link DES-1210-52/ME Cli Reference Manual

L2 managed metro ethernet switch
Hide thumbs Also See for DES-1210-52/ME:
Table of Contents

Advertisement

Restrictions
Example usage:
To create an Ethernet access profile:
DES-1210-52/ME:5# create access_profile ethernet vlan 802.1p profile_id 1
Command: create access_profile ethernet vlan 802.1p profile_id 1
Success.
DES-1210-52/ME:5#

config access_profile

Purpose
Syntax
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
mask for the destination port.
udp – Specifies that the Switch examines each frame's protocol
field and it's value must be 17 (User Datagram Protocol-UDP) in
order for the action to take place..
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.
icmp – Specifies that the Switch examines the Protocol field in
each frame's IP header , and that the value must be 1 (Internet
Control Message Protocol- ICMP) for the action to take place.
type – Specifies that the Switch examines each frame's
ICMP Type field.
code – Specifies that the Switch examines each frame's
ICMP Code field.
profile_id <value 1-10> – Specifies an index number between 1 and
10 that identifies the access profile being created with this
command.
Only administrator or operate-level users can issue this command.
To create an access profile on the Switch by examining the Ethernet
part of the packet header. Masks entered are combined with the
values the Switch finds in the specified frame header fields. Specific
values for the rules are entered using the config access_profile
ethernet command, below.
config access_profile profile_id <value 1-10> [add access_id
[auto_assign | <value 1-128>] [ ethernet {vlan <vlanid 1-4094> |
source_mac <macaddr> | destination_mac <macaddr> | 802.1p
<value 0-7> | ethernet_type <hex (0x0-0xffff)> } | ip {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)> | urg | ack | psh | rst | syn | fin} | udp {src_port <value
(0-65535)> | dst_port <value (0-65535)>} | protocol_id <value(0-
255)>]} | packet_content [offset1 <hex (0x0-0xffffffff)> | offset2
<hex (0x0-0xffffffff)> | offset3 <hex (0x0-0xffffffff)> | offset4 <hex
(0x0-0xffffffff)>] | ipv6 [class <value 0-255> | source_ipv6
<ipv6addr> | destination_ipv6 <ipv6addr> | tcp [src_port <
value 0-65535> | dst_port < value 0-65535>] | udp [src_port <
value 0-65535> | dst_port < value 0-65535>] | icmp [type<value
0-255> | code <value 0-255>] ] [port [<portlist> | all] [permit
{replace_priority_with <value (0-7)> | replace_dscp_with <value
(0-63)> | rx_rate {no_limit | <value (64-1024000)>}} | mirror |
397

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents