2-16
Follow these steps to set the status of RADIUS servers:
To do… Use the command… Remarks
Enter system view
system-view
—
Create a RADIUS scheme and
enter its view
radius scheme
radius-scheme-name
Required
By default, a RADIUS scheme
named "system" has already
been created in the system.
Set the status of the primary
RADIUS
authentication/authorization
server
state primary authentication
{ block | active }
Set the status of the primary
RADIUS accounting server
state primary accounting
{ block | active }
Set the status of the secondary
RADIUS
authentication/authorization
server
state secondary
authentication { block |
active }
Set the status of the secondary
RADIUS accounting server
state secondary accounting
{ block | active }
Optional
By default, the RADIUS servers
specified with IP addresses in
the RADIUS scheme are all in
the active state.
Configuring the Attributes of Data to be Sent to RADIUS Servers
Follow these steps to configure the attributes of data to be sent to RADIUS servers:
To do… Use the command… Remarks
Enter system view
system-view
—
Create a RADIUS scheme and
enter its view
radius scheme
radius-scheme-name
Required
By default, a RADIUS scheme
named "system" has already
been created in the system.
Set the format of the
usernames to be sent to
RADIUS server
user-name-format
{ with-domain |
without-domain }
Optional
By default, the usernames sent
from the switch to RADIUS
server carry ISP domain
names.
Set the units of data flows to
RADIUS servers
data-flow-format data { byte |
giga-byte | kilo-byte |
mega-byte } packet
{ giga-packet | kilo-packet |
mega- packet | one-packet }
Optional
By default, in a RADIUS
scheme, the data unit and
packet unit for outgoing
RADIUS flows are byte and
one-packet respectively.
Set the MAC address format of
the Calling-Station-Id (Type 31)
field in RADIUS packets
calling-station-id mode
{ mode1 | mode2 }
{ lowercase | uppercase }
Optional
By default, the MAC address
format is XXXX-XXXX-XXXX,
in lowercase.
Set the source IP address of
outgoing RADIUS messages
RADIUS scheme view
nas-ip ip-address
Optional
By default, no source IP