DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide
486
config cpu_access_profile
Purpose To configures the settings of cpu access profiles.
Syntax
config cpu_access_profile [profile_id <value 1-3>] [add
access_id [ auto_assign | <value 1-5>]] [ 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>] | ipv6 {class | source_ipv6 <ipv6addr> |
destination_ipv6 <ipv6addr>} [port [<portlist> | all] [permit |
deny]] delete access_id <value 1-5>]
Description
The config cpu_access_profile command configures the settings
of cpu access profiles.
Parameters
profile_id <value 1-3> – Specifies the cpu access profile to be
configured.
[add | delete] – Add or delete the profile id.
access_id [<value 1-5> | auto_assign] – Specifies the access id
value or use auto assign.
ethernet – Specifies that the Switch examine only the layer 2 part of
each packet to determine if it is to be filtered or forwarded based on
one or more of the following:
• 802.1p <value 0-7> – Specifies the 802.1p value. The range
is between 0 and 7.
• destination_mac <macaddrf> – Specifies the destination
MAC address.
• ethernet_type – Specifies the Ethernet type mask.
• <portlist> – Specifies the port or ports to be configured.
• source_mac <macaddr> – Specifies the source MAC
address.
vlan <vlanid 1-4094> – Specifies the VLAN id.
ip – Specifies that the Switch examine the IP fields in each packet to
determine if it will be either forwarded or filtered based on one or
more of the following:
• destination_ip <ip_addr> – Specifies the destination IP
address.
• dscp <value 0-63> – Specifies the DSCP value.
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.
• code <value 0-255> –Specifies that the Switch examine
each frame’s ICMP code field.
• type <value 0-255> –Specifies that the Switch examine each
frame’s ICMP Type field.
igmp – Specifies that the Switch examine each frame’s protocol
field and it must be 2 (Internet Group Management Protocol-
IGMP) for the action to take place.
• igmp_type <value 0-255> – Specifies the IGMP type.
<portlist> – Specifies the port or ports to be configured.
protocol_id <value 0-255> – Specifies the protocol id.