DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
485
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 IPv4
mask.
•
destination_ip_mask <netmask>
– Specifies the destination
IPv4 mask.
dscp
– Specifies that the Switch examines the DiffServ Code Point
(DSCP) field in each frame’s header.
ipv6
- Specifies that the Switch examines the IPv6 fields in each
packet with special emphasis on one or more of the following:
•
class –
Examine the class field of the IPv6 header.
•
source_ipv6_mask <ipv6mask>
– Specifies the source IPv6
mask.
•
destination_ipv6_mask < ipv6mask >
– Specifies the
destination IPv6 mask.
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:
DGS-1210-28MP/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.
DGS-1210-28MP/ME:5#