Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Command Reference, Release 4.2.x
Dynamic Template Commands
Downloads: This chapterpdf (PDF - 1.3MB) The complete bookPDF (PDF - 3.59MB) | Feedback

Dynamic Template Commands

Dynamic Template Commands

This module describes the Cisco IOS XR software commands used to configure the Dynamic Template commands for Broadband Network Gateway (BNG) on the Cisco ASR 9000 Series Router. For details regarding the related configurations, refer to the Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide.

dynamic-template

To group a set of configuration items that can be applied to a group of subscribers and to enter the dynamic-template configuration mode, use the dynamic-template command in the Global Configuration mode. To disable this feature and exit the dynamic-template configuration mode, use the no form of this command.

dynamic-template type { ipsubscriber name | ppp name | service name }

no dynamic-template

Syntax Description

type

Specifies the type of templates, for example, ppp or ipsubscriber or service.

name

Specifies the name of the dynamic template type.

ipsubscriber

Specifies the ipsubscriber dynamic template type.

ppp

Specifies the ppp dynamic template type.

service

Specifies the service dynamic template type.

Command Default

None

Command Modes

Global Configuration
mode

Command History

Release Modification

Release 4.2.0

This command was introduced.

Usage Guidelines

Use the dynamic-template command to enter dynamic template configuration mode.

Task ID

Task ID Operation

config-services

read, write

Examples

This is an example of configuring the dynamic-template command in the Global Configuration mode:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# dynamic-template
RP/0/RSP0/CPU0:router(config-dynamic-template)# 

Related Commands

Command

Description

dynamic-template type ppp

Enables the ppp dynamic template type.

dynamic-template type ipsubscriber

Enables the ipsubscriber dynamic template type.

dynamic-template type service

Enables the service dynamic template type.

dynamic-template type ipsubscriber

To group a set of configuration items that can be applied to a group of subscribers based on the ipsubscriber template type and to enter the dynamic-template configuration mode, use the dynamic-template type ipsubscriber command. To disable this feature and exit the dynamic-template configuration mode, use the no form of this command.

dynamic-template type ipsubscriber template-name

no dynamic-template type ipsubscriber template-name

Syntax Description

template-name

Specifies the dynamic template name.

Command Default

None

Command Modes

Dynamic template configuration mode

Command History

Release Modification

Release 4.2.0

This command was introduced.

Usage Guidelines

Use the dynamic-template command to enter dynamic template configuration mode.

Task ID

Task ID Operation

config-services

read, write

Examples

This is an example of configuring the dynamic-template type ipsubscriber command:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# dynamic-template
RP/0/RSP0/CPU0:router(config-dynamic-template)# type ipsubscriber ipsub1

Related Commands

Command

Description

dynamic-template

Enables the dynamic template configuration mode.

dynamic-template type ppp

Enables the ppp dynamic template type.

dynamic-template type service

Enables the service dynamic template type.

dynamic-template type ppp

To group a set of configuration items that can be applied to a group of subscribers based on the ppp template type and to enter the dynamic-template configuration mode, use the dynamic-template type ppp command. To disable this feature and exit the dynamic-template configuration mode, use the no form of this command.

dynamic-template type ppp template-name

no dynamic-template type ppp template-name

Syntax Description

template-name

Specifies the dynamic template name.

Command Default

None

Command Modes

Dynamic template configuration mode

Command History

Release Modification

Release 4.2.0

This command was introduced.

Usage Guidelines

Use the dynamic-template command to enter dynamic template configuration mode.

Task ID

Task ID Operation

config-services

read, write

Examples

This is an example of configuring the dynamic-template type ppp command:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# dynamic-template
RP/0/RSP0/CPU0:router(config-dynamic-template)# type ppp p1

Related Commands

Command

Description

dynamic-template

Enables the dynamic template configuration mode.

dynamic-template type ipsubscriber

Enables the ipsubscriber dynamic template type.

dynamic-template type service

Enables the service dynamic template type.

dynamic-template type service

To group a set of configuration items that can be applied to a group of subscribers based on the service template type and to enter the dynamic-template configuration mode, use the dynamic-template type service command. To disable this feature and exit the dynamic-template configuration mode, use the no form of this command.

dynamic-template type service template-name

no dynamic-template type service template-name

Syntax Description

template-name

Specifies the dynamic template name.

Command Default

None

Command Modes

Dynamic template configuration mode

Command History

Release Modification

Release 4.2.0

This command was introduced.

Usage Guidelines

Use the dynamic-template command to enter dynamic template configuration mode.

Task ID

Task ID Operation

config-services

read, write

Examples

This is an example of configuring the dynamic-template type service command:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# dynamic-template
RP/0/RSP0/CPU0:router(config-dynamic-template)# type service s1

Related Commands

Command

Description

dynamic-template

Enables the dynamic template configuration mode.

dynamic-template type ppp

Enables the ppp dynamic template type.

dynamic-template type ipsubscriber

Enables the ipsubscriber dynamic template type.

service-policy (BNG)

To associate a service-policy to the dynamic template, use the service-policy command in the dynamic template configuration mode. To disable this feature, use the no form of this command.

service-policy { input | output } service-policy_name

no service-policy

Syntax Description

input

Configures an ingress service-policy.

output

Configures an egress service-policy.

service-policy_name

Name of the service policy.

Command Default

None

Command Modes

Dynamic template configuration mode

Command History

Release Modification

Release 4.2.0

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

Use the dynamic-template type ppp command to enter the ppp dynamic template type configuration mode.

Task ID

Task ID Operation

qos

read, write

Examples

This is an example of configuring the service-policy command in the dynamic template configuration mode:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# dynamic-template type ppp p1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)# accounting aaa list default type session periodic-interval 60 dual-stack-delay 1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)# service-policy input i1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)# service-policy output o1


Related Commands

Command

Description

dynamic-template

Enables the dynamic template configuration mode.

dynamic-template type ppp

Enables the ppp dynamic template type.

dynamic-template type ipsubscriber

Enables the ipsubscriber dynamic template type.

vrf (dynamic-template-BNG)

To set the vrf in which the interface operates, use the vrf command in the dynamic template type configuration mode. To disable the VRF, use the no form of this command.

vrf vrf-name

no vrf

Syntax Description

vrf_name

Specifies the name of the vrf.

Command Default

None

Command Modes

Dynamic template type configuration mode

Command History

Release Modification

Release 4.2.0

This command was introduced.

Usage Guidelines

Use the dynamic-template command to enter dynamic template configuration mode.

Task ID

Task ID Operation

config-services

read, write

Examples

This is an example of configuring the vrf command in the dynamic template type configuration mode:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# dynamic-template
RP/0/RSP0/CPU0:router(config-dynamic-template)# type service s1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)# vrf vrf1

Related Commands

Command

Description

dynamic-template

Enables the dynamic template configuration mode.

dynamic-template type ppp

Enables the ppp dynamic template type.

dynamic-template type ipsubscriber

Enables the ipsubscriber dynamic template type.