26
Step Command
Remarks
2.
Enter RADIUS scheme view.
radius scheme
radius-scheme-name
N/A
3.
Specify a shared key for
secure RADIUS
communication.
key
{
accounting
|
authentication
} {
cipher
|
simple
}
string
By default, no shared key is
specified.
The shared key configured on the
device must be the same as the
shared key configured on the
RADIUS server.
Specifying an MPLS L3VPN instance for the scheme
The VPN instance specified for a RADIUS scheme applies to all authentication and accounting
servers in that scheme. If a VPN instance is also configured for an individual RADIUS server, the
VPN instance specified for the RADIUS scheme does not take effect on that server.
To specify a VPN instance for a 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.
Specify a VPN instance for the
RADIUS scheme.
vpn-instance vpn-instance-name
By default, a RADIUS
scheme belongs to the public
network.
Setting the username format and traffic statistics units
A username is in the
userid
@
isp-name
format, where the
isp-name
argument represents the user's
ISP domain name. By default, the ISP domain name is included in a username. However, older
RADIUS servers might not recognize usernames that contain the ISP domain names. In this case,
you can configure the device to remove the domain name of each username to be sent.
If two or more ISP domains use the same RADIUS scheme, configure the RADIUS scheme to keep
the ISP domain name in usernames for domain identification.
The device reports online user traffic statistics in accounting packets. The traffic measurement units
are configurable, but they must be the same as the traffic measurement units configured on the
RADIUS accounting servers.
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
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
the startup configuration:
•
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, the ISP domain name is
included in a username except for
the predefined RADIUS scheme
named
system
. When the username
is sent to a RADIUS server in the