<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi David,<br><br>Have you looked through the archives ? This type of question has been asked before:<br><br>http://puck.nether.net/pipermail/cisco-bba/2007-February/000842.html<br><br>A general search on the topic will reveal plenty of other sample configs.<br><br>As for a list of cisco-avpair commands, I'm sure it exists somewhere, but usually I just go searching for a specific avpair to do what I need. You can also look in the standard radius dictionary to see if it has what you need:<br>http://freeradius.org/rfc/attributes.html<br><br>Try something and see how you go. Feel free to ask more questions if you can't get something working.<br><br>regards,<br>Tony.<br><br>--- On <b>Thu, 10/9/09, David Suarez - KNET <i>&lt;david@knet.es&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From:
 David Suarez - KNET &lt;david@knet.es&gt;<br>Subject: RE: [cisco-bba] avpair for virtual template<br>To: "Tony" &lt;td_miles@yahoo.com&gt;, "cisco-bba@puck.nether.net" &lt;cisco-bba@puck.nether.net&gt;<br>Received: Thursday, 10 September, 2009, 7:57 PM<br><br><div id="yiv1491266239">







<style>#yiv1491266239 .tx {font-family:Geneva, Arial, Helvetica, sans-serif;font-size:12px;color:#7a1f5e;text-decoration:none;padding-left:20px;padding-right:20px;text-align:justify;}#yiv1491266239 .linea {border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none;border-top-color:#7A205E;border-right-color:#7A205E;border-bottom-color:#7A205E;border-left-color:#7A205E;}#yiv1491266239 .tx1 {font-family:Verdana, Arial;font-size:11px;color:#7a1f5e;text-decoration:none;padding-right:15px;font-weight:600;}#yiv1491266239 .tx2 {font-family:Verdana, Arial;font-size:11px;color:#7a1f5e;text-decoration:none;}#yiv1491266239 .tx3 {font-family:Verdana,
 Arial;font-size:8px;color:#999999;text-decoration:none;padding-left:4px;PADDING-RIGHT:5px;PADDING-LEFT:5px;FONT-WEIGHT:normal;LINE-HEIGHT:normal;FONT-STYLE:normal;TEXT-ALIGN:justify;}#yiv1491266239 A {font-family:Verdana, Arial;font-size:11px;color:#999999;text-decoration:none;}#yiv1491266239 A HOVER{color:#E4031B;text-decoration:none;}#yiv1491266239 .lineabajo {border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none;border-top-color:#7A205E;border-right-color:#7A205E;border-bottom-color:#7A205E;border-left-color:#7A205E;}#yiv1491266239 .textopeq {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:9px;color:#7E0A6E;}</style>

 
 
 
 
 
 
 

<style>
<!--
#yiv1491266239 #yiv897207357 A HOVER{color:#E4031B;text-decoration:none;}
#yiv1491266239 #yiv897207357  
#yiv897207357 p.MsoNormal, #yiv1491266239 #yiv897207357 li.MsoNormal, #yiv1491266239 #yiv897207357 div.MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 filtered #yiv897207357 {margin:70.85pt 3.0cm 70.85pt 3.0cm;}

#yiv1491266239  
 _filtered #yiv1491266239 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
 _filtered #yiv1491266239 {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv1491266239  
#yiv1491266239 p.MsoNormal, #yiv1491266239 li.MsoNormal, #yiv1491266239 div.MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.tx, #yiv1491266239 li.tx, #yiv1491266239 div.tx
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.linea, #yiv1491266239 li.linea, #yiv1491266239 div.linea
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.tx1, #yiv1491266239 li.tx1, #yiv1491266239 div.tx1
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.tx2, #yiv1491266239 li.tx2, #yiv1491266239 div.tx2
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.tx3, #yiv1491266239 li.tx3, #yiv1491266239 div.tx3
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.lineabajo, #yiv1491266239 li.lineabajo, #yiv1491266239 div.lineabajo
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.textopeq, #yiv1491266239 li.textopeq, #yiv1491266239 div.textopeq
        {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.tx4, #yiv1491266239 li.tx4, #yiv1491266239 div.tx4
        {margin-right:0cm;margin-left:0cm;text-align:justify;font-size:7.5pt;font-family:Arial;color:#7A1F5E;}
#yiv1491266239 p.linea1, #yiv1491266239 li.linea1, #yiv1491266239 div.linea1
        {margin-right:0cm;margin-left:0cm;border:none;padding:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.tx11, #yiv1491266239 li.tx11, #yiv1491266239 div.tx11
        {margin-right:0cm;margin-left:0cm;font-size:7.0pt;font-family:Verdana;color:#7A1F5E;font-weight:bold;}
#yiv1491266239 p.tx21, #yiv1491266239 li.tx21, #yiv1491266239 div.tx21
        {margin-right:0cm;margin-left:0cm;font-size:7.0pt;font-family:Verdana;color:#7A1F5E;}
#yiv1491266239 p.tx31, #yiv1491266239 li.tx31, #yiv1491266239 div.tx31
        {margin-right:0cm;margin-left:0cm;text-align:justify;font-size:5.0pt;font-family:Verdana;color:#999999;}
#yiv1491266239 p.lineabajo1, #yiv1491266239 li.lineabajo1, #yiv1491266239 div.lineabajo1
        {margin-right:0cm;margin-left:0cm;border:none;padding:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.textopeq1, #yiv1491266239 li.textopeq1, #yiv1491266239 div.textopeq1
        {margin-right:0cm;margin-left:0cm;font-size:5.5pt;font-family:Verdana;color:#7E0A6E;}
#yiv1491266239 span.estilocorreo17
        {}
#yiv1491266239 p.tx5, #yiv1491266239 li.tx5, #yiv1491266239 div.tx5
        {margin-right:0cm;margin-left:0cm;text-align:justify;font-size:7.5pt;font-family:Arial;color:#7A1F5E;}
#yiv1491266239 p.linea2, #yiv1491266239 li.linea2, #yiv1491266239 div.linea2
        {margin-right:0cm;margin-left:0cm;border:none;padding:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.tx12, #yiv1491266239 li.tx12, #yiv1491266239 div.tx12
        {margin-right:0cm;margin-left:0cm;font-size:7.0pt;font-family:Verdana;color:#7A1F5E;font-weight:bold;}
#yiv1491266239 p.tx22, #yiv1491266239 li.tx22, #yiv1491266239 div.tx22
        {margin-right:0cm;margin-left:0cm;font-size:7.0pt;font-family:Verdana;color:#7A1F5E;}
#yiv1491266239 p.tx32, #yiv1491266239 li.tx32, #yiv1491266239 div.tx32
        {margin-right:0cm;margin-left:0cm;text-align:justify;font-size:5.0pt;font-family:Verdana;color:#999999;}
#yiv1491266239 p.lineabajo2, #yiv1491266239 li.lineabajo2, #yiv1491266239 div.lineabajo2
        {margin-right:0cm;margin-left:0cm;border:none;padding:0cm;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1491266239 p.textopeq2, #yiv1491266239 li.textopeq2, #yiv1491266239 div.textopeq2
        {margin-right:0cm;margin-left:0cm;font-size:5.5pt;font-family:Verdana;color:#7E0A6E;}
#yiv1491266239 span.estilocorreo171
        {font-family:Arial;color:windowtext;}
#yiv1491266239 span.spelle
        {}
#yiv1491266239 span.grame
        {}
#yiv1491266239 span.EstiloCorreo42
        {font-family:Arial;color:navy;}
#yiv1491266239 span.SpellE
        {}
#yiv1491266239 span.GramE
        {}
 _filtered #yiv1491266239 {margin:70.85pt 3.0cm 70.85pt 3.0cm;}
#yiv1491266239 div.Section1
        {}
-->
</style>

<div>

<div class="Section1">

<p class="MsoNormal"><span class="SpellE"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi</span></font></span><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> Tony, </span></font></p> 

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> &nbsp;</span></font></p> 

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Do
you have and example of this? <span class="GramE">Commands from <span class="SpellE">cisco</span> and from radius?</span></span></font></p> 

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> &nbsp;</span></font></p> 

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Thank
you for your interest.</span></font></p> 

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> &nbsp;</span></font></p> 

<div>

<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">David.</span></font><font color="navy"><span style="color: navy;"></span></font></p> 

<p class="MsoNormal"><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">&nbsp;</span></font></p> 

<p class="MsoNormal"><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">&nbsp;</span></font></p> 

<p class="MsoNormal"><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">&nbsp;</span></font></p> 

</div>

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

</span></font></div></div></div><br></div>
<div></div>
<table align="left" border="0" cellpadding="0" cellspacing="0" width="595">
<tbody>
<tr>
<td colspan="2" height="60"><b class="tx1">David Suárez Rubio</b><br><span class="tx2">SISTEMAS DE COMUNICACIÓN</span><br></td></tr>
<tr>
<td class="linea" colspan="2"><img src="cid:1.1417014908@web110115.mail.gq1.yahoo.com" height="10" width="10"></td></tr>
<tr>
<td width="100"><img src="cid:2.1417014908@web110115.mail.gq1.yahoo.com" height="80" width="100"></td>
<td class="tx" valign="baseline" width="495">Avda. Club Deportivo, 55<br>26007 Logroño (La Rioja)<br><strong>T.</strong> 902 44 90 90 <strong>F.</strong> 941 51 93 92<br><a rel="nofollow" class="tx1" target="_blank" href="http://www.knet.es/">www.knet.es</a></td></tr>
<tr>
<td class="textopeq" colspan="2" valign="baseline">
<p align="right"><a rel="nofollow" class="textopeq" target="_blank" href="http://www.knet.es/mail/politica_privacidad.htm">Política de privacidad</a><br><br></p></td></tr>
<tr>
<td class="lineabajo" colspan="2"><img src="cid:3.1417014908@web110115.mail.gq1.yahoo.com" height="1" width="10"></td></tr>
<tr>
<td colspan="2"><div class="Section1"><div><div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

</span></font></div>

<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">De:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Tony
[mailto:td_miles@yahoo.com] <br>
<b><span style="font-weight: bold;">Enviado el:</span></b> miércoles, 09 de
septiembre de 2009 15:22<br>
<b><span style="font-weight: bold;">Para:</span></b> cisco-bba@puck.nether.net; David Suarez - KNET<br>
<b><span style="font-weight: bold;">Asunto:</span></b> Re: [cisco-bba] avpair for
virtual template</span></font></p> 

</div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> &nbsp;</span></font></p> 

<table class="MsoNormalTable" style="" border="0" cellpadding="0" cellspacing="0">
 <tbody><tr style="">
  <td style="padding: 0cm;" valign="top">
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi David,<br>
  <br>
  I'm not sure if there is a RADIUS attribute for virtual-template, someone
  else may be able to provide you with a definite answer.<br>
  <br>
  As an alternative you could create a template that has all of the standard
  stuff in it and then groups/users to add anything you need for each
  connection. Using groups makes this easier to manage.<br>
  <br>
  As an example we do the following:<br>
  <br>
  1. default group - all users are a part of it, specifies things that every
  connection needs like "framed-protocol=PPP", etc.<br>
  2. group per VPN - has the VRF the connection will be part of and the
  loopback address that it will be associated with (each VRF has it's own
  loopback that is different)<br>
  3. per user attributes - static IP addresses, framed routes, etc that are
  user specific.<br>
  <br>
  This is done in a heirarchical type manner so that it's fairly easy to
  manage.<br>
  <br>
  HTH.<br>
  <br>
  regards,<br>
  Tony.<br>
  <br>
  <br>
  --- On <b><span style="font-weight: bold;">Wed, 9/9/09, David Suarez - KNET <i><span style="font-style: italic;">&lt;david@knet.es&gt;</span></i></span></b> wrote:</span></font></p> 
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> &nbsp;</span></font></p> 
  <div id="yiv897207357">
  <div>
  <div>
  <p class="MsoNormal" style=""><span class="spelle"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi</span></font></span><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <span class="spelle">all</span>,</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Somebody knows if exist a <span class="spelle">cisco-avpair</span>
  for virtual templates?</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I have a lot of <span class="spelle">PPPoE</span>
  sessions inbound my router for the same interface</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p> 
  <p class="MsoNormal" style=""><span class="grame"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">interface</span></font></span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> FastEthernet0/0</span></font></p> 
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&nbsp;<span class="grame">ip</span>
  address 192.168.113.1 255..255.255.0</span></font></p> 
  <p class="MsoNormal" style=""><span class="grame"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">duplex</span></font></span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> auto</span></font></p> 
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&nbsp;<span class="grame">speed</span>
  auto</span></font></p> 
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&nbsp;<span class="grame">pppoe</span>
  enable group <span class="spelle">adslpersonal</span></span></font></p> 
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">!</span></font></p> 
  <p class="MsoNormal" style=""><span class="grame"><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">bba-group</span></font></span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> <span class="spelle">pppoe</span>
  <span class="spelle">adslpersonal</span></span></font></p> 
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&nbsp;<span class="grame">virtual-template</span>
  13</span></font></p> 
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&nbsp;<span class="grame">sessions</span>
  per-<span class="spelle">mac</span> limit 1</span></font></p> 
  <p class="MsoNormal" style=""><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">!</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">With this solution I only can <span class="spelle">config</span>
  one virtual-template for all users, but I would like set one per user or per
  user-group via RADIUS.</span></font></p> 
  <p class="MsoNormal" style=""><span class="grame"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">ideas</span></font></span><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">?</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">And, <span class="grame">are there a list</span> of <span class="spelle">cisco-avpair</span> commands?</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Thanks in advance.</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Regards.</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p> 
  <p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">David..</span></font></p> 
  </div>
  </div>
  </div>
  </td>
 </tr>
</tbody></table>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> &nbsp;</span></font></p> 

<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="1" width="100%">

</span></font></div>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Get more done like never before with Yahoo!7 Mail. <a rel="nofollow"><u><font color="blue"><span style="color: blue;">Learn more</span></font></u></a>.</span></font></p> 

</div>

</td></tr></tbody></table></div></blockquote></td></tr></table><br>



      <hr size=1>
Get more done like never before with Yahoo!7 Mail. <a href=" http://au.rd.yahoo.com/mail/newmail_september/*http://au.overview.mail.yahoo.com/" target=_blank> Learn more</a>.