четверг, 11 сентября 2014 г.

radius and switches




from hp.com
Usr/local/etc/raddb/clients.conf 
client 5800{ 
ipaddr  = 1.1.1.2 (5800 switch) 
secret = testing123 
} 

Usr/local/etc/raddb/users 
Testuser Cleartext-Password := “password” 
 Service-Type = NAS-Prompt-User,  (Login can also be used here) 
 Login-Service = Telnet, 
 3Com-User-Access-Level = Administrator,(needs dictionary.3com) 
 Auth-Type = System 

Usr/local/etc/raddb/dictionary.3Com 
VENDOR  3Com 43 
ATTRIBUTE 3Com-User-Access-Level  1 Integer 3Com 
VALUE 3Com-User-Access-Level Monitor 1 
VALUE 3Com-User-Access-Level Manager 2 
VALUE 3Com-User-Access-Level Administrator 3 


For SSH authentication:

/usr/local/share/freeradius 
vi dictionary.rfc2865 
#Login Services 
VALUE Login-Service  SSH 50  (add this) 

Usr/local/etc/raddb/users 

Login-Service = ssh     (can’t have both telnet and ssh) 

Комментариев нет:

Отправить комментарий

Примечание. Отправлять комментарии могут только участники этого блога.