DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
487
source_ip <ip_addr>
–Specifies that the cpu access profile applies
only to packets with this source IP address.
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
•
dst_port <value 0-65535>
–Specifies that the cpu access
profile applies only to packets that have this TCP destination
port in their header.
•
flag <string>
– Specifies the appropriate flag parameter.
•
src_port <value 0-65535>
–Specifies that the cpu access
profile applies only to packets that have this TCP source
port in their header.
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.
•
dst_port <value 0-65535>
– Specifies that the CPU access
profile applies only to packets that have this UDP
destination port in their header.
src_port <value 0-65535>
– Specifies that the CPU access profile
applies only to packets that have this UDP source port in their
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 <ipv6addr>
– Specifies the source IPv6
address.
•
destination_ipv6 < ipv6addr >
– Specifies the destination
IPv6 address.
Restrictions
Only administrator or operate-level users can issue this command.
Example usage:
To configure a rule for the CPU IP access profile:
DGS-1210-28MP/ME:5# config cpu access_profile profile_id 2 add access_id
auto_assignip destination_ip 10.48.100.2 ports 1-3 permit
Command: config cpu access_profile profile_id 2 add access_id auto_assign
ip destination_ip 10.48.100.2 ports 1-3 permit
Success.
DGS-1210-28MP/ME:5#
delete cpu_access_profile
Purpose
To delete a previously created cpu access profile.
Syntax
delete cpu_access_profile profile_id <value 1-3>
Description
The
delete cpu_access_profile
command deletes a previously
created access profile on the Switch.
Parameters
profile_id <value 1-3> –
Specifies the cpu access profile to be
deleted.
Restrictions
Only administrator or operate-level users can issue this command.