Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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:

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.

    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.

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:

  2. (Optional) Specify the attribute as a normal attribute.

  3. Specify the name of the attribute. For example, to specify the attribute 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:

  5. Verify the configuration.

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.

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:

  2. (Optional) Specify the attribute as a default attribute.

  3. Specify the name of the attribute. For example, to specify the attribute Unisphere-Service-Timeout:

  4. Specify the value of the attribute. For example, to specify a value of 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:

  6. Verify the configuration.

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.

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:

  2. (Optional) Specify the attribute as a required attribute.

  3. Specify the name of the attribute. For example, to specify the attribute 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:

  5. Verify the configuration.

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.

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:

  2. (Optional) Specify the attribute as an override attribute.

  3. Specify the name of the attribute. For example, to specify the attribute Unisphere-Service-Timeout:

  4. Specify the value of the attribute. For example, to specify a value of 5:

  5. Verify the configuration.

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.

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:

  2. (Optional) Specify the attribute as a normal attribute.

  3. Specify the name of the attribute. For example, to specify the attribute Unisphere-Service-Timeout:

  4. Specify the format of the parameterized attribute.

  5. Verify the configuration.