60
Figure 17 Adding an account for device management
Configuring the router
# Assign an IP address to interface Ethernet 1/1, the Telnet user access interface.
<Router> system-view
[Router] interface ethernet 1/1
[Router-Ethernet1/1] ip address 192.168.1.70 255.255.255.0
[Router-Ethernet1/1] quit
# Configure the IP address of interface Ethernet 1/2, through which the router communicates with the
server.
[Router] interface ethernet 1/2
[Router-Ethernet1/2] ip address 10.1.1.2 255.255.255.0
[Router-Ethernet1/2] quit
# Enable the Telnet server on the router.
[Router] telnet server enable
# Configure the router to use AAA for Telnet users.
[Router] user-interface vty 0 4
[Router-ui-vty0-4] authentication-mode scheme
[Router-ui-vty0-4] quit
# Create RADIUS scheme rad.
[Router] radius scheme rad
# Specify the primary authentication server.
[Router-radius-rad] primary authentication 10.1.1.1 1812
# Set the shared key for secure authentication communication to expert.