User Tools

Site Tools


aaa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
aaa [2012/08/24 12:17]
val
aaa [2020/02/28 11:38]
val [Локальная авторизация]
Line 37: Line 37:
  login authentication CONSOLE  login authentication CONSOLE
  ​authorization exec CONSOLE  ​authorization exec CONSOLE
 + ​privilege level 15
 </​code>​ </​code>​
  
Line 63: Line 64:
 </​code><​code>​ </​code><​code>​
 server# telnet switch server# telnet switch
 +  или
 +server# ssh user1@switch1
 ... ...
 switch# show privilege switch# show privilege
Line 72: Line 75:
 === Настройка клиента RADIUS === === Настройка клиента RADIUS ===
 <​code>​ <​code>​
-radius-server host server auth-port 1812 acct-port 1813+;radius-server host server auth-port 1812 acct-port 1813 
 +;​radius-server host mgmt auth-port 1812 acct-port 1813 
 radius-server key testing123 radius-server key testing123
 </​code>​ </​code>​
Line 79: Line 84:
 <​code>​ <​code>​
 aaa authentication login default group radius enable aaa authentication login default group radius enable
-aaa authorization exec default local none + 
 +aaa authorization exec default local none
 </​code>​ </​code>​
 +
 +=== Использование RADIUS для авторизации telnet подключений =====
 +<​code>​
 +aaa authorization exec default group radius none
 +</​code>​
 +
 +
 +=== Использование RADIUS для протокола 802.1x =====
 +
 +[[http://​open1x.sourceforge.net/​]]
 +
 +<​code>​
 +aaa authentication dot1x default group radius
 +
 +aaa accounting dot1x default start-stop group radius
 +</​code>​
 +==== Аутентификация и авторизация с использованием TACACS+ ====
 +
 +=== Настройка клиента TACACS+ ===
 +<​code>​
 +tacacs-server host server
 +
 +tacacs-server key tackey123
 +</​code>​
 +
 +=== Использование TACACS+ для аутентификации telnet подключений ===
 +<​code>​
 +aaa authentication login default group tacacs+ enable
 +
 +aaa authorization exec default group tacacs+ none
 +
 +aaa accounting commands 15 default start-stop group tacacs+ ​
 +</​code>​
 +
 +===== Дополнительные материалы =====
 +
 +  * [[http://​ciscomaster.ru/​content/​access-delegate-rbac|Делегирование прав доступа к консоли или Role-Based Access Control (RBAC)]]
 +  * [[http://​www.cisco.com/​en/​US/​docs/​ios/​12_3t/​12_3t7/​feature/​guide/​gtclivws.html|Role-Based CLI Access]]
  
aaa.txt · Last modified: 2020/11/18 11:42 by val