Use the following configuration to configure Content Filtering Range, Trigger Action, Trigger Condition, edns static prefix,
edns fields and edns tags under the active changing service.
configure
active-charging-service service_name
[default] content-filtering range range
trigger-condition trigger_condition_name
app-proto = dns
external-content-filtering
end
NOTES:
-
app-proto = dns
: Avoids the IP readdressing of the non-DNS traffic. If this CLI is enabled with multiline-or cli, then all DNS traffic will
be EDNS encoded.
-
external-content-filtering
: Enables EDNS0 feature.When this flag is true along with the range criteria, EDNS0 feature is enabled. By default, this flag
is disabled.
-
content-filtering
range : Enter start number and end number for the cf-policy-id. range_values can be integers. For example, 1-4294967295.
-
If range parameter is set to 1-1000, any subscriber with a content filtering policy ID greater than or equal to 1 and lower
than or equal to 1000 should use the standard content filtering functionality. And any subscriber profile with a content filter
policy ID outside the range of 1-1000 can trigger the new EDNS0 functionality.
-
default
: By default, the content-filtering range is 1 to 4294967295. Any value in CF-Policy-ID AVP is considered for CF. It will
not be shown by default and will be shown in verbose config. To restore default functionality, use the cli default content-filtering range
If the content filter policy ID for any Subscriber profile is outside the range of 1 to 1000, use the following CF policy
id range CLI commands to enable the new EDNS0 functionality.
configure
active-charging-service service_name
content-filtering
category
range
content-filitering range range_start_number to range_end_number
content-filtering range 1 to 1000
[ default ] content-filtering
[ no ] content-filtering
end
NOTES:
-
range : Specifies policy-id range for content filtering feature.
-
content-filitering range
: Enter the starting number and ending number for the cf-policy-id range. range_start_number to range_end_number can be integers. For example, 1-4294967295.
-
no content-filitering range : When chassi comes up, the no content-filitering range CLI is displayed in verbose.
-
default content-filitering range If you configure a default content filtering range, then range configured should be between 1 to 4294967295. In this scenario
CF-Policy-ID value that comes up in Gx event is considered for Content Filtering. You can view this range in both verbose
and non- verbose mode.
-
If you change either the minimum or maximum value, any value outside this range is for EDNS. To restore default functionality,
the default content-filtering range CLI.
The following configuration leads the trigger action to define the EDNS format to be inserted in the EDNS packet. The following
CLI also associates the security profile with the EDNS format as part of the trigger action:
configure
active-charging-service service_name
trigger-action trigger_action_name
edns-format format_name [ security-profile ] profile_name
flow action readdress server-list server_list_name [ hierarchy ] [ round-robin ][ discard-on-failure ]
end
NOTES:
-
trigger-action
trigger_action_name : To use EDNS with IP readdressing configure the flow action CLIs in the trigger action.
-
edns-format
format_name : Use the EDNS format when EDNS is applied.
-
security-profile
profile_name : Defines the security profile configuration in the EDNS to add mapping with the Device-id.
-
flow action readdress server-list
server_list_name
[ hierarchy] [ round-robin][discard-on-failure] : Use IP readdressing to readdress the packets to the configured server Ips. This CLI in trigger action supports only server
list configuration. It does not support single server IP or port configuration like charging action.
In the ACS You can configure the trigger condition and trigger action under service-scheme:
configure
active-charging-service service_name
service-scheme service-scheme_name
trigger flow-create
priority number trigger-condition value trigger-action value
end
NOTES: For readdressing, port configuration in server list is not mandatory. In case only readdressed server IP is configured under
server-list, destination port from incoming packet is used for readdressing.
Use the following configuration to insert the CF policy ID in the EDNS:
configure
active-charging-service service_name
edns
security-profile security_profile cf-policy-id-static-prefix static_prefix_value
fields fields_name
[ default ] tag number cf-policy-id payload-length ( tcp | udp )
end
NOTES:
-
security-profile : Security profile is used to configure the 32 MS bit static value.
-
cf-policy-id-static-prefix
static_prefix_value : Enter the integer value.
The 32 bit static ID is used as MSB bytes in 64 bit device ID. If security-profile static prefix does not have any cf-policy-id-prefix defined, then device-id is encoded with only 32 bit cf-policy-id.
-
payload-length ( tcp | udp ) : Specifies the RR UDP or TCP Payload-length value. You can enter the value ranging from 512 to 4096.
-
tcp : Specifies the RR UDP-Payload-Length value for TCP.
-
udp : Specifies RR UDP-Payload-Length value for UDP.
Note |
If the optional udp or tcp CLI payload-length field is not configured, a default value of 1280 is added into the EDNS Additional RR CLASS/UDP Payload size field.
|
-
default
tag
number
cf-policy-id : Resets the UDP or TCP payload-length field to an unconfigured default value of 1280.
Note |
If you enter a default tag number on a tag number that is not configured, the following error message is displayed:
|
Failure: Cannot reset the payload-length value as no such tag value
configured with cf-policy-id in edns field.