Cisco Cisco Packet Data Interworking Function (PDIF) Prospecto
ACS Charging Action Configuration Mode Commands
xheader-insert ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
425
xheader-insert
This command allows you to specify the extension-header (x-header) format whose fields have to be inserted in HTTP
GET and POST request packets.
GET and POST request packets.
Important:
This command is license dependent. For more information please contact your Cisco account
representative.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > ACS Configuration > Charging Action Configuration
active-charging service service_name > charging-action charging_action_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-charging-action)#
Syntax
xheader-insert xheader-format xheader_format_name [ encryption rc4md5 [ encrypted ] key
key ] [ first-request-only ] [ -noconfirm ]
key ] [ first-request-only ] [ -noconfirm ]
no xheader-insert
no
Removes previously configured x-header format name.
xheader-format xheader_format_name
Enables x-header mode configuration, and specifies the x-header format whose fields are to be inserted in the
packets.
packets.
xheader_format_name
must be the name of an x-header format, and must be an alphanumeric string of 1
through 63 characters.
encryption rc4md5 [ encrypted ] key key
If the x-header format has any encrypted fields defined, specifies to use RC4MD5 encryption.
After configuring this option, the fields in xheader format having “encrypt” enabled will be encrypted as
follows:
After configuring this option, the fields in xheader format having “encrypt” enabled will be encrypted as
follows:
1. The MD5 hash of the configure key will be calculated.
2. This MD5 hash will be used as a key for RC4 encryption.
3. This encrypted value will be base64 encoded to get the final X-header value. The final inserted X-
2. This MD5 hash will be used as a key for RC4 encryption.
3. This encrypted value will be base64 encoded to get the final X-header value. The final inserted X-
header will be X-alias: base64(RC4(MD5(key),MSISDN)).
In the default case, if encryption is not enabled as above, the plain text value of the xheader field will be
inserted.
inserted.