DES-1210-28/ME Metro Ethernet Managed Switch CLI Reference Guide
292
ethernet_type – Specifies the Ethernet type mask.
ip - Specifies that the Switch examines the IP fields in each packet
with special emphasis on one or more of the following:
• type – Specifies that the Switch examine each frame’s ICMP
Type field.
• code – Specifies that the Switch examine each frame’s
ICMP code field.
• type – Specifies that the Switch examine each frame’s IGMP
Type field.
tcp – Specifies that the Switch examines each frames protocol
field and its value must be 6 (Transmission Control Protocol-
TCP) for the action to take place.
• src_port_mask <hex 0x0-0xffff> – Specifies the TCP port
mask for the source port.
• dst_port_mask <hex 0x0-0xffff> – Specifies the TCP port
mask for the destination port.
• flag_mask - Specifies the appropriate flag.
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 <0x0-0xffff> – Specifies the UDP port mask
for the source port.
• dst_port_mask <0x0-0xffff> – Specifies the UDP port mask
for the destination port mask.
• protocol_id_mask <0x0-0xffff> – Specifies the protocol id
mask.
• source_ip_mask <netmask> – Specifies the source IP mask.
• destination_ip_mask <netmask> – Specifies the destination
IP mask.
dscp – Specifies that the Switch examines the DiffServ Code Point
(DSCP) field in each frame’s header.
profile_id <value 1-3> – Specifies the cpu access profile to be
displayed.
Restrictions Only administrator or operate-level users can issue this command.
Example usage:
To create a CPU IP access profile:
DES-1210-28/ME:5# create cpu access_profile ip source_ip_mask 20.0.0.0
destination_ip_mask 10.0.0.0 dscp icmp type profile_id 2
Command: create cpu access_profile ip source_ip_mask 20.0.0.0
destination_ip_mask 10.0.0.0 dscp icmp type profile_id 2
Success.
DES-1210-28/ME:5#
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