DES-7200 Configuration Guide Chapter 3 SSH Terminal Service Configuration
% Generating 512 bit RSA1 keys ...[ok]
% Generating 512 bit RSA keys ...[ok]
! Generate DSA key
DES-7200(config)#crypto key generate dsa
Choose the size of the key modulus in the range of 360 to 2048 for your
Signature Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]:
% Generating 512 bit DSA keys ...[ok]
Step 3: Configure the IP address of device. The client will use this address to
connect SSH server.
DES-7200(config)#interface vlan 1
DES-7200(config-if-VLAN 1)#ip address 192.168.217.81 255.255.255.0
DES-7200(config-if-VLAN 1)#exit
Configure relevant features of AAA authentication on Switch
Step 1: Enable AAA on the device
DES-7200#configure terminal
DES-7200(config)#aaa new-model
Step 2: Configure information about Radius server (the shared key used by
device for communicating with RADIUS server is "aaaradius"
DES-7200(config)#radius-server host 192.168.32.120
DES-7200(config)#radius-server key aaaradius
Step 3: Configure AAA authentication method list
! Configure login authentication method list (Radius first, followed by Local), and
the name of method list shall be "method".
DES-7200(config)#aaa authentication login method group radius local
Step 4: Apply this method list to the line
DES-7200(config)#line vty 0 4
DES-7200(config-line)#login authentication method
DES-7200(config-line)#exit
Step 5: Configure local user database
! Configure local user database (configure user name and password, and bind
the privilege level)
DES-7200(config)#username user1 privilege 1 password 111
DES-7200(config)#username user2 privilege 10 password 222
DES-7200(config)#username user3 privilege 15 password 333
3-13