6-1  create access_profile 
Description 
This command is used to create access list rules. 
Support for field selections can have additional limitations that are project dependent.  
For example, for some hardware, it may be invalid to specify a class and source IPv6 address at 
the same time. The user will be prompted with these limitations. 
 
Format 
create access_profile profile_id <value 1-6> profile_name <name 1-32> [ethernet {vlan 
{<hex 0x0-0x0fff>} | source_mac <macmask 000000000000-ffffffffffff> | destination_mac 
<macmask 000000000000-ffffffffffff> | 802.1p | ethernet_type} | ip {vlan {<hex 0x0-0x0fff>} | 
source_ip_mask <netmask> | destination_ip_mask <netmask> | dscp | [icmp {type | code } | 
igmp {type} | tcp {src_port_mask <hex 0x0-0xffff> | dst_port_mask <hex 0x0-0xffff> | 
flag_mask [all | {urg | ack | psh | rst | syn | fin}]} | udp {src_port_mask <hex 0x0-0xffff> | 
dst_port_mask <hex 0x0-0xffff>} | protocol_id_mask <hex 0x0-0xff> {user_define_mask 
<hex 0x0-0xffffffff>}]} | packet_content_mask {offset_chunk_1 <value 0-31> <hex 0x0-
0xffffffff> | offset_chunk_2 <value 0-31> <hex 0x0-0xffffffff> | offset_chunk_3 <value 0-31> 
<hex 0x0-0xffffffff> | offset_chunk_4 <value 0-31> <hex 0x0-0xffffffff>} | ipv6 {class | 
flowlabel | source_ipv6_mask <ipv6mask> | destination_ipv6_mask <ipv6mask> | [tcp 
{ src_port_mask <hex 0x0-0xffff> | dst_port_mask <hex 0x0-0xffff>} | udp {src_port_mask 
<hex 0x0-0xffff> | dst_port_mask <hex 0x0-0xffff> } | icmp { type | code}]}] 
 
Option 1: 
packet_content_mask {offset_chunk_1 <value 0-31> <hex 0x0-0xffffffff> | offset_chunk_2 
<value 0-31> <hex 0x0-0xffffffff> | offset_chunk_3 <value 0-31> <hex 0x0-0xffffffff> | 
offset_chunk_4 <value 0-31> <hex 0x0-0xffffffff>} 
 
Parameters