Configuring Role-Based Access Control
This chapter describes how to configure role-based access control (RBAC) on the Cisco 4700 Series Application Control Engine (ACE) appliance. This chapter contains the following sections:
•Configuring RBAC Using the Device Manager GUI
•Configuring RBAC Using the CLI
After reading this chapter, you should have a basic understanding of how the ACE appliance provides security administration by using RBAC and how to configure a server maintenance user with permission to access a subset of your network.
One of the most challenging problems in managing large networks is the complexity of security administration. The ACE appliance allows you to determine the commands and resources available to each user through RBAC. In RBAC, users are associated with domains and roles.
A domain is a collection of physical and virtual network resources such as real servers and virtual servers.
User roles determine a user's privileges, such as the commands that the user can enter and the actions the user can perform in a particular context. The ACE provides a number of predefined roles. In addition, administrators in any context can define new roles.
The ACE provides the following predefined roles, which you cannot delete or modify:
•Admin—If created in the Admin context, has complete access to, and control over, all contexts, domains, roles, users, resources, and objects in the entire ACE. If created in a user context, gives a user complete access to and control over all policies, roles, domains, server farms, real servers, and other objects in that context.
•Network Admin—Has complete access to and control over the following features:
–Network Address Translation (NAT)
•Network-Monitor—Has access to all show commands and to the changeto and exec commands. If you do not explicitly assign a role to a user with the username command, this is the default role.
•Security-Admin—Has complete access to and control over the following security-related features within a context:
–Authentication and accounting (AAA)
•Server-Appln-Maintenance—Has complete access to and control over the following features:
•Server-Maintenance—Can perform real server maintenance, monitoring, and debugging for the following features:
–Real servers—Modify permission
–Server farms—Debug permission
–Load balancing—Debug permission
–changeto command—Create permission
–exec command—Create permission
•SLB-Admin—Has complete access to and control over the following ACE features within a context:
–Load balancing (Layer 3/4 and Layer 7)
•SSL-Admin—Can administer all SSL features:
–Copy configurations—Create permission
–changeto command—Create permission
You can create a user and assign them privileges through RBAC as follows:
Step 1 Create a domain and choose network resources for the domain.
Step 2 Create a user and associate the user with the following:
•A role (predefined or custom)
This chapter describes how to create a domain and a user, and how to associate the user with a predefined role and the new domain. For more information on predefined roles and how to define a custom role, see the Cisco 4700 Series Application Control Engine Appliance Virtualization Configuration Guide.
To create a domain and a user, you can use either the ACE Device Manager GUI or the CLI.
Configuring RBAC Using the Device Manager GUI
In this procedure, you use the GUI to create a domain that includes the user context that you created in Chapter 3, "Creating a Virtual Context," and then create a server maintenance user, user1, to manage those servers. Configure this RBAC setup using the GUI by following these steps:
Step 1 Choose VC_web.
Step 2 Choose Admin > Role-Based Access Control > Domains. The Domains pane appears (Figure 5-1).
Figure 5-1 Domains Pane
Step 3 Click Add to add a new domain. The New Domain window appears (Figure 5-2).
Figure 5-2 Domains Window
Step 4 Enter Domain1 for the Name.
Step 5 Check the All Objects check box.
Step 6 Click Deploy Now to create a domain that includes all objects in context VC_web.
Step 7 Choose Role-Based Access Control > Users to create a user. The Users pane appears (Figure 5-3).
Figure 5-3 Users Pane
Step 8 Click Add. The User window appears (Figure 5-4).
Figure 5-4 Users Window
Step 9 Enter the following user attributes. Leave the remaining attributes blank or with the default values.
Step 10 Choose Domain1 and click the right-arrow button. Domain1 is moved from Available to the Selected list.
Step 11 Choose default-domain and click the left-arrow button. Default-domain is removed from the Selected list.
Step 12 Associate the new user user1 with the role Server-Maintenance and the domain Domain1 by clicking Deploy Now. The new user is added to the Users pane (Figure 5-5).
Figure 5-5 Users Pane with user1 Added
Configuring RBAC Using the CLI
Configure RBAC using the CLI by following these steps:
Step 1 Verify that you are operating in the desired context by checking the CLI prompt. If necessary, change to the correct context.
host1/Admin# changeto VC_web
Step 2 Enter configuration mode.
Step 3 Create a domain for the context.
host1/VC_web(config)# domain Domain1
Step 4 Allocate all objects in the VC_web context to the domain.
host1/VC_web(config-domain)# add-object all
Step 5 Configure new user user1, and assign the predefined role TECHNICIAN and the domain Domain1 to the user.
host1/VC_web(config)# username user1 password 5 MYPASSWORD role
TECHNICIAN domain Domain1
Note The parameter 5 for password is for an MD5-hashed strong encryption password. Use 0 for a clear text password.
Step 6 Display the user and domain configurations.
host1/VC_web# show running-config role
host1/VC_web# show running-config domain
In this chapter, you have created a user to perform a limited number of functions on a subset of your network. Next, you will create a virtual server for server load balancing.