- IGMP Profile Configuration Mode Commands
- IKEv2 Security Association Configuration Mode Commands
- IMEI Profile Configuration Mode
- IMEI-TAC-Group Configuration Mode Commands
- IMS Authorization Service Configuration Mode Commands
- IMS Sh Service Configuration Mode Commands
- IPMS Client Configuration Mode Commands
- IPNE Endpoint Configuration Mode Commands
- IPNE Service Configuration Mode Commands
- IPSec Transform Set Configuration Mode Commands
- IPSG RADIUS Snoop Configuration Mode Commands
- IPSG RADIUS Server Configuration Mode Commands
- IPSP Configuration Mode Commands
- IPv6 ACL Configuration Mode Commands
- IPv6 to IPv4 Tunnel Interface Configuration Mode Commands
- IP VRF Context Configuration Mode Commands
- ISAKMP Configuration Mode Commands
- IuPS Service Configuration Mode Commands
- LAC Service Configuration Mode Commands
- Line Configuration Mode Commands
- Link Configuration Mode Commands
- Linkset Configuration Mode Commands
- LMA Service Configuration Mode Commands
- LNS Service Configuration Mode Commands
- Local Policy Actiondef Configuration Mode Commands
- Local Policy Eventbase Configuration Mode Commands
- Local Policy Ruledef Configuration Mode Commands
- Local Policy Service Configuration Mode Commands
- Location Service Configuration Mode Commands
- Logical eNode Configuration Mode Commands
- Loopback Interface Configuration Mode Commands
- LTE Custom TAI List Configuration Mode Commands
- LTE Emergency Profile Configuration Mode Commands
- LTE Forbidden Location Area Configuration Mode Commands
- LTE Forbidden Tracking Area Configuration Mode Commands
- LTE Foreign PLMN GUTI Management Database Configuration Mode Commands
- LTE HeNBGW MME Pool Configuration Mode Commands
- LTE Handover Restriction List Configuration Mode Commands
- LTE MME HeNB-GW Management Database Configuration Mode Commands
- LTE Network Global MME ID Management Database Configuration Mode Commands
- LTE Paging Map Configuration Mode Commands
- LTE Paging Profile Configuration Mode Commands
- LTE Peer Map Configuration Mode Commands
- LTE Policy Configuration Mode Commands
- LTE Subscriber Map Configuration Mode Commands
- LTE TAI Management Database Configuration Mode Commands
- LTE TAI Management Object Configuration Mode Commands
- MAG Service Configuration Mode Commands
- MAP Service Configuration Mode Commands
- MIP HA Assignment Table Configuration Mode Commands
- MPLS-LDP Configuration Mode Commands
- MIPv6 HA Service Configuration Mode Commands
- MME-eMBMS Service Configuration Mode Commands
- MME LAC Pool Area Configuration Mode Commands
- MME MSC Pool Area Configuration Mode
- MME SGs Service Configuration Mode Commands
- MME Service Configuration Mode Commands
- MPLS-IP Configuration Mode Commands
- MRME Service Configuration Mode Commands
- Network Service Entity- IP Local Configuration Mode Commands
- Network Service Entity - Peer NSEI Configuration Mode Commands
- Network Service Virtual Connection Configuration Mode Commands
- Network Service Virtual Link Configuration Mode Commands
- NTP Configuration Mode Commands
- NTSR Pool Configuration Mode Commands
- Operator Policy Configuration Mode
- ORBEM Configuration Mode Commands
- OSPF Configuration Mode Commands
- OSPFv3 Configuration Mode Commands
- OSPF VRF Configuration Mode Commands
- Out-Address Configuration Mode Commands
- P2P Advertisement Server Group Configuration Mode Commands
- PCC-Action-Set Configuration Mode Commands
- PCC-AF-Service Configuration Mode Commands
- PCC-Condition-Group Configuration Mode Commands
- PCC-Data-Service Configuration Mode Commands
- PCC-Event-Notification-Interface-Endpoint Configuration Mode Commands
- PCC-Policy-Service Configuration Mode Commands
- PCC-Service-Profile Configuration Mode Commands
- PCC-QoS-Profile Configuration Mode Commands
- PCC-Quota Service Configuration Mode Commands
- PCC-Sp-Endpoint Configuration Mode Commands
- PCC-Service Addon Configuration Mode Commands
- PCC-TimeDef Configuration Mode Commands
- PCP Configuration Mode Commands
- PCP Policy Control Configuration Mode Commands
- PDIF Service Configuration Mode Commands
- PDG Service Configuration Mode Commands
- PDSN Service Configuration Mode Commands
- PDSN Service RoHC Configuration Mode Commands
- Peer List Configuration Mode Commands
- Peer Profile Configuration Mode Commands
- Peer-Server Configuration Mode Commands
- P-GW Service Configuration Mode Commands
- Policy Control Configuration Mode Commands
- Plugin Configuration Mode Commands
- PVC Configuration Mode Commands
- PVC Interface Configuration Mode Commands
- QCI - QoS Mapping Configuration Mode Commands
- QCI - RAN ID Mapping Configuration Mode Commands
- QoS L2 Mapping Configuration Mode Commands
- QoS Profile Configuration Mode Commands
- Index
Local Policy Ruledef
Configuration Mode Commands
Mode
The Local Policy Ruledef Configuration Mode is used to configure the rule definitions to be used for local QoS policies.
Exec > Global Configuration > Local Policy Service Configuration > Local Policy Ruledef Configuration
configure > local-policy-service service_name > ruledef ruledef_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-local-policy-ruledef)#
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
SAEGW
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Local Policy Service Configuration > Local Policy Ruledef Configuration
configure > local-policy-service service_name > ruledef ruledef_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-local-policy-ruledef)#
Syntax
Syntax Description
condition priority priority { variable { eq | ge | gt | le | lt | match | ne | nomatch } regex | string_value | int_value | set } no condition priority 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:
-
3g-uli mcc mcc_num mnc mnc_num tac
Configures 3G-ULI parameter with values for MCC, MNC and LAC. Operator takes specific action or applies local-policy rule based on the 3G-ULI value in Change event notification from MME.
-
apn
The APN associated with the current session expressed as an alphanumeric string of 1 through 63 characters.
-
arp
The ARP value associated with the current session expressed as an integer from 1 through 15.
-
bandwidth
Total bandwidth associated with the QCI and ARP value associated with the request, expressed as an integer from 0 through 1000000000.
-
bsid
Base Station Identifier associated with the subscriber expressed as an alphanumeric string of 1 through 63 characters.
-
cause-code
Failure Cause Code associated with the subscriber expressed as an alphanumeric string of 1 through 63 characters.
-
date
Date value to match. <Clock in format YYYY:MM:DD>
-
day-of-month
The day of the month to match the rule to, expressed as an integer from 1 through 31.
-
day-of-week
Sunday...Saturday, expressed as an integer from 1 to 7.
-
final-unit-action { redirect | restrict-access | terminate } [ filter-id ] [ eq | ge | gt | le | lt | match | ne | nomatch ] filter-id
This variable allows configuring different filter IDs and different Final-Unit-Action (FUA) actions for the events like out-of-credit, etc. Based on the FUA and filter ID values, local policy engine will either install pre-configured redirection rules/pre-configured rule that might drop all packets, or push a different rule/policy.
When the FUA received from the session manager during out-of-credit scenario matches with the configured FUA, then one of the following actions will be taken. If multiple filter-ids are configured, then at least one filter-id should be matched.
- redirect: Redirects the service
- restrict-access : Restricts the service
- terminate: Terminates the service
filter-id: This variable denotes the name of the filter list for the user. filter-id is a string of 1 through 128 characters. Note that match, nomatch, ne, and eq are more appropriate operators though other values can also be used. Wild card values can be specified for string match.
Important: This feature of supporting FUA in local policy will be active only when Gx Assume Positive is active.
-
imeisv
IMEISV of the user equipment expressed as an alphanumeric string of 1 through 63 characters.
-
imsi
IMSI associated with the subscriber expressed as an alphanumeric string of 1 through 63 characters.
-
local-policy-mode [ fallback | dual-mode | lp-only ]
This variable allows selecting different actions for different modes like local-policy only, dual-mode, and fallback mode for the same event.
- fallback: This mode indicates that the action has to be taken only when the call is with local-policy because of failure-handling.
- dual-mode: This mode indicates that action has to be taken if the call is in dual-mode wherein both PCRF and local-policy co-exist.
- lp-only: This mode indicates that action has to be taken when only local-policy exists and PCRF does not.
-
meid
MEID associated with the subscriber expressed as an alphanumeric string of 1 through 63 characters.
-
month-of-year
Jan, Feb....Dec, expressed as an integer from 1 through 12.
-
msisdn
MSISDN associated with the session expressed as an alphanumeric string of 1 through 63 characters.
-
nai
NAI associated with the session expressed as an alphanumeric string of 1 through 63 characters.
-
pdn-type
Type of PDNs associated with the same APN. - IPV4: IPv4 PDN Type
- IPV4V6: IPv4v6 PDN Type
- IPV6: IPv6 PDN Type
-
qci
QCI associated with the current event expressed as an integer from 1 through 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 entered using IPv4 dotted-decimal or IPv6 colon-separated-hexadecimal notation.
-
serving-plmn
PLMN associated with the current node serving the subscriber expressed as an alphanumeric string of 1 through 63 characters.
-
tai mcc mcc_num mnc mnc_num tac
Configures Tracking Area Identification associated with the subscriber. Operator takes specific action or applies local-policy rule based on the TAI value in TAI-Change event notification from MME.
-
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 Guidelines
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.
Examples
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
Syntax Description
end
Usage Guidelines
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
Syntax Description
exit
Usage Guidelines
Use this command to return to the parent configuration mode.