[c-nsp] vpdn aaa attribute nas-port vpdn-nas

Szilard Matyas szilard.matyas at enternet.hu
Thu Oct 21 08:28:50 EDT 2004


Hi all,


we tunnel dialup(isdn,modem) calls from a AS5350(LAC)(12.3.11T) to npe-g1(LNS)(12.2.16b2).
Everything works fine. But I can't understand a feature.

cisco say this:

"vpdn aaa attribute nas-port vpdn-nas
To enable the L2TP network server (LNS) to send PPP extended NAS-Port format values from the L2TP access concentrator (LAC)
to the RADIUS server for accounting, use the vpdn aaa attribute
nas-port vpdn-nas global configuration command"

It's working, the npe-g1(LNS) sends dialup infos in accounting packets like

NAS-Port-Type = Async
Cisco-NAS-Port = "Async2/27"
Calling-Station-Id = "123456"
Called-Station-Id = "123456"
and so on.

Accounting Start:

Thu Oct 21 13:31:45 2004
        Acct-Session-Id = "00212BCB"
        Tunnel-Type = 0:L2TP
        Tunnel-Medium-Type = 0:IP
        Tunnel-Server-Endpoint = x.x.x.x
        Tunnel-Client-Endpoint = xxx.x.x
        Tunnel-Assignment-ID = xyz
        Tunnel-ID = 157200030
        Tunnel-Client-Auth-ID = dialteszt
        Tunnel-Server-Auth-ID = xyz
        Framed-Protocol = PPP
        Framed-IP-Address = x.x.x.x
        Acct-Authentic = Local
        User-Name = "test"
        Acct-Status-Type = Start
        NAS-Port-Type = Async
        Cisco-NAS-Port = "Async2/27"
        NAS-Port = 27
        Calling-Station-Id = "123456"
        Called-Station-Id = "123456"
        Service-Type = Framed-User
        NAS-IP-Address = x.x.x.x
        Acct-Delay-Time = 0
        Timestamp = 1098358305

Accounting stop:

Thu Oct 21 13:32:07 2004
        Acct-Session-Id = "00212BCB"
        Tunnel-Type = 0:L2TP
        Tunnel-Medium-Type = 0:IP
        Tunnel-Server-Endpoint = x.x.x.x
        Tunnel-Client-Endpoint = x.x.x.x
        Tunnel-Assignment-ID = xyz
        Tunnel-ID = 157200030
        Tunnel-Client-Auth-ID = dialteszt
        Tunnel-Server-Auth-ID = xyz
        Framed-Protocol = PPP
        Framed-IP-Address = x.x.x.x
        Acct-Authentic = Local
        Cisco-AVPair = "connect-progress=LAN Ses Up"
        Acct-Session-Time = 23
        Acct-Input-Octets = 1847
        Acct-Output-Octets = 137
        Acct-Input-Packets = 24
        Acct-Output-Packets = 7
        Acct-Terminate-Cause = User-Request
        Cisco-AVPair = "disc-cause-ext=PPP Receive Term"
        User-Name = "test"
        Acct-Status-Type = Stop
        NAS-Port-Type = Async
        Cisco-NAS-Port = "Async2/27"
        NAS-Port = 27
        Calling-Station-Id = "123456"
        Called-Station-Id = "123456"
        Service-Type = Framed-User
        NAS-IP-Address = x.x.x.x
        Acct-Delay-Time = 0
        Timestamp = 1098358327

I can't understand how this information is put to the LNS from the
LAC. I supposed that the LAC sends this information in L2TP ICRQ or
ICCN with the standard L2TP AV-PAIRs. But I can't see any kind of AVP relating
these. I see only the mandatory AVPs.

debug vpdn l2x-packets
L2X control packets debugging is on

Oct 21 14:01:18.184 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: O ICRQ to xyz 2108/0
*Oct 21 14:01:18.184 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: O ICRQ, flg TLS, ver 2, len 85, tnl 2108, lsid 33, rsid 0, ns 2, nr 1
*Oct 21 14:01:18.188 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: Parse AVP 0, len 8, flag 0x8000 (M)
*Oct 21 14:01:18.188 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: Parse ICRP
*Oct 21 14:01:18.188 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: Parse  AVP 14, len 8, flag 0x8000 (M)
*Oct 21 14:01:18.188 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: Assigned Call ID 16136
*Oct 21 14:01:18.188 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: No missing AVPs in ICRP

*Oct 21 14:01:18.188 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: I ICRP, flg TLS, ver 2, len 28, tnl 23598, lsid 33, rsid 0, ns 1, nr 3
contiguous pak, size 28

*Oct 21 14:01:18.188 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: O ICCN to xyz 2108/16136
*Oct 21 14:01:18.188 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: O ICCN, flg TLS, ver 2, len 140, tnl 2108, lsid 33, rsid 16136, ns 3, nr 2
*Oct 21 14:01:18.192 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: Parse  AVP 0, len 8, flag 0x8000 (M)
*Oct 21 14:01:18.192 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: Parse SLI
*Oct 21 14:01:18.192 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: Parse  AVP 35, len 16, flag 0x8000 (M)
*Oct 21 14:01:18.192 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: No missing AVPs in SLI
*Oct 21 14:01:18.192 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: I SLI, flg TLS, ver 2, len 36, tnl 23598, lsid 33, rsid 16136, ns 2, nr 4
contiguous pak, size 36

*Oct 21 14:01:18.192 MET-DST: As2/28 Tnl/Sn 23598/33 L2TP: O ZLB ctrl ack, flg TLS, ver 2, len 12, tnl 2108, lsid 33, rsid 16136, ns 4, nr 3

Is there anybody know how LAC send nas-port,clid,dnis information to the LNS ?

And how can the LAC send connectinfo(rx,tx) attribute to the LNS? if
it can.

Thanks everybody's response in advance!

Regards,
szicsu



More information about the cisco-nsp mailing list