Hello everyone!
I'm having a problem disconnecting the subscriber via CoA / DM using the User-Name attribute.
When I use the Acct-Session-Id attribute it works perfectly.
using the User-Name attribute I have the return "Error-Cause = Session-Context-Not-Found"
looking at other documentation I found this option.
https://support.huawei.com/enterprise/en/doc/EDOC1100156634/eb4cae32/radius-server-authorization-match-type
however it doesn't seem to work for my version (command does not exist).
radius-server authorization match-type { any | all }
Does anyone have any idea what the problem would be?
Router: NetEngine 8000 M8
Version: Version 8.200 (NetEngine 8000 V800R012C10SPC300)
User Connected
[~BRAS-TESTE]display access-user item
------------------------------------------------------------------------------
UserID Username Interface IP address MAC
------------------------------------------------------------------------------
8192 FHTT9538c020@ipoe Eth-Trunk1.2100 10.66.7.253 000c-2919-9a98
------------------------------------------------------------------------------
Command Sucess from Acct-Session-Id:
root@Teste:/# echo "Acct-Session-Id=TESTE002012118000001a599aAAACII" | radclient -x 192.168.201.2:3799 disconnect MySecretKey
Sent Disconnect-Request Id 246 from 0.0.0.0:65333 to 192.168.201.2:3799 length 55
Acct-Session-Id = "TESTE002012118000001a599aAAACII"
Received Disconnect-ACK Id 246 from 192.168.201.2:3799 to 177.10.144.50:65333 length 75
Framed-IP-Address = 0.0.0.0
Acct-Session-Id = "TESTE002012118000001a599aAAACII"
NAS-Identifier = "TESTE"
Command Fail User-Name:
root@Teste:/# echo "User-Name=FHTT9538c020@ipoe" | radclient -x 192.168.201.2:3799 disconnect MySecretKey
Sent Disconnect-Request Id 143 from 0.0.0.0:64256 to 192.168.201.2:3799 length 39
User-Name = "FHTT9538c020@ipoe"
Received Disconnect-NAK Id 143 from 192.168.201.2:3799 to 177.10.144.50:64256 length 45
User-Name = "FHTT9538c020@ipoe"
Error-Cause = Session-Context-Not-Found
(0) -: Expected Disconnect-ACK got Disconnect-NAK