Defining Dynamic Templates - Cisco ASR 9000 Series Configuration Manual

Aggregation services router broadband network gateway
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Activating Control Policy
Command or Action
Step 4
Use the commit or end command.

Defining Dynamic Templates

A dynamic template is a container used to group a set of configuration settings, and apply them to the subscriber
sessions. A dynamic template is globally configured through CLI. However, defining the dynamic template
does not immediately cause the configuration to be applied to a subscriber interface. The configuration within
a dynamic template is applied to a subscriber interface, only when the dynamic template is activated using a
control policy. Similarly, the applied configurations are stopped, only when the dynamic template is deactivated
using a control policy.
There are three basic types of dynamic-templates:
• PPP templates—It contains specific configurations related to the PPPoE protocol.
• IP Subscriber templates—It contains specific configurations that are activated on IP subscriber sessions.
• Service templates—It contains service-related configuration that are activated in response to session
A dynamic template can either be configured on the CLI, or downloaded from the AAA server. In the following
sample configuration, the policy map activates an IP Subscriber dynamic template that is defined on the CLI.
dynamic-template
type ipsubscriber ipsub
ipv4 unnumbered Loopback400
policy-map type control subscriber PL2
event session-start match-first
class type control subscriber class-default do-all
1 activate dynamic-template ipsub
There are two types of dynamic templates that are downloaded from the AAA server—user profiles and
service profiles. User profiles are applied to a single subscriber, whereas, service profiles can be applied to
multiple subscribers. In the following sample configuration, the policy map downloads a service template
from the AAA server.
Radius Config:
service1 Password="xxxxxx"
Cisco-avpair = "ipv4:ipv4-unnumbered=Loopback400"
OL-28375-03
life-cycle events. Service templates are precluded from containing interface or media-specific commands.
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
Purpose
commit—Saves the configuration changes and remains within
the configuration session.
end—Prompts user to take one of these actions:
• Yes— Saves configuration changes and exits the
configuration session.
• No—Exits the configuration session without committing
the configuration changes.
• Cancel—Remains in the configuration mode, without
committing the configuration changes.
Defining Dynamic Templates
4.3.x
75

Advertisement

Table of Contents
loading

Table of Contents