match uda

In a route-map stanza, matches conditions specified in a user-defined ACL (UDA).

Syntax

match uda acl-name
no match uda acl-name

Parameters

acl-name
Specifies a UDA ACL name unique among all ACLs (Layer 2, Layer 3, and UDA). The name can from 1 through 63 characters in length and must begin with an alphanumeric character. No special characters are allowed, except for the underscore and hyphen.

Modes

Route-map configuration mode

Usage Guidelines

This command is supported only in NPB system mode.

An NPB route-map stanza can contain only one match ip address acl or match uda statement.

The absence of a match statement is treated as "match any"; all traffic is forwarded according to the set statement.

Use the no form of this command to remove the match.

Examples

The following example creates a UDA ACL that permits traffic from a specific source IP and then includes that ACL in a route-map stanza.

device# configure terminal
device(config)# uda access-list uda_01
device(conf-udaacl-ext)# permit 0x00001111 0x0000ffff 0x00002222 0x0000ffff 0x00003333 0x0000ffff 0x00004444 0x0000ffff count
device(conf-udaacl-ext)# exit
device(config)# route-map rm_UDA_01 permit 1
device(config-route-map-rm_UDA_01/permit/1)# match uda uda_01
device(config-route-map-rm_UDA_01/permit/1)# set interface ethernet 1/5
device(config-route-map-rm_UDA_01/permit/1)# set interface ethernet 1/6
device(config-route-map-rm_UDA_01/permit/1)# set uda interface null0