Pls refer the configuration
radius-server group xxxx
radius-server shared-key-cipher %^%#xFL;2CH:X-}$F(&^Z~!7PJEe)&+tA-xvT`Rr@AWX%^%#
radius-server authentication xxxx 1812 weight 0
radius-server accounting xxxx 1813 weight 0
radius-server type plus11
radius-server source interface GigabitEthernet5/0/0
radius-server attribute translate
undo radius-server user-name domain-included
radius-server traffic-unit kbyte
radius-attribute include HW-Auth-Type
radius-attribute translate extend HW-Auth-Type vendor-specific 2011 109 access-request account
ip pool mypool bas local
gateway 10.55.0.1 255.255.255.0
section 0 10.55.0.2 10.55.0.254
dns-server 4.2.2.2 8.8.8.8
aaa
default-user-name template test include mac-address :
domain ipoe
authentication-scheme ipoe
accounting-scheme postauth
radius-server group xxxx
ip-pool mypool
mac-authentication enable
interface GigabitEthernet5/0/1.508
user-vlan 508
bas
#
access-type layer2-subscriber default-domain authentication ipoe
authentication-method bind
ip-trigger
arp-trigger
default-user-name-template test
Radius debug
Aug 13 2018 19:22:42.565 xxxx-BNG %BRASRDS/7/BRRDS_DBG_PACKET(d):VS=Admin-VS-CID=0x8398041b;
Radius Sent a Packet
Server Template: 0
Server IP : xxxx
NAS IP : xxxx
Vpn-Instance: -
Server Port : 1812
NAS Port : 1812
Protocol: Portal
Code : Authentication request
Len : 277
ID : 226
[User-Name(1) ] [16] [0495:e64f:1078]
[User-Password(2) ] [18] [******]
[NAS-Port(5) ] [6 ] [83890684]
[NAS-IP-Address(4) ] [6 ] [xxxx]
[Service-Type(6) ] [6 ] [2] [Framed]
[Framed-Protocol(7) ] [6 ] [1] [PPP]
[Calling-Station-Id(31) ] [19] [04:95:e6:4f:10:78]
[NAS-Identifier(32) ] [12] [xxxx]
[NAS-Port-Type(61) ] [6 ] [15] [Ethernet]
[NAS-Port-Id(87) ] [37] [slot=5;subslot=0;port=1;vlanid=508;]
Aug 13 2018 19:22:42.565 xxxx-BNG %BRASRDS/7/BRRDS_DBG_PACKET(d):VS=Admin-VS-CID=0x8398041b;
[Acct-Session-Id(44) ] [35] [xxxx-05001050800000c2e071008700]
[Connect-Info(77) ] [12] [1000000000]
[HW-NAS-Startup-Time-Stamp(Huawei-59)] [6 ] [1531471198]
[HW-IP-Host-Address(Huawei-60) ] [35] [255.255.255.255 04:95:e6:4f:10:78]
[HW-Connect-ID(Huawei-26) ] [6 ] [34560]
[HW-Domain-Name(Huawei-138) ] [6 ] [ipoe]
[HW-User-Mac(Huawei-153) ] [19] [04:95:e6:4f:10:78]
Aug 13 2018 19:22:42.767 xxxx-BNG %BRASRDS/7/BRRDS_DBG_PACKET(d):VS=Admin-VS-CID=0x8398041b;
Radius Received a Packet
Server Template: 0
Server IP : xxxx
NAS IP : xxxx
Vpn-Instance: -
Server Port : 1812
NAS Port : 1812
Protocol: Portal
Code : Authentication accept
Len : 62
ID : 226
[Service-Type(6) ] [6 ] [2] [Framed]
[Session-Timeout(27) ] [6 ] [2678286]
[HW-Input-Committed-Information-Rate(Huawei-2)] [6 ] [52428800]
[HW-Output-Committed-Information-Rate(Huawei-5)] [6 ] [52428800]
[Framed-IP-Address(8) ] [6 ] [10.55.0.2]