50
Displaying and maintaining AAA
To do…
Command…
Remarks
Display the configuration
information of ISP domains
display domain
[
isp-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about user
connections (on a centralized
router)
display
connection
[
access-type
portal
|
domain
isp-name
|
interface
interface-type
interface-number
|
ip
ip-address
|
mac
mac-
address
|
ucibindex
ucib-index
|
user-name
user-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about user
connections (on a distributed
router)
display
connection
[
access-type
{
dot1x
|
mac-authentication
|
portal
} |
domain
isp-
name
|
interface
interface-type interface-
number
|
ip
ip-address
|
mac
mac-address
|
ucibindex
ucib-index
|
user-name
user-name
]
[
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
AAA configuration examples
Authentication/authorization for Telnet/SSH users by a RADIUS
server
Configuration of RADIUS authentication and authorization of SSH users is similar to that for Telnet users.
The following takes Telnet users as an example.
Network requirements
As shown in
, a Telnet user is connected to the router, and the router is connected to the
RADIUS server. Complete the following tasks:
•
Configure an iMC server to act as the RADIUS server to provide authentication and authorization
services for Telnet users. The IP address of the RADIUS server is 10.1.1.1/24.
•
Set the shared keys for authenticating authentication and authorization packets exchanged
between the router and the RADIUS server to
expert
, and specify the ports for
authentication/authorization and accounting as 1812 and 1813, respectively.
•
Specify that a username sent to the RADIUS server carries the domain name.
•
Add an account on the RADIUS server, with the username
hello@bbb
. The Telnet user uses the
username and the configured password to log in to the router and is authorized with the privilege
level of 3 after successful login.