cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
526
Views
0
Helpful
2
Replies

How to Count Acct Session Time When on Start Type on Radius Server

Eugenius05
Level 1
Level 1

Hello i want to ask

I am using ASR1001HX and how to count Acct-Session-Time on radius server when Acct-Status-Type = Start ??

After get DHCP req and get IP Pub from BRAS, why session time counting when status type alive ? not from start status type ?

 

Thu Jun 13 13:00:09 2024: DEBUG: Packet dump:
* Received from 10.81.0.15 port 40746 ....
Code: Accounting-Request
Identifier: 210
Authentic: <140><137><201>|t<219><212>=<214><208><151><136><<197>E<181>
Attributes:
Acct-Session-Id = "0/1/2/211_1700000000385410"
Framed-IPv6-Prefix = xxxx:xxxx:xxx:xxxx::/64
Delegated-IPv6-Prefix = xxx:xxxx:xxx:xxxx::/64
Framed-Protocol = PPP
User-Name = "melindacarolina677"
Cisco-Avpair = "connect-progress=Call Up"
Acct-Authentic = RADIUS
Acct-Status-Type = Start
Calling-Station-Id = "d8-a0-e8-d5-33-c3"
NAS-Port-Type = 33
Cisco-NAS-Port = "0/1/2/211"
NAS-Port = 167772371
NAS-Port-Id = "0/1/2/211"
Connect-Info = "FOB-JOHOR"
Cisco-Avpair = "client-mac-address=xxxx.xxxx.xxxx"
Class = "50M"
Service-Type = Framed-User
NAS-IP-Address = 10.101.0.22
NAS-Identifier = "MEDN-BNG-ASR1001HX-02.cbn.net.id"
Acct-Delay-Time = 0
Proxy-State = OSC-Extended-Id=58021330

========================================================================

Thu Jun 13 13:16:24 2024: DEBUG: Packet dump:
* Received from 10.81.0.15 port 40746 ....
Code: Accounting-Request
Identifier: 172
Authentic: <194><207>;:|<143><149><208><4><250><6><%<239><254>\
Attributes:
Acct-Session-Id = "0/1/2/211_1700000000385410"
Framed-IPv6-Prefix = xxx:xxxx:xxxx:xxxx::/64
Delegated-IPv6-Prefix = xxx:xxxx:xxxx:xxxx::/64
Framed-Protocol = PPP
Framed-Interface-Id = "<218><160><232><255><254><213>3<195>"
Framed-IP-Address = Public IP 
User-Name = "melindacarolina677"
Cisco-Avpair = "connect-progress=LAN Ses Up"
Cisco-Avpair = "nas-tx-speed=4230196224"
Cisco-Avpair = "nas-tx-speed-kbps=4230196"
Cisco-Avpair = "nas-rx-speed=4230196224"
Cisco-Avpair = "nas-rx-speed-kbps=4230196"
Acct-Session-Time = 979
Acct-Input-Octets = 47416226
Acct-Output-Octets = 191161148
Cisco-Avpair = "acct-input-octets-ipv6=39949380"
Cisco-Avpair = "acct-output-octets-ipv6=82672341"
Acct-Input-Packets = 121873
Acct-Output-Packets = 169567
Cisco-Avpair = "acct-input-packets-ipv6=64754"
Cisco-Avpair = "acct-output-packets-ipv6=74230"
Acct-Authentic = RADIUS
Acct-Status-Type = Alive
Calling-Station-Id = "d8-a0-e8-d5-xx-xx"
NAS-Port-Type = 33
Cisco-NAS-Port = "0/1/2/211"
NAS-Port = 167772371
NAS-Port-Id = "0/1/2/211"
Connect-Info = "FOB-JOHOR"
Cisco-Avpair = "client-mac-address=d8a0.e8d5.xxxx"
Class = "50M"
Service-Type = Framed-User
NAS-IP-Address = 10.101.0.22
NAS-Identifier = "MEDN-BNG-ASR1001HX-02"
Acct-Delay-Time = 0
Proxy-State = OSC-Extended-Id=58049964

 

 

2 Replies 2

Can I see the config of AAA in your router 
what is type of connection is it PPPoE ?

MHM

aaa authentication login ISG-AUTH group radiator-int group radiator
aaa authentication ppp default group radiator-int group radiator
aaa authentication ppp ISG-AUTH group radiator-int group radiator
aaa authorization network default group radiator-int group radiator
aaa authorization network radiator group radiator-int group radiator
aaa authorization network ISG-AUTH group radiator-int group radiator
aaa authorization configuration default group radiator-int group radiator
aaa authorization configuration ISG-AUTH group radiator-int group radiator
aaa authorization subscriber-service ISG-AUTH group radiator-int group radiator
aaa authorization config-commands
aaa accounting network default start-stop group radiator-int group radiator
aaa accounting network ISG-AUTH start-stop group radiator-int group radiator
aaa accounting commands 0 default
aaa accounting send counters ipv6
aaa accounting update periodic 15
aaa accounting include auth-profile framed-ip-address
aaa accounting include auth-profile framed-ipv6-prefix
aaa accounting include auth-profile delegated-ipv6-prefix
!
aaa server radius dynamic-author
client xx.xx.xx.xx server-key 7 Xxxxx
client xx.xx.xx.xx server-key 7 Xxxxx
auth-type any
ignore session-key
ignore server-key

radius server rad-346
address ipv4 xx.xx.xx.xx auth-port 1645 acct-port 1646
key 7 08224E401B18011E0718
!
radius server myradiator
address ipv4 xx.xx.xx.xx auth-port 1645 acct-port 1646
key 7 0110040A5504051D2048471C0A
!
radius server rad-341
address ipv4 xx.xx.xx.xx auth-port 1645 acct-port 1646
key 7 08224E401B18011E0718
!
radius server rad-1603
address ipv4 xx.xx.xx.xx auth-port 1645 acct-port 1646
key 7 08224E401B180

Yes PPPoE

why Framed-IP-Address and Acct-Session-Time not show in start phase yah? it's because asr features?