SlideShare uma empresa Scribd logo
1 de 8
Baixar para ler offline
C H A PT ER              5




       Configuring TACACS+
       This chapter describes the Terminal Access Controller Access Control System Plus
       (TACACS+), a Cisco proprietary version of TACACS.


       Note STP UplinkFast has also been added for this release, and it is documented in the
       “Enabling STP UplinkFast” section on page 3-18.


       TACACS+ provides the means to manage network security (authentication, authorization,
       and accounting [AAA]) from a server. This section describes how TACACS+ works and
       how you can configure it. For complete syntax and usage information for the commands
       described in this chapter, refer to the Cisco IOS Desktop Switching Command Reference or
       to the “Security” chapter of the Cisco IOS 11.3 Command Summary.
       These sections describe how to configure TACACS+:
       •   “How TACACS+ Works” section on page 5-1
       •   “Configuring TACACS+” section on page 5-2



How TACACS+ Works
       In large enterprise networks, the task of administering passwords on each device can be
       simplified by doing the user authentication centrally on a server. TACACS+ is an
       access-control protocol that allows a switch to authenticate all login attempts through a
       central authentication server. The network administrator configures the switch with the
       address of the TACACS+ server, and the switch and the server exchange messages to
       authenticate each user before allowing access to the management console.




                                                                      Configuring TACACS+ 5-1
Configuring TACACS+




               TACACS+ consists of three services: authentication, authorization, and accounting.
               Authentication is the action of determining who the user is and whether he or she is allowed
               access to the switch. Authorization is the action of determining what the user is allowed to
               do on the system. Accounting is the action of collecting data related to resource usage.



Configuring TACACS+
               The TACACS+ feature is disabled by default. However, you can enable and configure it
               using the command-line interface (CLI). You can access the CLI through the console port
               or via Telnet. In order to prevent a lapse in security, you cannot configure TACACS+
               through a network-management application. When enabled, TACACS+ can authenticate
               users accessing the switch through either the console or Telnet.
               The following sections describe how to configure the primary features of AAA/TACACS+:
               •   Enabling AAA/TACACS+
               •   Enabling Authentication for Login
               •   Specifying TACACS+ Authorization for EXEC Access and Network Services
               •   Starting TACACS+ Accounting
               •   Establishing the TACACS+ Server Host
               •   Configuring a Switch for Local AAA Configuration


               Note Although TACACS+ configuration is done using the CLI, the TACACS+ server will
               authenticate CVSM connections that have been configured with a privilege level of 15.




5-2    Cisco IOS Desktop Switching Enterprise Edition Software Configuration Guide
Configuring TACACS+




Enabling AAA/TACACS+
              Use the aaa new-model command to enable AAA/TACACS+. Enter the following
              commands in global configuration mode:

              Task                                                Command
              Enable AAA/TACACS+.                                 aaa new-model



Enabling Authentication for Login
              Using the aaa authentication login command and the following keywords, you create one
              or more lists of authentication methods that are tried at login. The lists are used with the
              login authentication line configuration command.
              Enter the following command in global configuration mode to enable authentication for
              login:
                 Switch# aaa authentication login {default | list-name} method1
                 [...[method3]]

              The keyword list-name is any character string used to name the list you are creating. The
              method keyword refers to the actual method the authentication algorithm tries, in the
              sequence entered. You can enter up to three methods:

              Keyword         Description

              line            Uses the line password for authentication.

              local           Uses the local username database for authentication.

              tacacs+         Uses TACACS+ authentication.

              To create a default list that is used if no list is specified in the login authentication
              command, use the default argument followed by the methods you want used in default
              situations.
              The additional methods of authentication are used only if the previous method returns an
              error, not if it fails. To specify that the authentication succeed even if all methods return an
              error, specify none as the final method in the command line.




                                                                                 Configuring TACACS+ 5-3
Configuring TACACS+




Specifying TACACS+ Authorization for EXEC Access and Network Services
               You can use the aaa authorization command with the tacacs+ keyword to set parameters
               that restrict a user’s network access to Cisco IOS privilege mode (EXEC access) and to
               network services such as Serial Line Internet Protocol (SLIP), Point to Point Protocol (PPP)
               with Network Control Protocols (NCPs), and AppleTalk Remote Access (ARA).
               The aaa authorization exec tacacs+ local command sets the following authorization
               parameters:
               •   Use TACACS+ for EXEC access authorization if authentication was done using
                   TACACS+.
               •   Use the local database if authentication was not done using TACACS+.


               Note Authorization is bypassed for authenticated users who log in through the CLI, even
               if authorization has been configured.


               To specify TACACS+ authorization for EXEC access and network services, perform the
               following tasks in global configuration mode:

               Task                                                     Command
               User TACACS+ authorization for all network-related       aaa authorization network tacacs+
               service requests, including SLIP, PPP NCPs, and ARA
               protocol.
               User TACACS+ authorization to determine if the user is   aaa authorization exec tacacs+
               allowed EXEC access. This keyword might return user
               profile information (such as autocommand
               information).




5-4    Cisco IOS Desktop Switching Enterprise Edition Software Configuration Guide
Configuring TACACS+




Starting TACACS+ Accounting
             You use the aaa accounting command with the tacacs+ keyword to turn on TACACS+
             accounting for each Cisco IOS privilege level and for network services.
             To use TACACS+ accounting to send a start-record accounting notice at the beginning of
             an EXEC process and a stop-record at the end, enter the following command in global
             configuration mode:
                 Switch#   aaa accounting exec start-stop tacacs+

             To use TACACS+ to account for all network-related service requests, including SLIP, PPP,
             and PPP NCPs, perform the following task in global configuration mode:
                 Switch# aaa accounting network start-stop tacacs+


             Note This command is documented in the “Accounting and Billing Commands” chapter
             of the Security Command Reference.



Establishing the TACACS+ Server Host
             Use the tacacs-server host command to specify the names of the IP host or hosts
             maintaining a AAA/TACACS+ server. On TACACS+ servers, you can configure the
             following additional options:
             •   Period of time (in seconds) the switch attempts to contact the server before it times out.
             •   Encryption key to encrypt and decrypt all traffic between the router and the daemon.
             •   Number of attempts that a user can make when entering a command that is being
                 authenticated by TACACS+.




                                                                              Configuring TACACS+ 5-5
Configuring TACACS+




               You can use the tacacs-server retransmit command to change the number of times the
               system software searches the list of TACACS servers (the default is two) and the interval it
               waits for a reply (the default is 5 seconds).
               Perform the following tasks in global configuration mode:

               Task                                                         Command
               Step 1   Define a TACACS+ host. Entering the timeout and      tacacs-server host name [timeout
                        key parameters with this command overrides the      integer] [key string]
                        global values that you can enter with the
                        tacacs-server timeout (Step 3) and the
                        tacacs-server key commands (Step 5).
               Step 2   Enter the number of times the server searches the   tacacs-server retransmit retries
                        list of TACACS+ servers before stopping.
               Step 3   Set the interval the server waits for a TACACS+     tacacs-server timeout seconds
                        server host to reply.
               Step 4   Set the number of login attempts that can be made   tacacs-server attempts count
                        on the line.
               Step 5   Define a set of encryption keys for all TACACS+      tacacs-server key key
                        and communication between the access server and
                        the TACACS daemon. (Repeat the command for
                        each encryption key.)
               Step 6   Return to privileged EXEC mode.                     exit
               Step 7   Confirm the TACACS+ server information and           show tacacs
                        display statistics in privileged EXEC mode.




5-6    Cisco IOS Desktop Switching Enterprise Edition Software Configuration Guide
Configuring TACACS+




Configuring a Switch for Local AAA Configuration
             You can configure AAA to operate without a server by setting the switch to implement
             AAA in local mode. Authentication and authorization are then handled by the switch. No
             accounting is available in this configuration.
             Perform the following tasks in global configuration mode:

             Task                                                    Command
             Step 1   Enable AAA.                                    aaa new-model
             Step 2   Set login authorization to default to local.   aaa authentication login default local
             Step 3   User AAA authorization for all                 aaa authorization exec local
                      network-related service requests, including
                      SLIP, PPP NCPs, and ARA protocol.
             Step 4   User AAA authorization to determine if the     aaa authorization network local
                      user is allowed to run an EXEC shell.
             Step 5   Enter the local database. (Repeat the          username name password password
                      command for each user.)                        privilege level (0 to 15)




                                                                                 Configuring TACACS+ 5-7
Configuring TACACS+




5-8    Cisco IOS Desktop Switching Enterprise Edition Software Configuration Guide

Mais conteúdo relacionado

Mais procurados

From Cisco ACS to ISE
From Cisco ACS to ISE From Cisco ACS to ISE
From Cisco ACS to ISE Mahzad Zahedi
 
Mise en place d'un reseau securise par Cisco ASA
Mise en place d'un reseau securise par Cisco ASAMise en place d'un reseau securise par Cisco ASA
Mise en place d'un reseau securise par Cisco ASAOusmane BADJI
 
Implementing 802.1x Authentication
Implementing 802.1x AuthenticationImplementing 802.1x Authentication
Implementing 802.1x Authenticationdkaya
 
Support cours : Vos premiers pas avec le pare feu CISCO ASA
Support cours : Vos premiers pas avec le pare feu CISCO ASASupport cours : Vos premiers pas avec le pare feu CISCO ASA
Support cours : Vos premiers pas avec le pare feu CISCO ASASmartnSkilled
 
Composants et fonctionnement d'un Switch Cisco
Composants et fonctionnement d'un Switch Cisco Composants et fonctionnement d'un Switch Cisco
Composants et fonctionnement d'un Switch Cisco DJENNA AMIR
 
Support formation vidéo : Cisco ASA, configuration
Support formation vidéo : Cisco ASA, configurationSupport formation vidéo : Cisco ASA, configuration
Support formation vidéo : Cisco ASA, configurationSmartnSkilled
 
CCNA Security - Chapter 3
CCNA Security - Chapter 3CCNA Security - Chapter 3
CCNA Security - Chapter 3Irsandi Hasan
 
Packet Tracer: Cisco, Spanning tree protocol
Packet Tracer: Cisco, Spanning tree protocolPacket Tracer: Cisco, Spanning tree protocol
Packet Tracer: Cisco, Spanning tree protocolRafat Khandaker
 

Mais procurados (20)

From Cisco ACS to ISE
From Cisco ACS to ISE From Cisco ACS to ISE
From Cisco ACS to ISE
 
RADIUS
RADIUSRADIUS
RADIUS
 
Mise en place d'un reseau securise par Cisco ASA
Mise en place d'un reseau securise par Cisco ASAMise en place d'un reseau securise par Cisco ASA
Mise en place d'un reseau securise par Cisco ASA
 
Implementing 802.1x Authentication
Implementing 802.1x AuthenticationImplementing 802.1x Authentication
Implementing 802.1x Authentication
 
Support cours : Vos premiers pas avec le pare feu CISCO ASA
Support cours : Vos premiers pas avec le pare feu CISCO ASASupport cours : Vos premiers pas avec le pare feu CISCO ASA
Support cours : Vos premiers pas avec le pare feu CISCO ASA
 
Cisco ASA
Cisco ASACisco ASA
Cisco ASA
 
Aruba ClearPass Guest 6.3 User Guide
Aruba ClearPass Guest 6.3 User GuideAruba ClearPass Guest 6.3 User Guide
Aruba ClearPass Guest 6.3 User Guide
 
Airheads Tech Talks: Cloud Guest SSID on Aruba Central
Airheads Tech Talks: Cloud Guest SSID on Aruba CentralAirheads Tech Talks: Cloud Guest SSID on Aruba Central
Airheads Tech Talks: Cloud Guest SSID on Aruba Central
 
Composants et fonctionnement d'un Switch Cisco
Composants et fonctionnement d'un Switch Cisco Composants et fonctionnement d'un Switch Cisco
Composants et fonctionnement d'un Switch Cisco
 
Support formation vidéo : Cisco ASA, configuration
Support formation vidéo : Cisco ASA, configurationSupport formation vidéo : Cisco ASA, configuration
Support formation vidéo : Cisco ASA, configuration
 
CCNA Security - Chapter 3
CCNA Security - Chapter 3CCNA Security - Chapter 3
CCNA Security - Chapter 3
 
Roaming behavior and Client Troubleshooting
Roaming behavior and Client TroubleshootingRoaming behavior and Client Troubleshooting
Roaming behavior and Client Troubleshooting
 
Packet Tracer: Cisco, Spanning tree protocol
Packet Tracer: Cisco, Spanning tree protocolPacket Tracer: Cisco, Spanning tree protocol
Packet Tracer: Cisco, Spanning tree protocol
 
ClearPass design scenarios that solve the toughest security policy requirements
ClearPass design scenarios that solve the toughest security policy requirementsClearPass design scenarios that solve the toughest security policy requirements
ClearPass design scenarios that solve the toughest security policy requirements
 
Large scale, distributed access management deployment with aruba clear pass
Large scale, distributed access management deployment with aruba clear passLarge scale, distributed access management deployment with aruba clear pass
Large scale, distributed access management deployment with aruba clear pass
 
EMEA Airheads- ArubaOS - High availability with AP Fast Failover
EMEA Airheads- ArubaOS - High availability with AP Fast FailoverEMEA Airheads- ArubaOS - High availability with AP Fast Failover
EMEA Airheads- ArubaOS - High availability with AP Fast Failover
 
Aruba clearpass ebook_chpt1_final
Aruba clearpass ebook_chpt1_finalAruba clearpass ebook_chpt1_final
Aruba clearpass ebook_chpt1_final
 
Airheads Tech Talks: Advanced Clustering in AOS 8.x
Airheads Tech Talks: Advanced Clustering in AOS 8.xAirheads Tech Talks: Advanced Clustering in AOS 8.x
Airheads Tech Talks: Advanced Clustering in AOS 8.x
 
Real-world 802.1X Deployment Challenges
Real-world 802.1X Deployment ChallengesReal-world 802.1X Deployment Challenges
Real-world 802.1X Deployment Challenges
 
Aruba Instant 6.4.0.2-4.1 Command Line Interface Reference Guide
Aruba Instant 6.4.0.2-4.1 Command Line Interface Reference GuideAruba Instant 6.4.0.2-4.1 Command Line Interface Reference Guide
Aruba Instant 6.4.0.2-4.1 Command Line Interface Reference Guide
 

Semelhante a Tacacs

Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE Dhruv Sharma
 
5 ip security ipsec gre
5 ip security ipsec gre5 ip security ipsec gre
5 ip security ipsec greSagarR24
 
5 ip security dataplace security
5 ip security dataplace security5 ip security dataplace security
5 ip security dataplace securitySagarR24
 
5 ip security copp-mpp
5 ip security copp-mpp5 ip security copp-mpp
5 ip security copp-mppSagarR24
 
010 sa302 aaa+ldap
010 sa302 aaa+ldap010 sa302 aaa+ldap
010 sa302 aaa+ldapBabaa Naya
 
010 sa302 aaa+ldap
010 sa302 aaa+ldap010 sa302 aaa+ldap
010 sa302 aaa+ldapBabaa Naya
 
5 ip security asa-partb
5 ip security asa-partb5 ip security asa-partb
5 ip security asa-partbSagarR24
 
Terminal Access Controller
Terminal Access ControllerTerminal Access Controller
Terminal Access ControllerKHNOG
 
AAA Best Practices
AAA Best PracticesAAA Best Practices
AAA Best PracticesSagar Gor
 
5 ip security aaa and acl
5 ip security aaa and acl5 ip security aaa and acl
5 ip security aaa and aclSagarR24
 
Cisco ise jun os and ios xr - tacacs+ integration
Cisco ise   jun os and ios xr - tacacs+ integrationCisco ise   jun os and ios xr - tacacs+ integration
Cisco ise jun os and ios xr - tacacs+ integrationArunKumar Subbiah
 
5 ip security urpf
5 ip security urpf5 ip security urpf
5 ip security urpfSagarR24
 
5 ip security aaa
5 ip security aaa5 ip security aaa
5 ip security aaaSagarR24
 
Cisco Router and Switch Security Hardening Guide
Cisco Router and Switch Security Hardening GuideCisco Router and Switch Security Hardening Guide
Cisco Router and Switch Security Hardening GuideHarris Andrea
 
SSMS-waitstats
SSMS-waitstatsSSMS-waitstats
SSMS-waitstatsE Blake
 
Securing management, control & data plane
Securing management, control & data planeSecuring management, control & data plane
Securing management, control & data planeNetProtocol Xpert
 
How to Bulletproof Your Scylla Deployment
How to Bulletproof Your Scylla DeploymentHow to Bulletproof Your Scylla Deployment
How to Bulletproof Your Scylla DeploymentScyllaDB
 

Semelhante a Tacacs (20)

Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE
 
5 ip security ipsec gre
5 ip security ipsec gre5 ip security ipsec gre
5 ip security ipsec gre
 
5 ip security dataplace security
5 ip security dataplace security5 ip security dataplace security
5 ip security dataplace security
 
5 ip security copp-mpp
5 ip security copp-mpp5 ip security copp-mpp
5 ip security copp-mpp
 
010 sa302 aaa+ldap
010 sa302 aaa+ldap010 sa302 aaa+ldap
010 sa302 aaa+ldap
 
010 sa302 aaa+ldap
010 sa302 aaa+ldap010 sa302 aaa+ldap
010 sa302 aaa+ldap
 
5 ip security asa-partb
5 ip security asa-partb5 ip security asa-partb
5 ip security asa-partb
 
Terminal Access Controller
Terminal Access ControllerTerminal Access Controller
Terminal Access Controller
 
AAA Best Practices
AAA Best PracticesAAA Best Practices
AAA Best Practices
 
5 ip security aaa and acl
5 ip security aaa and acl5 ip security aaa and acl
5 ip security aaa and acl
 
Cisco ise jun os and ios xr - tacacs+ integration
Cisco ise   jun os and ios xr - tacacs+ integrationCisco ise   jun os and ios xr - tacacs+ integration
Cisco ise jun os and ios xr - tacacs+ integration
 
5 ip security urpf
5 ip security urpf5 ip security urpf
5 ip security urpf
 
5 ip security aaa
5 ip security aaa5 ip security aaa
5 ip security aaa
 
Iuwne10 S02 L02
Iuwne10 S02 L02Iuwne10 S02 L02
Iuwne10 S02 L02
 
AAA Implementation
AAA ImplementationAAA Implementation
AAA Implementation
 
Cisco Router and Switch Security Hardening Guide
Cisco Router and Switch Security Hardening GuideCisco Router and Switch Security Hardening Guide
Cisco Router and Switch Security Hardening Guide
 
SSMS-waitstats
SSMS-waitstatsSSMS-waitstats
SSMS-waitstats
 
Securing management, control & data plane
Securing management, control & data planeSecuring management, control & data plane
Securing management, control & data plane
 
PHP tips by a MYSQL DBA
PHP tips by a MYSQL DBAPHP tips by a MYSQL DBA
PHP tips by a MYSQL DBA
 
How to Bulletproof Your Scylla Deployment
How to Bulletproof Your Scylla DeploymentHow to Bulletproof Your Scylla Deployment
How to Bulletproof Your Scylla Deployment
 

Mais de 1 2d

Notas clase
Notas claseNotas clase
Notas clase1 2d
 
Notas clase java ii
Notas clase java iiNotas clase java ii
Notas clase java ii1 2d
 
J2me
J2meJ2me
J2me1 2d
 
6. control de acceso
6. control de acceso6. control de acceso
6. control de acceso1 2d
 
5. administracioìn de claves y certificados
5. administracioìn de claves y certificados5. administracioìn de claves y certificados
5. administracioìn de claves y certificados1 2d
 
4. certificados digitales
4. certificados digitales4. certificados digitales
4. certificados digitales1 2d
 
3. boletines de mensajes y firmas digitales
3. boletines de mensajes y firmas digitales3. boletines de mensajes y firmas digitales
3. boletines de mensajes y firmas digitales1 2d
 
2. criptografiìa con java
2. criptografiìa con java2. criptografiìa con java
2. criptografiìa con java1 2d
 
1. introduccioìn a la seguridad
1. introduccioìn a la seguridad1. introduccioìn a la seguridad
1. introduccioìn a la seguridad1 2d
 
1046 pdfsam opos informatica
1046 pdfsam opos informatica1046 pdfsam opos informatica
1046 pdfsam opos informatica1 2d
 
1203 pdfsam opos informatica
1203 pdfsam opos informatica1203 pdfsam opos informatica
1203 pdfsam opos informatica1 2d
 
878 pdfsam opos informatica
878 pdfsam opos informatica878 pdfsam opos informatica
878 pdfsam opos informatica1 2d
 
516 pdfsam opos informatica
516 pdfsam opos informatica516 pdfsam opos informatica
516 pdfsam opos informatica1 2d
 
1704 pdfsam opos informatica
1704 pdfsam opos informatica1704 pdfsam opos informatica
1704 pdfsam opos informatica1 2d
 
1893 pdfsam opos informatica
1893 pdfsam opos informatica1893 pdfsam opos informatica
1893 pdfsam opos informatica1 2d
 
516 pdfsam opos informatica
516 pdfsam opos informatica516 pdfsam opos informatica
516 pdfsam opos informatica1 2d
 
706 pdfsam opos informatica
706 pdfsam opos informatica706 pdfsam opos informatica
706 pdfsam opos informatica1 2d
 
330 pdfsam opos informatica
330 pdfsam opos informatica330 pdfsam opos informatica
330 pdfsam opos informatica1 2d
 
1 pdfsam opos informatica
1 pdfsam opos informatica1 pdfsam opos informatica
1 pdfsam opos informatica1 2d
 
1379 pdfsam opos informatica
1379 pdfsam opos informatica1379 pdfsam opos informatica
1379 pdfsam opos informatica1 2d
 

Mais de 1 2d (20)

Notas clase
Notas claseNotas clase
Notas clase
 
Notas clase java ii
Notas clase java iiNotas clase java ii
Notas clase java ii
 
J2me
J2meJ2me
J2me
 
6. control de acceso
6. control de acceso6. control de acceso
6. control de acceso
 
5. administracioìn de claves y certificados
5. administracioìn de claves y certificados5. administracioìn de claves y certificados
5. administracioìn de claves y certificados
 
4. certificados digitales
4. certificados digitales4. certificados digitales
4. certificados digitales
 
3. boletines de mensajes y firmas digitales
3. boletines de mensajes y firmas digitales3. boletines de mensajes y firmas digitales
3. boletines de mensajes y firmas digitales
 
2. criptografiìa con java
2. criptografiìa con java2. criptografiìa con java
2. criptografiìa con java
 
1. introduccioìn a la seguridad
1. introduccioìn a la seguridad1. introduccioìn a la seguridad
1. introduccioìn a la seguridad
 
1046 pdfsam opos informatica
1046 pdfsam opos informatica1046 pdfsam opos informatica
1046 pdfsam opos informatica
 
1203 pdfsam opos informatica
1203 pdfsam opos informatica1203 pdfsam opos informatica
1203 pdfsam opos informatica
 
878 pdfsam opos informatica
878 pdfsam opos informatica878 pdfsam opos informatica
878 pdfsam opos informatica
 
516 pdfsam opos informatica
516 pdfsam opos informatica516 pdfsam opos informatica
516 pdfsam opos informatica
 
1704 pdfsam opos informatica
1704 pdfsam opos informatica1704 pdfsam opos informatica
1704 pdfsam opos informatica
 
1893 pdfsam opos informatica
1893 pdfsam opos informatica1893 pdfsam opos informatica
1893 pdfsam opos informatica
 
516 pdfsam opos informatica
516 pdfsam opos informatica516 pdfsam opos informatica
516 pdfsam opos informatica
 
706 pdfsam opos informatica
706 pdfsam opos informatica706 pdfsam opos informatica
706 pdfsam opos informatica
 
330 pdfsam opos informatica
330 pdfsam opos informatica330 pdfsam opos informatica
330 pdfsam opos informatica
 
1 pdfsam opos informatica
1 pdfsam opos informatica1 pdfsam opos informatica
1 pdfsam opos informatica
 
1379 pdfsam opos informatica
1379 pdfsam opos informatica1379 pdfsam opos informatica
1379 pdfsam opos informatica
 

Último

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 

Último (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

Tacacs

  • 1. C H A PT ER 5 Configuring TACACS+ This chapter describes the Terminal Access Controller Access Control System Plus (TACACS+), a Cisco proprietary version of TACACS. Note STP UplinkFast has also been added for this release, and it is documented in the “Enabling STP UplinkFast” section on page 3-18. TACACS+ provides the means to manage network security (authentication, authorization, and accounting [AAA]) from a server. This section describes how TACACS+ works and how you can configure it. For complete syntax and usage information for the commands described in this chapter, refer to the Cisco IOS Desktop Switching Command Reference or to the “Security” chapter of the Cisco IOS 11.3 Command Summary. These sections describe how to configure TACACS+: • “How TACACS+ Works” section on page 5-1 • “Configuring TACACS+” section on page 5-2 How TACACS+ Works In large enterprise networks, the task of administering passwords on each device can be simplified by doing the user authentication centrally on a server. TACACS+ is an access-control protocol that allows a switch to authenticate all login attempts through a central authentication server. The network administrator configures the switch with the address of the TACACS+ server, and the switch and the server exchange messages to authenticate each user before allowing access to the management console. Configuring TACACS+ 5-1
  • 2. Configuring TACACS+ TACACS+ consists of three services: authentication, authorization, and accounting. Authentication is the action of determining who the user is and whether he or she is allowed access to the switch. Authorization is the action of determining what the user is allowed to do on the system. Accounting is the action of collecting data related to resource usage. Configuring TACACS+ The TACACS+ feature is disabled by default. However, you can enable and configure it using the command-line interface (CLI). You can access the CLI through the console port or via Telnet. In order to prevent a lapse in security, you cannot configure TACACS+ through a network-management application. When enabled, TACACS+ can authenticate users accessing the switch through either the console or Telnet. The following sections describe how to configure the primary features of AAA/TACACS+: • Enabling AAA/TACACS+ • Enabling Authentication for Login • Specifying TACACS+ Authorization for EXEC Access and Network Services • Starting TACACS+ Accounting • Establishing the TACACS+ Server Host • Configuring a Switch for Local AAA Configuration Note Although TACACS+ configuration is done using the CLI, the TACACS+ server will authenticate CVSM connections that have been configured with a privilege level of 15. 5-2 Cisco IOS Desktop Switching Enterprise Edition Software Configuration Guide
  • 3. Configuring TACACS+ Enabling AAA/TACACS+ Use the aaa new-model command to enable AAA/TACACS+. Enter the following commands in global configuration mode: Task Command Enable AAA/TACACS+. aaa new-model Enabling Authentication for Login Using the aaa authentication login command and the following keywords, you create one or more lists of authentication methods that are tried at login. The lists are used with the login authentication line configuration command. Enter the following command in global configuration mode to enable authentication for login: Switch# aaa authentication login {default | list-name} method1 [...[method3]] The keyword list-name is any character string used to name the list you are creating. The method keyword refers to the actual method the authentication algorithm tries, in the sequence entered. You can enter up to three methods: Keyword Description line Uses the line password for authentication. local Uses the local username database for authentication. tacacs+ Uses TACACS+ authentication. To create a default list that is used if no list is specified in the login authentication command, use the default argument followed by the methods you want used in default situations. The additional methods of authentication are used only if the previous method returns an error, not if it fails. To specify that the authentication succeed even if all methods return an error, specify none as the final method in the command line. Configuring TACACS+ 5-3
  • 4. Configuring TACACS+ Specifying TACACS+ Authorization for EXEC Access and Network Services You can use the aaa authorization command with the tacacs+ keyword to set parameters that restrict a user’s network access to Cisco IOS privilege mode (EXEC access) and to network services such as Serial Line Internet Protocol (SLIP), Point to Point Protocol (PPP) with Network Control Protocols (NCPs), and AppleTalk Remote Access (ARA). The aaa authorization exec tacacs+ local command sets the following authorization parameters: • Use TACACS+ for EXEC access authorization if authentication was done using TACACS+. • Use the local database if authentication was not done using TACACS+. Note Authorization is bypassed for authenticated users who log in through the CLI, even if authorization has been configured. To specify TACACS+ authorization for EXEC access and network services, perform the following tasks in global configuration mode: Task Command User TACACS+ authorization for all network-related aaa authorization network tacacs+ service requests, including SLIP, PPP NCPs, and ARA protocol. User TACACS+ authorization to determine if the user is aaa authorization exec tacacs+ allowed EXEC access. This keyword might return user profile information (such as autocommand information). 5-4 Cisco IOS Desktop Switching Enterprise Edition Software Configuration Guide
  • 5. Configuring TACACS+ Starting TACACS+ Accounting You use the aaa accounting command with the tacacs+ keyword to turn on TACACS+ accounting for each Cisco IOS privilege level and for network services. To use TACACS+ accounting to send a start-record accounting notice at the beginning of an EXEC process and a stop-record at the end, enter the following command in global configuration mode: Switch# aaa accounting exec start-stop tacacs+ To use TACACS+ to account for all network-related service requests, including SLIP, PPP, and PPP NCPs, perform the following task in global configuration mode: Switch# aaa accounting network start-stop tacacs+ Note This command is documented in the “Accounting and Billing Commands” chapter of the Security Command Reference. Establishing the TACACS+ Server Host Use the tacacs-server host command to specify the names of the IP host or hosts maintaining a AAA/TACACS+ server. On TACACS+ servers, you can configure the following additional options: • Period of time (in seconds) the switch attempts to contact the server before it times out. • Encryption key to encrypt and decrypt all traffic between the router and the daemon. • Number of attempts that a user can make when entering a command that is being authenticated by TACACS+. Configuring TACACS+ 5-5
  • 6. Configuring TACACS+ You can use the tacacs-server retransmit command to change the number of times the system software searches the list of TACACS servers (the default is two) and the interval it waits for a reply (the default is 5 seconds). Perform the following tasks in global configuration mode: Task Command Step 1 Define a TACACS+ host. Entering the timeout and tacacs-server host name [timeout key parameters with this command overrides the integer] [key string] global values that you can enter with the tacacs-server timeout (Step 3) and the tacacs-server key commands (Step 5). Step 2 Enter the number of times the server searches the tacacs-server retransmit retries list of TACACS+ servers before stopping. Step 3 Set the interval the server waits for a TACACS+ tacacs-server timeout seconds server host to reply. Step 4 Set the number of login attempts that can be made tacacs-server attempts count on the line. Step 5 Define a set of encryption keys for all TACACS+ tacacs-server key key and communication between the access server and the TACACS daemon. (Repeat the command for each encryption key.) Step 6 Return to privileged EXEC mode. exit Step 7 Confirm the TACACS+ server information and show tacacs display statistics in privileged EXEC mode. 5-6 Cisco IOS Desktop Switching Enterprise Edition Software Configuration Guide
  • 7. Configuring TACACS+ Configuring a Switch for Local AAA Configuration You can configure AAA to operate without a server by setting the switch to implement AAA in local mode. Authentication and authorization are then handled by the switch. No accounting is available in this configuration. Perform the following tasks in global configuration mode: Task Command Step 1 Enable AAA. aaa new-model Step 2 Set login authorization to default to local. aaa authentication login default local Step 3 User AAA authorization for all aaa authorization exec local network-related service requests, including SLIP, PPP NCPs, and ARA protocol. Step 4 User AAA authorization to determine if the aaa authorization network local user is allowed to run an EXEC shell. Step 5 Enter the local database. (Repeat the username name password password command for each user.) privilege level (0 to 15) Configuring TACACS+ 5-7
  • 8. Configuring TACACS+ 5-8 Cisco IOS Desktop Switching Enterprise Edition Software Configuration Guide