Sample Profiles


First Published: December 5, 2006

This appendix provides samples profiles and includes the following topics:

Subject Profile

Service Profile

Control Message Profiles

Subject Profile

This section provides a sample of two subject profiles.

Example 1

User-Name.value=IP_USER1

  User-Name.password=Jill2

  Idle-Timeout.value= 300

  Account-Info = "QU;512000;256000;D;512000;256000"

  Account-Info = "AInternet-Sevice"

  Account-Info = "NBoD-2Meg"

  CiscoAVPair: subscriber:accounting-list=BH_ACCNT_LIST1

Example 2

User-Name.value: 0|6|000d.edc0.3f80:0|4|22|1|15:0050.5607.0103

  CiscoAVPair: subscriber:accounting-list=ACCNT_LIST1

  Account-Info = "ADefault_BW-512K"

  Account-Info = "AVPN1_Service"

  Account-Info = "NGold_Service"

  CiscoAVPair: ip:sub-qos-policy-in=QOS_POLICY_IN_256_PARENT

  CiscoAVPair: ip:sub-qos-policy-out=QOS_POLICY_OUT_256_PARENT

  Idle-Timeout.value: 600

  Session-Timeout.value: 180000

Service Profile

This section provides two service profile samples:

Generic Service Profile Example

Primary Service Profile Example

Generic Service Profile Example

The following example is a typical generic service profile:

/* Service Name = INTERNET_SERVICE */

  CiscoAVPair: subscriber:accounting-list=BH_ACCNT_LIST1

Service-Info = "QU;1024000;512000;D;1024000;512000"

  CiscoAVPair: ip:traffic-class=in default drop

  CiscoAVPair: ip:traffic-class=input access-group name ACL_IN_INTERNET_UC1 priority 30

  CiscoAVPair: ip:traffic-class=output access-group name ACL_OUT_INTERNET_UC1 priority 30

  CiscoAVPair: ip:traffic-class=out default drop

Primary Service Profile Example

The following example is a typical "primary" service profile:

/* Service Name = VPN1_Service */

  CiscoAVPair: ip:vrf-id=VPN_ISP1

  CiscoAVPair: subscriber:classname=CLASS1

  CiscoAVPair: subscriber:sg-service-type=primary

Control Message Profiles

This section provides sample control message profiles and includes the following topics:

Traffic Policy Directive Profile Example

Service Activate Profile Example

Session Query Profile Example

Service Activate Profile Example

Traffic Policy Directive Profile Example

The following example is a typical Traffic Policy Directive profile:

Service = Framed

  Cisco: Account-Info = "S12.1.1.2"

  Cisco:Cisco-AVPair = "ip:l4redirect=redirect list 100 to group pepsi" u

  Cisco: Command-Code = "17l4_coa"

!

Service = Framed

  Cisco: Account-Info = "S12.1.1.2"

  Cisco: Command-Code = "17session_coa"

  Cisco: Account-Info = "QU;200000;90000;100000;D;200000;90000;100000"

!

Service Activate Profile Example

The following example is a typical Service Active profile:

Service = Framed

  Cisco: Account-Info = "S12.1.1.2

  Cisco: Service-Info = "Ncoa_service"

  Cisco: Command-Code = "0bservice_coa"

Service = Framed

  Cisco: Account-Info = "S12.1.1.2"

  Cisco: Service-Info = Ncoa_service

  Cisco: Command-Code = "0bservice_coa"

Session Query Profile Example

The following example is a typical Service Query profile:

Service = Framed

  Cisco: Account-Info = "S12.1.1.2"

  Cisco: Command-Code = "04 "

!

Service = Framed

  Cisco: Account-Info = "S12.1.1.2"

  Cisco: Command-Code = "04&"

!

Service = Framed

  Cisco:Account-Info = "S12.1.1.2"

  Cisco:Command-Code = "04service_coa"

!

Service Activate Profile Example

The following example is a typical Service Activate profile:

Service = Framed

  Cisco:Account-Info = "S12.1.1.2"

  Cisco:Command-Code = " 0cservice_coa "

!