R3166-R3206-HP High-End Firewalls Access Control Configuration Guide-6PW101

140
The device periodically sends accounting updates to RADIUS accounting servers to report the traffic
statistics of online users. For normal and accurate traffic statistics, make sure that the unit for data flows
and that for packets on the device are consistent with those on the RADIUS server.
Follow these steps to set the username format and the traffic statistics units for a RADIUS scheme:
To do… Use the command…
Remarks
Enter system view system-view
Enter RADIUS scheme view
radius scheme
radius-scheme-name
Set the format for usernames sent to
the RADIUS servers
user-name-format { keep-original
| with-domain | without-domain }
Optional
By default, the ISP domain name is
included in a username.
Specify the unit for data flows or
packets sent to the RADIUS servers
data-flow-format { data { byte |
giga-byte | kilo-byte |
mega-byte } | packet
{ giga-packet | kilo-packet |
mega-packet | one-packet } } *
Optional
byte for data flows and one-packet
for data packets by default.
NOTE:
If a RADIUS scheme defines that the username is sent without the ISP domain name, do not apply the
RADIUS scheme to more than one ISP domain. Otherwise, users using the same username but in
different ISP domains will be considered the same user.
For level switching authentication, the user-name-format keep-original and user-name-format
without-domain commands produce the same results: they ensure that usernames sent to the RADIUS
server carry no ISP domain name.
Setting the supported RADIUS server type
The supported RADIUS server type determines the type of the RADIUS protocol that the device uses to
communicate with the RADIUS server. It can be standard or extended:
Standard—Uses the standard RADIUS protocol, compliant to RFC 2865 and RFC 2866 or later.
Extended—Uses the proprietary RADIUS protocol of HP.
When the RADIUS server runs IMC, you must set the RADIUS server type to extended. When the RADIUS
server runs third-party RADIUS server software, either RADIUS server type applies. For the device to
function as a RADIUS server to authenticate login users, you must set the RADIUS server type to standard.
Follow these steps to set the RADIUS server type:
To do… Use the command…
Remarks
Enter system view system-view
Enter RADIUS scheme view
radius scheme
radius-scheme-name
Set the RADIUS server type
server-type { extended |
standard }
Optional
standard by default
NOTE:
Changing the RADIUS server type will restore the unit for data flows and that for packets that are sent to
the RADIUS server to the defaults.