Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Tagged Attributes in SIC Service Templates (SRC CLI)

    The examples in the following procedures use the following:

    • sic group=g1
    • device template=dt1
    • service template=st1
    • mode=activation
    • attribute identifier-attr1
    • attribute=Unisphere-Service-Timeout

    Creating a Tagged Attribute Group in the SIC Service Template (SRC CLI)

    Use the following statements to create a tagged attribute group in the SIC service template:

    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group {}

    To create a tagged attribute group in the SIC service template:

    • From configuration mode, access the statement that configures the tagged attribute group in the service template.
      [edit]user@host# edit shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group

      Attributes defined within tagged attributes will be tagged when included in the renderer result if this attribute supports tagging.

    Configuring Normal Attributes in a Tagged Attribute Group (SRC CLI)

    With normal attributes, if the renderer finds the attribute in the downstream AAA server response, it copies the value into the RADIUS message for the router. Otherwise, no action occurs. Unlike required attributes, the rendering does not fail in this case.

    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group attribute id
    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group attribute id normal {name name;copy-from copy-from;}

    To configure normal attributes in the tagged attribute group:

    1. (Optional) From configuration mode, access the statement that configures normal attributes in the tagged attribute group and specify an identifier for the attribute. For example, to create an identifier named attr1:
      [edit]user@host# edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1
    2. (Optional) Specify the attribute as a normal attribute.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1]user@host# edit normal
    3. Specify the name of the attribute. For example, to specify the attribute Unisphere-Service-Timeout:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 normal]user@host# set name Unisphere-Service-Timeout
    4. (Optional) Specify the attribute to copy the value from. For example, to copy the value from the Session-Timeout attribute contained in the downstream AAA server response, and place it in the Unisphere-Service-Timeout attribute:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 normal]user@host# set copy-from Session-Timeout
    5. Verify the configuration.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 normal]user@host# show
      copy-from Session-Timeout;
      name Unisphere-Service-Timeout;
      
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 normal]
      user@host#
      

    Configuring Default Attributes in a Tagged Attribute Group (SRC CLI)

    With default attributes, if the renderer finds the attribute in the downstream AAA server response, it copies the value into the RADIUS message. Otherwise, it creates the attribute name with the specified value.

    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group attribute id
    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group attribute id default {name name;value value;copy-from copy-from;}

    To configure default attributes in the tagged attribute group:

    1. (Optional) From configuration mode, access the statement that configures default attributes in the tagged attribute group and specify an identifier for the attribute. For example, to create an identifier named attr1:
      [edit]user@host# edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1
    2. (Optional) Specify the attribute as a default attribute.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1]user@host# edit default
    3. Specify the name of the attribute. For example, to specify the attribute Unisphere-Service-Timeout:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 default]user@host# set name Unisphere-Service-Timeout
    4. Specify the value of the attribute. For example, to specify a value of 5:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 default]user@host# set value 5
    5. (Optional) Specify the attribute to copy the value from. For example, to copy the value from the Session-Timeout attribute contained in the downstream AAA server response, and place it in the Unisphere-Service-Timeout attribute:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 default]user@host# set copy-from Session-Timeout
    6. Verify the configuration.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 default]user@host# show
      copy-from Session-Timeout;
      name Unisphere-Service-Timeout;
      value 5;
      
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 default]
      user@host#
      

    Configuring Required Attributes in a Tagged Attribute Group (SRC CLI)

    With required attributes; if the renderer finds the attribute in the downstream AAA server response, it copies the value into the RADIUS message for the router. otherwise, the renderer fails.

    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group attribute id
    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group attribute id required {name name;copy-from copy-from;}

    To configure required attributes in the tagged attribute group:

    1. (Optional) From configuration mode, access the statement that configures required attributes in the tagged attribute group and specify an identifier for the attribute. For example, to create an identifier named attr1:
      [edit]user@host# edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1
    2. (Optional) Specify the attribute as a required attribute.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1]user@host# edit required
    3. Specify the name of the attribute. For example, to specify the attribute Unisphere-Service-Timeout:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 required]user@host# set name Unisphere-Service-Timeout
    4. Specify the attribute to copy the value from. For example, to copy the value from the Session-Timeout attribute contained in the downstream AAA server response, and place it in the Unisphere-Service-Timeout attribute:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 required]user@host# set copy-from Session-Timeout
    5. Verify the configuration.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 required]user@host# show
      copy-from Session-Timeout;
      name Unisphere-Service-Timeout;
      
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 required]
      user@host#
      

    Configuring Override Attributes in a Tagged Attribute Group (SRC CLI)

    With override attributes, whether or not the renderer finds the attribute in the downstream AAA server response, it creates the attribute name with the specified value.

    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group attribute id
    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group attribute id override {name name;value value;}

    To configure override attributes in the tagged attribute group:

    1. (Optional) From configuration mode, access the statement that configures override attributes in the tagged attribute group and specify an identifier for the attribute. For example, to create an identifier named attr1:
      [edit]user@host# edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1
    2. (Optional) Specify the attribute as an override attribute.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1]user@host# edit override
    3. Specify the name of the attribute. For example, to specify the attribute Unisphere-Service-Timeout:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 override]user@host# set name Unisphere-Service-Timeout
    4. Specify the value of the attribute. For example, to specify a value of 5:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 override]user@host# set value 5
    5. Verify the configuration.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 override]user@host# show
      name Unisphere-Service-Timeout;
      value 5;
      
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 override]
      user@host#
      

    Configuring Parameterized Attributes in a Tagged Attribute Group (SRC CLI)

    Parameterized attributes is the most powerful and flexible part of the template. It generates attribute values using a format specification, which makes it the most flexible of the attributes.

    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group name attribute id
    shared sic group identifier device-template id service-template name mode (activation | deactivation | initial-authorization | service-correlation-id | service-profile-download) attributes tagged-group name attribute id parameterized {format format;name name;}

    To configure parameterized attributes in the tagged attribute group:

    1. (Optional) From configuration mode, access the statement that configures parameterized attributes in the tagged attribute group and specify an identifier for the attribute. For example, to create an identifier named attr1:
      [edit]user@host# edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1
    2. (Optional) Specify the attribute as a normal attribute.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1]user@host# edit parameterized
    3. Specify the name of the attribute. For example, to specify the attribute Unisphere-Service-Timeout:
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 parameterized]user@host# set name Unisphere-Service-Timeout
    4. Specify the format of the parameterized attribute.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 parameterized]user@host# set format format
    5. Verify the configuration.
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 parameterized]user@host# show
      name Unisphere-Service-Timeout;
      
      [edit shared sic group g1 device-template dt1 service-template st1 mode activation attributes tagged-group attribute attr1 parameterized]
      user@host#
      

    Modified: 2014-06-11