beautypg.com

Setting the status of radius servers – H3C Technologies H3C S6300 Series Switches User Manual

Page 41

background image

26

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 format for usernames
sent to the RADIUS servers.

user-name-format { keep-original
| with-domain | without-domain }

The default setting depends on the
type of startup configuration used:

If the device starts up with initial

settings, the ISP domain name

is included in a username.

If the device starts up with the

factory defaults, it removes the

ISP domain name from

usernames to be sent to the
RADIUS servers that are

specified in the predefined

RADIUS scheme system.

For more information about the

startup configuration, see
Fundamentals Configuration

Guide.

4.

(Optional.) Set the data flow
and packet measurement

units for traffic statistics.

data-flow-format { data { byte |
giga-byte | kilo-byte |

mega-byte } | packet
{ giga-packet | kilo-packet |

mega-packet | one-packet } }*

By default, traffic is counted in
bytes and packets.

Setting the maximum number of RADIUS request transmission attempts

RADIUS uses UDP packets to transfer data. Because UDP communication is not reliable, RADIUS uses a

retransmission mechanism to improve reliability. A RADIUS request is retransmitted if the NAS does not
receive a server response for the request within the response timeout timer. For more information about

the RADIUS server response timeout timer, see "

Setting RADIUS timers

."

You can set the maximum number for the NAS to retransmit a RADIUS request to the same server. When

the maximum number is reached, the NAS tries to communicate with other RADIUS servers in active state.
If no other servers are in active state at the time, the NAS considers the authentication or accounting

attempt a failure.
To set the maximum number of RADIUS request transmission attempts:

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 maximum number of RADIUS
request transmission attempts.

retry retry-times

The default setting is 3.

Setting the status of RADIUS servers

To control the RADIUS servers with which the device communicates when the current servers are no

longer available, set the status of RADIUS servers to blocked or active. You can specify one primary