DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
479
•
dst_port_mask <hex 0x0-0xffff> –
Specifies a TCP port
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-6> –
Specifies an index number between 1 and 6
that identifies the access profile being created with this command.
Restrictions
Only administrator or operate-level users can issue this command.
Example usage:
To create an Ethernet access profile:
DGS-1210-28MP/ME:5# create access_profile ethernet vlan 802.1p profile_id
1
Command: create access_profile ethernet vlan 802.1p profile_id 1
Success.
DGS-1210-28MP/ME:5#
To create an IPv6 access profile:
DGS-1210-28MP/ME:5#
create access_profile ipv6 source_ipv6_mask
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff profile_id 1
Command: create access_profile ipv6 source_ipv6_mask ffff:ffff:ffff:ffff:ffff:ff
ff:ffff:ffff profile_id 1
Success.
DGS-1210-28MP/ME:5#
config access_profile
Purpose
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
command, below.
Syntax
config access_profile profile_id [value <1-6>] [add access_id