> Local Policy Ruledef Configuration Mode Commands
> The Local Policy Ruledef Configuration Mode is used to configure the rule definitions to be used for local QoS policies.
> Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
> condition
> This command is used to configure the conditions which trigger the ruledef event.
> Product
> P-GW
> Privilege
> Security Administrator, Administrator
> Syntax
> condition priority priority { variable { eq | ge | gt | le | lt | match | ne | nomatch } regex | string_value | int_value | set }
> no condition priority priority
> priority
> Specifies a priority for the specified condition.
> priority must be unique and an integer from 1 to 2048.
> variable
> The following variables are supported:

> • | apn

> The APN associated with the current session.
> A string from 1 to 63 alpha and/or numeric characters.

> • | arp

> The APN associated with the current session.
> An integer from 1 to 15.

> • | bandwidth

> Total bandwidth associated with the QCI and ARP value associated with the request.
> An integer from 0 to 1000000000.

> • | date

> Date value to match.
> <Clock in format YYYY:MM:DD>

> • | day-of-month

> The day of the month to match the rule to.
> An integer from 1 to 31.

> • | day-of-week

> Sunday...Saturday
> An integer from 1 to 7.

> • | imeisv

> IMEISV of the user equipment.
> A string from 1 to 63 alpha and/or numeric characters.

> • | imsi

> IMSI associated with the subscriber.
> A string from 1 to 63 alpha and/or numeric characters.

> • | meid

> MEID associated with the subscriber.
> A string from 1 to 63 alpha and/or numeric characters.

> • | month-of-year

> Jan, Feb….Dec
> An integer from 1 to 12.

> • | msisdn

> MSISDN associated with the session.
> A string from 1 to 63 alpha and/or numeric characters.

> • | nai

> NAI associated with the session.
> A string from 1 to 63 alpha and/or numeric characters.

> • | pdn-count

> Number of PDNs associated with the same APN.
> An integer from 0 to 1000000000.

> • | qci

> QCI associated with the current event.
> An integer from 1 to 254.

> • | radio-access-technology

> Radio access technology associated with the subscriber:

> • | cdma-1xrtt: CDMA 1X RTT radio access technology

> • | cdma-evdo: CDMA-EVDO radio access technology

> • | cdma-evdo-reva: CDMA EVDO REVA radio access technology

> • | cdma-other: Other CDMA radio access technologies

> • | ehrpd: EHRPD radio access technology

> • | eutran: EUTRAN radio access technology

> • | gan: GAN radio access technology

> • | gprs-geran: GPRS GERAN radio access technology

> • | gprs-other: Other GPRS radio access technology

> • | hspa: HSPA radio access technology

> • | unknown: Unknown radio access technology

> • | wcdma-utran: WCDMA UTRAN radio access technology

> • | wimax: WiMax radio access technology

> • | wireless-lan: Wireless LAN radio access technology

> • | serving-node-address

> IP address associated with the current node serving the subscriber.
> IPv4 or IPv6 IP address.

> • | serving-plmn

> PLMN associated with the current node serving the subscriber.
> A string from 1 to 63 alpha and/or numeric characters.

> • | time-of-day

> Time associated with the change.
> <Clock in format HH:mm:ss or HH:mm >
> eq | ge | gt | le | lt | match | ne | nomatch
> eq: Operation equal to
> ge: Operation greater than or equal to
> gt: Operation greater than
> le: Operation less than or equal to
> lt: Operation less than
> match: Operation match
> ne: Operation not equal to
> nomatch: Operation nomatch
> no condition priority priority
> Deletes the specified condition.
> Usage
> Use this command to configure the conditions which trigger the ruledef event. A ruledef represents a set of matching conditions.
> This command can be entered multiple times to configure multiple conditions for a ruledef. The conditions are examined in priority order until a match is found and the corresponding condition is applied.
> Example
> The following command creates a condition with priority set to 5 and configured match apn myapn*:
> condition priority 5 apn match myapn*
> end
> Exits the current configuration mode and returns to the Exec mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> end
> Usage
> Use this command to return to the Exec mode.
> exit
> Exits the current mode and returns to the parent configuration mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> exit
> Usage
> Use this command to return to the parent configuration mode.

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883