# CSCF Policy Rules Configuration Mode Commands

The CSCF Policy Rules Configuration Mode is used to manage CSCF AoR and service policy profiles within the system.

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
allow-noauth

Configures the policy to allow unauthenticated access. Default is disabled.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    [ default | no ] allow-noauth

default | no

Disables the allow-noauth functionality for this policy.
Usage:

Use this command to allow access to subscribers without authenticating them.
allow-unsecure

Configures the policy to allow access to the system without a security association. Default is disabled.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    [ default | no ] allow-unsecure

default | no

Disables the allow-unsecure functionality for this policy.
Usage:

Use this command to enable the policy to provide subscriber access to system without a security association.
authorization

Configures the policy to allow early bandwidth authorization. Default is disabled.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    [ default | no ] authorization early-bandwidth

early-bandwidth

Enables early bandwidth policy.
default | no

Disables the early bandwidth authorization functionality for this policy.
Usage:

Use this command to enable the policy to provide early bandwidth authorization.
end

Exits the current mode and returns to the Exec Mode.
Product:

All
Privilege:

Administrator
Syntax

    end

Usage:

Change the mode back to the Exec mode.
enforce-codec-policy

Enters the Enforce Codec Policy Command Mode where allowed static and dynamic codec lists are managed.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    [ default | no ] enforce-codec-policy

default | no

Disables the codec policy.
Usage:

Use this command to enter the Enforce Codec Policy Configuration Mode.
Entering this command results in the following prompt:

    [context_name]hostname(config-policy-enforce-codec)#

CSCF Enforce Codec Policy Mode commands are defined in the Enforce Codec Policy Configuration Mode Commands chapter in this guide.
exit

Exits the current mode and returns to the previous mode.
Product:

All
Privilege:

Administrator
Syntax

    exit

Usage:

Return to the previous mode.
max-cscf-concurrent-sessions

Configures the maximum number of concurrent sessions allowed per subscriber.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    max-cscf-concurrent-sessions numberdefault max-cscf-concurrent-sessions

number

Default: 5

Specifies the number of concurrent sessions allowed per subscriber for this policy. number must be an integer from 1 to 100.
default

Resets defaults for this command.
Usage:

Use this command to set the maximum number of allowed sessions per subscriber for this policy.

If enabled, the subscriber-policy-override command in the CSCF Service Configuration Mode overrides the service-level policy.
Example:

The following command sets the maximum number of concurrent sessions for a subscriber using this policy to 7:

    max-cscf-concurrent-sessions 7

policy

Configures the overload response for this policy. When the P-CSCF/A-BG becomes congested, this overload policy is used to reject subsequent sessions or redirect them to another server.
Platform:

ASR 5000
Product:

SCM (P-CSCF, A-BG)
Privilege:

Administrator
Syntax

    policy overload { redirect address1 [ weight weight1 ]  [ address2 [ weight weight2 ] ] ...
     | reject [ use-reject-code { admin-prohibited | insufficient-resources } ] }default policy overloadno policy overload redirect address1
    [
    address2
    ] ...

redirect address1 [ weight weight1 ] [ address2 [ weight weight2 ] ] ...

Specifies that upon policy overload, the system will redirect the session to another CSCF.

address1 must be expressed in dotted decimal notation for IPv4 or colon notation for IPv6.

weight weight1: Defines the priority of the redirect address.

weight1 must be an integer from 1 to 10. Default is 1.
reject [ use-reject-code { admin-prohibited | insufficient-resources } ]

Specifies that upon policy overload, the system will reject the session. This is the default setting.
use-reject-code: Specifies that a reject code will be returned upon policy overload.

- admin-prohibited: Specifies that the “admin-prohibited” reject code will be returned upon policy overload.
- insufficient-resources: Specifies that the “insufficient resources” reject code will be returned upon policy overload. This is the default reject code.

default policy overload

Resets defaults for this command.
no policy overload redirect address1 [ address2 ] ...

Removes configured policy overload redirect address(es).
Usage:

Use this command to define the response to an overload condition on the P-CSCF/A-BG using this AoR policy.
Example:
The following command configures the policy overload response to redirect to a series of CSCFs with IP address of 1.2.3.4, 1.2.3.5, and 1.2.3.6 with respective priorities (weights) of 1, 3, and 2:

    policy overload redirect
    1.2.3.4 weight 1 1.2.3.5 weight 3 1.2.3.6 weight 2

qos

Configures QoS bandwidth settings for uplink and downlink.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    qos bandwidth { downlink| uplink } [ peak value ]

bandwidth { downlink| uplink }

downlink: Configures the downlink bandwidth.

uplink: Configures the uplink bandwidth.
peak value

Peak value of bandwidth in kilobits per second (kbit/s).

value must be an integer from 1 to 99999999.
Usage:

The P-CSCF/A-BG fills the required bandwidth for downlink and uplink from the Session Description Protocol (SDP) in the message when communicating with an external policy server via Rx/Tx/Gq. Use this command to configure the peak uplink and downlink bandwidth to be used when the SDP does not contain bandwidth.
Example:
Set the peak uplink bandwidth to 256 kbit/s:

    qos bandwidth uplink
    peak 256

video-sessions

Configures the policy to allow video bearers. Default is disabled.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    [ default | no ] video-sessions

default | no

Disables the “allow video sessions” feature.
Usage:

Use this command to allow video session via this policy.