attribute
This command allows you to specify the fields and their order in UDRs.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > ACS Configuration > UDR Format Configuration
active-charging service service_name > udr-format format_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-acs-udr)#
Syntax
attribute attribute { [ format { MM/DD/YY-HH:MM:SS | MM/DD/YYYY-HH:MM:SS | YYYY/MM/DD-HH:MM:SS | YYYYMMDDHHMMSS | seconds } [ localtime ] | [ { bytes | pkts } { downlink | uplink } ] ] priority priority }
no attribute attribute [ priority priority ]
no
If added previously, removes the specified attribute from the UDR format.
attribute attribute
Specifies the attribute.
attribute must be one of the following:
Attribute |
Description | ||
---|---|---|---|
diameter-session-id |
This attribute reports Diameter session identifier.
|
||
failure-handling-mode |
This attribute reports failure handling mode in case the Online Charging System (OCS) goes abnormal. |
||
nemo-prefix-list |
This attribute reports the VRF names associated with the base session of NEMO, and NEMO MR Prefixes.
|
||
num-nemo-prefix |
This attribute reports the number of NEMO MR Prefixes.
|
||
radius-called-station-id |
This attribute reports the Called Station ID of the mobile handling the flow. |
||
radius-calling-station-id |
This attribute reports the Calling Station ID of the mobile handling the flow. |
||
radius-fa-nas-identifier |
This attribute reports the RADIUS NAS identifier of Foreign Agent (FA). |
||
radius-fa-nas-ip-address |
This attribute reports the RADIUS IP address of Foreign Agent (FA). |
||
radius-nas-identifier |
This attribute reports the RADIUS NAS identifier. |
||
radius-nas-ip-address |
This attribute reports the RADIUS NAS IP address. Note that this attribute is interchangeable with sn-st16-ip-addr for the user. |
||
radius-user-name |
This attribute reports the user name associated with the flow. |
||
sn-3gpp2-bsid |
This option has been deprecated. To configure this attribute see the rule-variable command. |
||
sn-3gpp2-carrier-id |
This option has been deprecated. To configure this attribute see the rule-variable command. |
||
sn-3gpp2-esn |
This option has been deprecated. To configure this attribute see the rule-variable command. |
||
sn-3gpp2-meid |
This option has been deprecated. To configure this attribute see the rule-variable command. |
||
sn-3gpp2-service-option |
This option has been deprecated. To configure this attribute see the rule-variable command. |
||
sn-acct-beginning-session |
This attribute reports the Session Beginning information.
|
||
sn-acct-session-continue |
This attribute reports the Session Continue information.
|
||
sn-acct-session-id |
This attribute reports the Accounting Session identifier. |
||
sn-acct-session-time |
This attribute reports the duration from acct-status-type:start to acct-status-type:stop.
|
||
sn-acct-status-type |
This attribute reports the Accounting Status identifier.
|
||
sn-charging-type |
This attribute reports the charging type: offline or online.
|
||
sn-closure-reason |
This attribute reports the reason for termination of the flow/UDR:
|
||
sn-content-id |
This attribute reports the unique identifier for the content-id. |
||
sn-content-label |
This attribute reports the identifier for text label for content-id. |
||
sn-content-vol |
This attribute reports the identifier for content volume. |
||
sn-correlation-id |
This attribute reports the RADIUS correlation identifier. |
||
sn-duration |
This attribute reports the time difference between the first and last packet of a single data flow accounted in the UDR record. For example, the time difference between the first ICMP echo request and the last ICMP echo response before the record gets written for the content-id. |
||
sn-end-time [ format format ] |
This attribute reports the timestamp for last packet of flow in UTC. |
||
sn-fa-correlation-id |
This attribute reports the RADIUS Correlation Identifier of the Foreign Agent (FA). |
||
sn-fa-ip-address |
This attribute reports IP address of the FA. |
||
sn-filler-blank |
This attribute inserts a blank filler field, generates an empty UDR field. |
||
sn-filler-zero |
This attribute inserts a "0" in the UDR field. |
||
sn-format-name |
This attribute reports name of the UDR format used. |
||
sn-group-id |
This attribute reports the sequence group identifier for the records. |
||
sn-ha-ip-address |
This attribute reports IP address of the Home Agent (HA).
|
||
sn-local-seq-no |
This attribute reports unique local sequence number of UDR identifier per ACSMgr/SessMgr and linearly increasing in UDR file. |
||
sn-ocs-ip-address |
This attribute reports IP address of the Online Charging Server.
|
||
sn-rulebase |
This attribute reports name of the ACS rulebase used. |
||
sn-sequence-no |
This attribute reports unique sequence number (per sn-sequence-group and radius-nas-ip-address ) of UDR identifier and linearly increasing in UDR file. |
||
sn-served-bsa-addr |
This attribute reports address of Base Station Area being served. |
||
sn-service-name |
This attribute reports name of the ACS service. |
||
sn-st16-ip-addr |
This option has been deprecated. This attribute reports IP address of the chassis handling this flow. This attribute is interchangeable with radius-nas-ip-address for other systems. |
||
sn-start-time [ format format ] |
This attribute reports timestamp for first packet of flow in UTC. |
||
sn-stream-number |
This attribute reports unique UDR billing record identifier.
|
||
sn-subscriber-id |
This attribute reports subscriber ID. |
||
sn-subscriber-ipv4-address |
This attribute reports the IPv4 address of the subscriber. |
||
sn-subscriber-ipv6-address |
This attribute reports the IPv6 address of the subscriber. |
||
sn-subscriber-nat-flow-ip |
This attribute reports NAT IP address(es) of NAT-enabled subscriber. |
||
sn-timestamp |
This attribute reports timestamp when the UDR is actually generated.
|
||
sn-vrf-name |
This attribute indicates the VRF name associated with the base session of NEMO.
|
format { MM/DD/YY-HH:MM:SS | MM/DD/YYYY-HH:MM:SS | YYYY/MM/DD-HH:MM:SS | YYYYMMDDHHMMSS | seconds }
Specifies the timestamp format.
localtime
Specifies the local time. By default, timestamps are displayed in Coordinated Universal Time (UTC).
{ bytes | pkts } { downlink | uplink }
Specifies bytes/packets sent/received from/by mobile.
priority priority
Specifies the position priority of the field within the UDR. Lower numbered priorities (across all attribute, event-label, and rule-variable) occur first.
priority must be an integer from 1 through 65535. Up to 50 position priorities (across all attribute, event-label, and rule-variable) can be configured.
Usage Guidelines
Use this command to set the attributes and priority for UDR file format.
A particular field in UDR format can be entered multiple times at different priorities. While removing the UDR field using the no attribute command, you can either remove all occurrences of a particular field by specifying the field name or remove a single occurrence by additionally specifying the optional priority keyword.
Consider the following scenario. If the volume/time threshold interval is large enough (or disabled). At time t=0, 10 ICMP packets are sent, which takes 9 seconds. There is nothing for the next 100 seconds, and then again 10 ICMP packets are sent which takes 10 seconds, and then again nothing for next the 60 seconds and then the session is terminated.
In this scenario:
- sn-start-time should be t = 0.
- sn-end-time should be t = 0+9+100+10 (sn-end-time would be the last ICMP packet sent).
- sn-duration should be sn-end-time minus sn-start-time, i.e. 0+9+100+10 – 0 = 119 seconds (since the ICMP flow would exist between the two intervals of sending ICMP packets, the sn-start-time would be that of the first packet of the flow and sn-end-time of the last packet (20th packet). Hence, sn-duration would take into account all the seconds between the first and last packet of the flow).
Example
attribute radius-user-name priority 12