Configuring the Test Environment for IMS Services (SRC CLI)
Configuring the settings for your test environment is optional. You can choose to configure the test settings and specify changes to the test settings.
Configuring Settings for AAR Messages (SRC CLI)
Use the following command to configure the AA-Request (AAR) test message:
- slot number ims aracf-rq
test templates aar name {
- origin-host origin-host;
- origin-realm origin-realm;
- af-charging-identifier af-charging-identifier;
- authorization-lifetime authorization-lifetime;
- user-name user-name;
- specific-action (indication-of-bearer-release | indication-of-subscriber-detachment);
- }
To configure the AAR message for the test environment:
- From configuration mode, access the configuration
statement that configures the AAR message template with your settings.
- user@host# edit slot number ims aracf-rq test templates aar name
- Specify the Diameter identifier for the
endpoint that is the originator of the Diameter message.
- [edit slot number ims aracf-rq test templates aar name]
- user@host# set origin-host origin-host
- Specify the Diameter identifier for the
realm of the endpoint that is the originator of the Diameter message.
- [edit slot number ims aracf-rq test templates aar name]
- user@host# set origin-realm origin-realm
- (Optional) Specify the charging identifier
for the application function (AF).
- [edit slot number ims aracf-rq test templates aar name]
- user@host# set af-charging-identifier af-charging-identifier
- (Optional) Specify the timeout for the
authorization.
- [edit slot number ims aracf-rq test templates aar name]
- user@host# set authorization-lifetime authorization-lifetime
- (Optional) Specify the username.
- [edit slot number ims aracf-rq test templates aar name]
- user@host# set user-name user-name
- (Optional) Specify the events for which
notification is requested. If you do not configure this test setting,
you must specify a value when testing service activations.
- [edit slot number ims aracf-rq test templates aar name]
- user@host# set specific-action (indication-of-bearer-release | indication-of-subscriber-detachment)
where
- indication-of-bearer-release—Provides notification of a bearer’s removal
- indication-of-subscriber-detachment—Provides notification of the subscriber detachment
Configuring the Globally Unique Address (SRC CLI)
Use the following command to configure the globally unique address for the AAR test message:
- slot number ims aracf-rq
test templates aar name globally-unique-address
{
- framed-ip-address framed-ip-address;
- }
To configure the globally unique address for the test environment:
- From configuration mode, access the configuration
statement that configures the AAR message template with your settings.
- user@host# edit slot number ims aracf-rq test templates aar name globally-unique-address
- (Optional) Specify the IPv4 address or
the fully qualified domain name for the endpoint that is the originator
of the Diameter message. If you do not configure this test setting,
you must specify a value when testing service activations.
- [edit slot number ims aracf-rq test templates aar name globally-unique-address]
- user@host# set framed-ip-address framed-ip-address
Configuring Service Information for Media Types (SRC CLI)
Use the following command to configure the service information that is used to determine QoS requirements for the media type:
- slot number ims aracf-rq
test templates aar name media-component-description media-component-number {
- af-application-identifier af-application-identifier;
- media-type (audio | video | data | application | control
| text | message | other);
- max-requested-download-bandwidth max-requested-download-bandwidth;
- max-requested-upload-bandwidth max-requested-upload-bandwidth;
- flow-status (enabled | removed);
- }
To configure the media component for the test environment:
- From configuration mode, access the configuration
statement that configures the AAR message template with your settings.
Specify the appropriate media component number.
- user@host# edit slot number ims aracf-rq test templates aar name media-component-description media-component-number
- Specify the service name.
- [edit slot number ims aracf-rq test templates aar name media-component-description media-component-number]
- user@host# set af-application-identifier af-application-identifier
- (Optional) Specify the media type.
- [edit slot number ims aracf-rq test templates aar name media-component-description media-component-number]
- user@host# set media-type (audio | video | data | application | control | text | message | other)
- (Optional) Specify the maximum download
bandwidth requested.
- [edit slot number ims aracf-rq test templates aar name media-component-description media-component-number]
- user@host# set max-requested-download-bandwidth max-requested-download-bandwidth
- (Optional) Specify the maximum upload
bandwidth requested.
- [edit slot number ims aracf-rq test templates aar name media-component-description media-component-number]
- user@host# set max-requested-upload-bandwidth max-requested-upload-bandwidth
- (Optional) Specify the action taken for
the AAR.
- [edit slot number ims aracf-rq test templates aar name media-component-description media-component-number]
- user@host# set flow-status (enabled | removed)
where
- enabled—Commits resource reservation in both directions
- removed—Releases all resources associated with the corresponding resource reservation
Configuring IP Flows for Media Types (SRC CLI)
Use the following command to configure the QoS and filters for the IP flows:
- slot number ims aracf-rq
test templates aar name media-component-description media-component-number media-sub-component flow-number {
- flow-description [flow-description...];
- max-requested-download-bandwidth max-requested-download-bandwidth;
- max-requested-upload-bandwidth max-requested-upload-bandwidth;
- }
To configure the media subcomponent for the test environment:
- From configuration mode, access the configuration
statement that configures the AAR message template with your settings.
Specify the appropriate flow number. These configuration settings
override the media type settings.
- user@host# edit slot number ims aracf-rq test templates aar name media-component-description media-component-number media-sub-component flow-number
- Define the packet filter for the flow.
The flow description AVP contains the classifier (or filter) information.
- [edit slot number ims aracf-rq test templates aar name media-component-description media-component-number media-sub-component flow-number]
- user@host# set flow-description [flow-description...]
The syntax of this AVP has the following restrictions:
- Only permit action should be used as action.
- No options should be used.
A subcomponent may include up to two flow descriptions (uplink and downlink), including:
- Direction (in—uplink, or out—downlink)
- Source IP address
- Destination IP address
- Source port
- Destination port
- Protocol
- (Optional) Specify the maximum download
bandwidth requested.
- [edit slot number ims aracf-rq test templates aar name media-component-description media-component-number media-sub-component flow-number]
- user@host# set max-requested-download-bandwidth max-requested-download-bandwidth
- (Optional) Specify the maximum upload
bandwidth requested.
- [edit slot number ims aracf-rq test templates aar name media-component-description media-component-number media-sub-component flow-number]
- user@host# set max-requested-upload-bandwidth max-requested-upload-bandwidth
