• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

MSR3600 不上报计费报文

2023-05-07提问
  • 1关注
  • 0收藏,493浏览
粉丝:0人 关注:0人

问题描述:

MSR3600 不上报计费报文到Radius Server


组网及组网描述:

配置如下:


最佳答案

已采纳
粉丝:33人 关注:1人

本端作为LNS?是的话在VT口下增加配置:

ppp account-statistics enable

然后当前配置的计费间隔是10分钟,配置完后等等再看:


[MSR3600-xijie-26]ppp ? access-user Access user information ip-pool IP address pool configuration mp Specify MP configuration information [MSR3600-xijie-26] MSR3600 v7下面不支持ppp account-statistics enable命令哦

lynatgz 发表时间:2023-05-07
回复lynatgz:

VT口下配置,看你发的好像是在全局下

大西瓜和花 发表时间:2023-05-07
回复lynatgz:

# interface Virtual-Template XXXX ---------替换成实际的 ppp account-statistics enable #

大西瓜和花 发表时间:2023-05-07

大佬牛逼, 正常了!

lynatgz 发表时间:2023-05-07
3 个回答
粉丝:0人 关注:3人

debug radius 看一下,设备是否和服务器交互正常,

``` Mapped PAM item to RADIUS attribute successfully. *May 7 08:29:54:491 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Got RADIUS username format successfully, format: 2. *May 7 08:29:54:491 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Added attribute user-name successfully, user-name: zhouliying. *May 7 08:29:54:492 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Filled RADIUS attributes in packet successfully. *May 7 08:29:54:492 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Composed request packet successfully. *May 7 08:29:54:492 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Created response timeout timer successfully. *May 7 08:29:54:492 2023 MSR3600-xijie-26 RADIUS/7/PACKET: User-Name="zhouliying" CHAP-Password=0x01c44e914d5ec2a94ea2d86c4312b6bd29 CHAP-Challenge=0x9d89f6305996e8c9dacfcacdd4219a39 Service-Type=Framed-User Framed-Protocol=PPP NAS-Identifier="MSR3600-xijie-26" NAS-Port=12291 NAS-Port-Type=Ethernet NAS-Port- Calling-Station- Acct-Session- H3c-Ip-Host-Addr="0.0.0.0 00:e0:4c:70:ac:0b" NAS-IP-Address=183.48.12.221 H3c-Product- H3c-Nas-Startup-Timestamp=1293840047 *May 7 08:29:54:494 2023 MSR3600-xijie-26 RADIUS/7/EVENT: PAM_RADIUS: Sent authentication request successfully. *May 7 08:29:54:494 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Sent request packet successfully, dst-IP: 159.75.xxx.xxx, code: 1, length: 279. *May 7 08:29:54:495 2023 MSR3600-xijie-26 RADIUS/7/PACKET: 01 ed 01 17 9d 89 f6 30 59 96 e8 c9 da cf ca cd d4 21 9a 39 01 0c 7a 68 6f 75 6c 69 79 69 6e 67 03 13 01 c4 4e 91 4d 5e c2 a9 4e a2 d8 6c 43 12 b6 bd 29 3c 12 9d 89 f6 30 59 96 e8 c9 da cf ca cd d4 21 9a 39 06 06 00 00 00 02 07 06 00 00 00 01 20 12 4d 53 52 33 36 30 30 2d 78 69 6a 69 65 2d 32 36 05 06 00 00 30 03 3d 06 00 00 00 0f 57 27 73 6c 6f 74 3d 36 35 35 33 35 3b 73 75 62 73 6c 6f 74 3d 30 3b 70 6f 72 74 3d 33 3b 76 6c 61 6e 69 64 3d 33 3b 1f 13 30 30 2d 45 30 2d 34 43 2d 37 30 2d 41 43 2d 30 42 2c 28 30 30 30 30 30 30 30 35 32 30 32 33 30 35 30 37 30 30 32 39 35 34 30 30 30 31 33 66 62 64 30 30 31 30 30 32 39 33 1a 21 00 00 63 a2 3c 1b 30 2e 30 2e 30 2e 30 20 30 30 3a 65 30 3a 34 63 3a 37 30 3a 61 63 3a *May 7 08:29:54:496 2023 MSR3600-xijie-26 RADIUS/7/PACKET: 30 62 04 06 b7 30 0c dd 1a 13 00 00 63 a2 ff 0d 48 33 43 20 4d 53 52 33 36 30 30 1a 0c 00 00 63 a2 3b 06 4d 1e 6e af *May 7 08:29:54:496 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Sent request packet and create request context successfully. *May 7 08:29:54:497 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Added request context to global table successfully. %May 7 08:29:54:502 2023 MSR3600-xijie-26 IFNET/3/PHY_UPDOWN: Physical state on the interface Virtual-Access21 changed to up. %May 7 08:29:54:505 2023 MSR3600-xijie-26 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Virtual-Access21 changed to up. *May 7 08:29:54:506 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Reply SocketFd received EPOLLIN event. *May 7 08:29:54:506 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Received reply packet successfully, src-IP: 159.75.xxx.xxx, code: 2, length: 120. *May 7 08:29:54:507 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Found request context, dstIP: 159.75.xxx.xxx, dstPort: 1812, VPN instance: --(public), socketFd: 103, pktID: 237. *May 7 08:29:54:507 2023 MSR3600-xijie-26 RADIUS/7/EVENT: The reply packet is valid. *May 7 08:29:54:508 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Decoded reply packet successfully. *May 7 08:29:54:508 2023 MSR3600-xijie-26 RADIUS/7/PACKET: Session-Timeout=86400 Idle-Timeout=86400 Acct-Interim-Interval=300 Class=0x3866316332613838373830363465663961333562323538396363626234646238 H3c-Input-Peak-Rate=3000000 H3c-Input-Average-Rate=3000000 H3c-Output-Peak-Rate=6000000 H3c-Output-Average-Rate=6000000 *May 7 08:29:54:509 2023 MSR3600-xijie-26 RADIUS/7/PACKET: 02 ed 00 78 42 22 44 04 c1 7a 8a e7 eb 4e 2c a1 e4 d8 31 f3 1b 06 00 01 51 80 1c 06 00 01 51 80 55 06 00 00 01 2c 19 22 38 66 31 63 32 61 38 38 37 38 30 36 34 65 66 39 61 33 35 62 32 35 38 39 63 63 62 62 34 64 62 38 1a 0c 00 00 63 a2 01 06 00 2d c6 c0 1a 0c 00 00 63 a2 02 06 00 2d c6 c0 1a 0c 00 00 63 a2 04 06 00 5b 8d 80 1a 0c 00 00 63 a2 05 06 00 5b 8d 80 *May 7 08:29:54:510 2023 MSR3600-xijie-26 RADIUS/7/EVENT: PAM_RADIUS: Processing RADIUS authentication. *May 7 08:29:54:510 2023 MSR3600-xijie-26 RADIUS/7/EVENT: PAM_RADIUS: Fetched authentication reply-data successfully, resultCode: 0 *May 7 08:29:54:511 2023 MSR3600-xijie-26 RADIUS/7/EVENT: PAM_RADIUS: Processing RADIUS authorization. *May 7 08:29:54:511 2023 MSR3600-xijie-26 RADIUS/7/EVENT: PAM_RADIUS: RADIUS Authorization successfully. *May 7 08:29:54:529 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Sent reply message successfully. %May 7 08:29:57:125 2023 MSR3600-xijie-26 IFNET/3/PHY_UPDOWN: Physical state on the interface Virtual-Access5 changed to up. *May 7 08:29:57:129 2023 MSR3600-xijie-26 RADIUS/7/EVENT: PAM_RADIUS: Processing RADIUS authentication. *May 7 08:29:57:129 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Processing AAA request data. *May 7 08:29:57:129 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Got request data successfully, primitive: authentication. *May 7 08:29:57:130 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Getting RADIUS server info. *May 7 08:29:57:130 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Got RADIUS server info successfully. *May 7 08:29:57:130 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Created request context successfully. *May 7 08:29:57:130 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Created request packet successfully, dstIP: 159.75.xxx.xxx, dstPort: 1812, VPN instance: --(public), socketFd: 103, pktID: 97. *May 7 08:29:57:131 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Added packet socketfd to epoll successfully, socketFd: 103. *May 7 08:29:57:131 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Mapped PAM item to RADIUS attribute successfully. *May 7 08:29:57:131 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Got RADIUS username format successfully, format: 2. *May 7 08:29:57:131 2023 MSR3600-xijie-26 RADIUS/7/EVENT: Added attribute user-name successfully, user-name: 47282849. ``` 交互应该没啥问题,但是一点关于accouting计费的日志都没有

lynatgz 发表时间:2023-05-07
lynatgz 知了小白
粉丝:0人 关注:0人

Mapped PAM item to RADIUS attribute successfully.

*May 7 08:29:54:491 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Got RADIUS username format successfully, format: 2.
*May 7 08:29:54:491 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Added attribute user-name successfully, user-name: zhouliying.
*May 7 08:29:54:492 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Filled RADIUS attributes in packet successfully.
*May 7 08:29:54:492 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Composed request packet successfully.
*May 7 08:29:54:492 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Created response timeout timer successfully.
*May 7 08:29:54:492 2023 MSR3600-xijie-26 RADIUS/7/PACKET:
User-Name="zhouliying"
CHAP-Password=0x01c44e914d5ec2a94ea2d86c4312b6bd29
CHAP-Challenge=0x9d89f6305996e8c9dacfcacdd4219a39
Service-Type=Framed-User
Framed-Protocol=PPP
NAS-Identifier="MSR3600-xijie-26"
NAS-Port=12291
NAS-Port-Type=Ethernet
NAS-Port-
Calling-Station-
Acct-Session-
H3c-Ip-Host-Addr="0.0.0.0 00:e0:4c:70:ac:0b"
NAS-IP-Address=183.48.xxx.xx
H3c-Product-
H3c-Nas-Startup-Timestamp=1293840047
*May 7 08:29:54:494 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
PAM_RADIUS: Sent authentication request successfully.
*May 7 08:29:54:494 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Sent request packet successfully, dst-IP: 159.75.xxx.xxx, code: 1, length: 279.
*May 7 08:29:54:495 2023 MSR3600-xijie-26 RADIUS/7/PACKET:
01 ed 01 17 9d 89 f6 30 59 96 e8 c9 da cf ca cd
d4 21 9a 39 01 0c 7a 68 6f 75 6c 69 79 69 6e 67
03 13 01 c4 4e 91 4d 5e c2 a9 4e a2 d8 6c 43 12
b6 bd 29 3c 12 9d 89 f6 30 59 96 e8 c9 da cf ca
cd d4 21 9a 39 06 06 00 00 00 02 07 06 00 00 00
01 20 12 4d 53 52 33 36 30 30 2d 78 69 6a 69 65
2d 32 36 05 06 00 00 30 03 3d 06 00 00 00 0f 57
27 73 6c 6f 74 3d 36 35 35 33 35 3b 73 75 62 73
6c 6f 74 3d 30 3b 70 6f 72 74 3d 33 3b 76 6c 61
6e 69 64 3d 33 3b 1f 13 30 30 2d 45 30 2d 34 43
2d 37 30 2d 41 43 2d 30 42 2c 28 30 30 30 30 30
30 30 35 32 30 32 33 30 35 30 37 30 30 32 39 35
34 30 30 30 31 33 66 62 64 30 30 31 30 30 32 39
33 1a 21 00 00 63 a2 3c 1b 30 2e 30 2e 30 2e 30
20 30 30 3a 65 30 3a 34 63 3a 37 30 3a 61 63 3a
*May 7 08:29:54:496 2023 MSR3600-xijie-26 RADIUS/7/PACKET:
30 62 04 06 b7 30 0c dd 1a 13 00 00 63 a2 ff 0d
48 33 43 20 4d 53 52 33 36 30 30 1a 0c 00 00 63
a2 3b 06 4d 1e 6e af
*May 7 08:29:54:496 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Sent request packet and create request context successfully.
*May 7 08:29:54:497 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Added request context to global table successfully.
%May 7 08:29:54:502 2023 MSR3600-xijie-26 IFNET/3/PHY_UPDOWN: Physical state on the interface Virtual-Access21 changed to up.
%May 7 08:29:54:505 2023 MSR3600-xijie-26 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Virtual-Access21 changed to up.
*May 7 08:29:54:506 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Reply SocketFd received EPOLLIN event.
*May 7 08:29:54:506 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Received reply packet successfully, src-IP: 159.75.xxx.xxx, code: 2, length: 120.
*May 7 08:29:54:507 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Found request context, dstIP: 159.75.xxx.xxx, dstPort: 1812, VPN instance: --(public), socketFd: 103, pktID: 237.
*May 7 08:29:54:507 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
The reply packet is valid.
*May 7 08:29:54:508 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Decoded reply packet successfully.
*May 7 08:29:54:508 2023 MSR3600-xijie-26 RADIUS/7/PACKET:
Session-Timeout=86400
Idle-Timeout=86400
Acct-Interim-Interval=300
Class=0x3866316332613838373830363465663961333562323538396363626234646238
H3c-Input-Peak-Rate=3000000
H3c-Input-Average-Rate=3000000
H3c-Output-Peak-Rate=6000000
H3c-Output-Average-Rate=6000000
*May 7 08:29:54:509 2023 MSR3600-xijie-26 RADIUS/7/PACKET:
02 ed 00 78 42 22 44 04 c1 7a 8a e7 eb 4e 2c a1
e4 d8 31 f3 1b 06 00 01 51 80 1c 06 00 01 51 80
55 06 00 00 01 2c 19 22 38 66 31 63 32 61 38 38
37 38 30 36 34 65 66 39 61 33 35 62 32 35 38 39
63 63 62 62 34 64 62 38 1a 0c 00 00 63 a2 01 06
00 2d c6 c0 1a 0c 00 00 63 a2 02 06 00 2d c6 c0
1a 0c 00 00 63 a2 04 06 00 5b 8d 80 1a 0c 00 00
63 a2 05 06 00 5b 8d 80
*May 7 08:29:54:510 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
PAM_RADIUS: Processing RADIUS authentication.
*May 7 08:29:54:510 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
PAM_RADIUS: Fetched authentication reply-data successfully, resultCode: 0
*May 7 08:29:54:511 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
PAM_RADIUS: Processing RADIUS authorization.
*May 7 08:29:54:511 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
PAM_RADIUS: RADIUS Authorization successfully.
*May 7 08:29:54:529 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Sent reply message successfully.
%May 7 08:29:57:125 2023 MSR3600-xijie-26 IFNET/3/PHY_UPDOWN: Physical state on the interface Virtual-Access5 changed to up.
*May 7 08:29:57:129 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
PAM_RADIUS: Processing RADIUS authentication.
*May 7 08:29:57:129 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Processing AAA request data.
*May 7 08:29:57:129 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Got request data successfully, primitive: authentication.
*May 7 08:29:57:130 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Getting RADIUS server info.
*May 7 08:29:57:130 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Got RADIUS server info successfully.
*May 7 08:29:57:130 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Created request context successfully.
*May 7 08:29:57:130 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Created request packet successfully, dstIP: 159.75.xxx.xxx, dstPort: 1812, VPN instance: --(public), socketFd: 103, pktID: 97.
*May 7 08:29:57:131 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Added packet socketfd to epoll successfully, socketFd: 103.
*May 7 08:29:57:131 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Mapped PAM item to RADIUS attribute successfully.
*May 7 08:29:57:131 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Got RADIUS username format successfully, format: 2.
*May 7 08:29:57:131 2023 MSR3600-xijie-26 RADIUS/7/EVENT:
Added attribute user-name successfully, user-name: 47282849.


交互应该没啥问题,但是一点关于accouting计费的日志都没有


粉丝:0人 关注:0人

1111

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明