Administrator Guide

set as-path prepend 1 2 3 4 5
continue 30!
Configuring a UDF ACL
To configure a User Defined Field (UDF) ACL:
1. Enable the UDF ACL feature on a switch.
CONFIGURATION mode
feature udf-acl
Dell(conf)#feature udf-acl
2. Change the default CAM allocation or reconfigure new CAM allocation settings and enable IPV4 UDF.
CONFIGURATION mode
cam-acl {default | l2acl number ipv4acl number ipv6acl number ipv4qos number l2qos number
l2pt number ipmacacl number [vman-qos | vman-dual-qos number] ecfmacl number [nlbclusteracl
number] ipv4pbr number }openflow number | fcoe number} [ipv4udfenable] [iscsioptacl number]
[vrfv4acl number]
Dell(conf)#cam-acl l2acl 1 ipv4acl 8 ipv6acl 2 ipv4qos 0 l2qos 2 l2pt 0 ipmacacl 0 vman-
qos 0 ecfmacl 0 ipv4udfenable
3. View the currently configured CAM allocation.
EXEC mode
EXEC Privilege mode
show cam-acl
4. Create a UDF packet format in the UDF TCAM table.
CONFIGURATION mode
udf-tcam name seq number
Dell(conf)#udf-tcam ipnip seq 1
5. Configure a UDF ID to parse packet headers using the specified number of offset and required bytes.
CONFIGURATION-UDF TCAM mode
key description udf-id id packetbase PacketBase offset bytes length bytes
Dell(conf-udf-tcam)#key innerL3header udf-id 6 packetbase innerL3Header offset 0 length 2
6. View the UDF TCAM configuration.
CONFIGURATION-UDF TCAM mode
show config
Dell(conf-udf-tcam)#show config
!
udf-tcam ipnip seq 1
key innerL3header udf-id 6 packetbase innerL3Header offset 0 length 2
Dell(conf-udf-tcam)#
7. Configure the match criteria for the packet type in which UDF offset bytes are parsed.
CONFIGURATION-UDF TCAM mode
match l2ethertype ipv4 ipprotocol value vlantag tagStatus
Dell(conf-udf-tcam)#match l2ethertype ipv4 ipprotocol 4 vlantag any
8. View the UDF TCAM configuration.
CONFIGURATION-UDF TCAM mode
show config
Dell(conf-udf-tcam)#show config
!
Access Control Lists (ACLs)
129