# ASN Service Profile Configuration Mode Commands

Use the ASN Service Profile Configuration Mode to create and manage the service profiles table for the ASN-GW service subscribers within the current context.

IMPORTANT:

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

Specifies which classifier to match for traffic flow in the downlink direction for subscribers in this service.
Platform:

ASR 5000
Product:

ASN-GW
Privilege:

Administrator
Syntax

    [ no ] downlink-classifier
    class-map < class_map_name > [id < 0-65535 >] [priority < 0-255 >] [action { permit | deny } ]

no

Deletes the configured class map for this traffic flow in the ASN-GW service.
class-map class_map_name

Associates an existing Class-Map in the destination context to this traffic flow.

For example:

- For downlink-classifier class-map c4, an id of 1 is generated or assigned.
- For downlink-classifier class-map c5, an id of 2 is generated or assigned.
- For downlink-classifier class-map c6, an id of 3 is generated or assigned.

Refer to the Class-Map Configuration Mode Commands chapter for additional information on configuring the class maps.

id < 0-65535 >

Assure that id is unique in an asn-service-profile. If you do not configure the classier id, the sorted classifier name order is assigned as id.

priority < 0-255 >

Default: 0

0 = minimum, 255 = maximum
Usage:

Use this command to configure classifier for downlink traffic with a configured Class-Map for the ASN-GW service subscribers.

You can configure a maximum of four class-maps in one ASN-GW service profile.

Access Class-Map Configuration Mode through the Context Configuration Mode.
Example:
The following command applies the Class-Map class_1 to this traffic:

    downlink-classifier
    class-map class_1

downlink-qos-id

Specifies the QoS table identifier to traffic flowing in the downlink direction for subscribers in this service.
Platform:

ASR 5000
Product:

ASN-GW
Privilege:

Administrator
Syntax

    downlink-qos-id  < qos_table_id >[ no ] downlink-qos-id

no

Deletes the configured class map for this traffic flow in the ASN-GW service.
qos_table_id

Associates an existing ASN QoS descriptor identifier in the source context to this traffic flow.

Refer to the ASN QoS Descriptor Configuration Mode Commands chapter of this reference for additional information on configuring QoS descriptor table identifiers.
Usage:

Use this command to apply a QoS identifier for downlink traffic with a configured ASN QoS descriptor table identifier for the ASN-GW service subscribers.

Configure only one QoS identifier per ASN-GW service profile.

Access ASN QoS Descriptor Configuration Mode through Context Configuration Mode.
Example:
The following command applies the QoS table identifier 123 to this traffic:

    downlink-qos-id 123

end

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

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.
uplink-classifier

Specifies which classifier to match for traffic flow in the uplink direction for subscribers in this service.
Platform:

ASR 5000
Product:

ASN-GW
Privilege:

Administrator
Syntax

    [ no ] uplink-classifier
    class-map < class_map_name > [ id < 0-65535 > ] [ priority  < 0-255 > ] [ action { permit | deny } ]

no

Deletes the configured class map for this traffic flow in the ASN-GW service.

class-map class_map_name

Specifiesan existing Class-Map in the destination context to this traffic flow. For example:

- For uplink-classifier class-map c1, an id of 1 is generated or assigned.
- For uplink-classifier class-map c2, an id of 2 is generated or assigned.
- For uplink-classifier class-map c3, an id of 3 is generated or assigned.

Refer to the Class-Map Configuration Mode Commands chapter for additional information on configuring class maps.

id < 0-65535 >

Assure that id is unique in an asn-service-profile. If you do not configure the classier id, the sorted classifier name order is assigned as id.

priority < 0-255 >

Default: 0

0 = minimum, 255 = maximum
Usage:

Use this command to configure classifier for uplink traffic with a configured Class-Map for the ASN-GW service subscribers.

Configure a maximum of 4 class-maps per ASN-GW service profile.

Access Class-Map Configuration Mode through Context Configuration Mode.
Example:
The following command applies the Class-Map class_1 to this traffic:

    uplink-classifier class-map class_1

uplink-qos-id

Specifies the QoS table identifier to the traffic flow in the uplink direction for subscribers in this service.
Platform:

ASR 5000
Product:

ASN-GW
Privilege:

Administrator
Syntax

    uplink-qos-id qos_table_id[ no ] uplink-qos-id

no

Deletes the configured class map for this traffic flow in the ASN-GW service.
uplink_qos_id

Associates an existing ASN QoS Descriptor Identifier in the source context to this traffic flow.

Refer to the ASN QoS Descriptor Configuration Mode Commands chapter for additional information on configuring the QoS descriptor table identifier.
Usage:

Use this command to apply a QoS identifier for uplink traffic with a configured ASN QoS Descriptor Table Identifier for the ASN-GW service subscribers.

Configure only one QoS identifier per ASN-GW service profile.

Access ASN QoS Descriptor Configuration Mode through Context Configuration Mode.
Example:
The following command applies the QoS table identifier 123 to this traffic:

    uplink-qos-id 123