H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 42

Advertising
background image

28

By default, the device sets the status of all RADIUS servers to active. In some cases, however, you may

need to change the status of a server. For example, if a server fails, you can change the status of the
server to blocked to avoid communication with the server.
To set the status of RADIUS servers in a RADIUS scheme:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter RADIUS scheme view.

radius scheme radius-scheme-name N/A

3.

Set the status of RADIUS
authentication/authorization

or accounting servers.

Set the status of the primary RADIUS

authentication/authorization server:
state primary authentication { active |

block }

Set the status of the primary RADIUS

accounting server:

state primary accounting { active |

block }

Set the status of a secondary RADIUS

authentication/authorization server:

state secondary authentication [ ip
ipv4-address
| ipv6 ipv6-address ]

{ active | block }

Set the status of a secondary RADIUS

accounting server:

state secondary accounting [ ip

ipv4-address | ipv6 ipv6-address ]
{ active | block }

Optional.
The default setting is active
for every server specified in

the RADIUS scheme.

NOTE:

The server status set by the state command cannot be saved to the configuration file. After the device
restarts, the status of each server is restored to active.

To display the states of the servers, use the display radius scheme command.

Setting the username format and traffic statistics units

A username is usually in the format of userid@isp-name, where isp-name represents the name of the ISP

domain the user belongs to and is used by the device to determine which users belong to which ISP

domains. However, some earlier RADIUS servers cannot recognize usernames that contain an ISP
domain name. In this case, the device must remove the domain name of each username before sending

the username. You can set the username format on the device for this purpose.
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 the unit for data flows and

that for packets on the device are consistent with those on the RADIUS server.
To set the username format and the traffic statistics units for a RADIUS scheme:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter RADIUS scheme view.

radius scheme
radius-scheme-name

N/A

Advertising