Chapter 5 – Using Cisco Configuration Professional to protect the network infrastructure

What is Cisco Configuration Professional (CCP)?

CCP = GUI device management tool for managing Cisco routers.

CCP enables administrators to easily organize and manage multiple routers at a single site by grouping those routers together into what CCP calls a device community.

Common task performed by CCP

Implementation of

  • routing,
  • firewalls,
  • intrusion prevention systems (IPS),
  • virtual private networks (VPN),
  • unified communications, and
  • many other features on an IOS router.
  • monitoring functions,
  • troubleshooting a router
  • group routers to form device community

Configuration files of CCP:

  • local on the computer (CCP)
  • on the flash file system of the router (CCP express)

What is CCP Express

CCP Express is CCP GUI tool, it is a smaller version of the full CCP. This version may be preinstalled on flash, and may be run as a Java applet from the computer that is connecting to the router. This version is preinstalled from the factory on some Cisco routers.

Menu and Option Bars on CCP

Following are menu and option bars on CCP GUI. Best way to learn CCP is to play with these menu and option bars by performing different exercises. We will provide description for some option whenever we use it. For mastering all the options configuration in real labs using CCP is recommended.

  • Menu Bar
    • Application
      • Manage Community
      • Setup New Device
      • Create User Profile
      • Import User Profile
      • Options
      • Template
      • Work offline
      • Exit
    • Help
      • Help Contents
      • Feedback
      • About
  • Toolbar
    • Home Button
    • Configure Button
    • Monitor Button
    • Manage Community Icon
    • Refresh Icon
    • Provide Feedback to Cisco Icon
    • Help Icon
    • Search Icon
  • Left Navigation Pane
  • Content Pane
  • Status Bar

Prerequisite for using CCP

  1. Router is powered on
  2. Router is reachable from your PC (simple ping test)
  3. CCP is installed on your PC

Use CCP Express preinstalled on router flash to manage router

On a router with CCP express preinstalled on the flash, use a crossover cable and connect directly from a PC Ethernet interface to the first Ethernet port on the router. Configure your PC to obtain an IP address via a Dynamic Host Configuration Protocol (DHCP)server, and then open a browser to 10.10.10.1. If your PC is not configured to use a DHCP server, you can assign a static address in that same 10.10.10.0/24 address space.

Use CCP installed on your PC to manage router

If you are going to manage an existing router that does not have CCP installed on the flash, you can download CCP from Cisco.com and install it on your local computer. You want to make sure the following items are in place (for configuration of below tasks view next section):

  • The router should be enabled to support HTTP or HTTPS.
  •  The authentication for HTTP/S should be set to use the local database (the runningconfig) on the router.
  • Username with privilege level 15 rights should be created on the router.

What is community?

A  communityis a group of routers that share common things (single geographic location, all running firewall services) . The concept of having a community makes it easier for the administrator to work with a group of devices from one common interface.

Number of routers in a community

A single community can contain a maximum of 10 devices. So, if you have 15 routers that you want to manage, you must create at least two communities to support that many devices.

What are templates?

For same type of configuration over and over, do it once and then just copy/paste for the rest. This procedure of making reusable configuration is called template.

What is parameterizing?

You have the perfect router configuration that you want to replicate to five more routers. Following is a list of task you want to perform

  • All routers should have different names.
  • Template feature enables you to identify parts of a configuration that you need to change before putting the configuration on a second or third router.
  • The elements you are going to change, such as the hostname, the template turns into a variable, then as you apply the template to new devices, you can just swap out those variables with the new values you want to use (for example, a new hostname for the third router and a different hostname again for the fourth router).
  • Using this strategy, we could use the same template overand over again.
  • The process of identifying the individual components that will change from router to router and converting them to variables is done through a process called parameterizing. 
  • Username with privilege level 15 rights should be created on the router.

What are applications of user profile features? Give some example

The user profile feature enables you to restrict which features show up as available in the left side navigation pane of CCP. The profile controls which options are shown, based on which devices the user is managing. For example, you might want to hide the configuration options for a group of Border Gateway Protocol (BGP)routers from the CCP installation that is running on the help desk computers.

Tasks we will perform in this tutorial using CCP

  1. Setting up your device (PC) with CCP installed to use router.
    1. Prepare the router to accept HTTP/HTTPs connections from CCP
  2. Community Tasks
    1. Create a community
    2. Add devices to community
    3. Discover all the devices in the community
  3. Create and apply a template
    1. Create a template
    2. Apply a template
  4. Create and implement a user profile
    1. Create a user profile
    2. Apply a user profile
  5. Perform a Security Audit

Setting up your device (PC) with CCP installed to use router.

Prepare the router to accept HTTP/HTTPs connections from CCP

  • Enable HTTP services on the router to be managed and discovered (less secure)
    • R1(config)#ip http server
  • Enable HTTPS services on the router to be managed and discovered (more secure)
    • R1(config)#ip http secure-server
  • Create a local user account on the router with “Level 15″ permissions  (privileged mode), and creates an MD5 hashed password
    • R1(config)#username admin privilege 15 secret cisco
  •  Tell the router that when people connect via HTTP or HTTPS, request a user name and password, and use the local running-configuration (also called the local database) to verify the username and password supplied during authentication to verify if the username and password are correct, before allowing access
  • R1(config)# ip http authentication local

Community Tasks

Create a community

  1. Use the Manage Community dialog box to create communities. The Manage Community dialog box automatically displays when you start CCP, and a community called New Community is created by default. You can change the default community name.

Add devices to community

  1. Open Manage Community Dialog Box
  • Menu Bar -> Application -> Manage Community
  • Tool Bar -> Manage Community
  1. In the Manage Community dialog box, enter the IP address or hostname and the username and password information for the devices to configure.
  1. To have CCP connect securely with the device, check the Connect Securelycheck box.
  1. To change the default port information, click the down arrowto the right of the device, and enter a new port value.

Discover all the devices in the community

  1. To have CCP discover all the devices in a community, check the Discover All Devicescheck box.

Create and apply a template

Create a template

  1. Menu Bar -> Application -> Template -> Create
  2.  Choose one of your discovered routers from the Discovered Routerdropdown list, or select a file that that can be accessed from your PC to use as the source for the template that is being created. Click Nextto continue.
  3. Highlight the items that need to be replaced, before placing the configuration on another router, such as hostname and IP addresses. After highlighting each item, click the Parameterizebutton. This causes those items to be identified as a variable that would need to be replaced before applying the configuration to another router. Just delete any content you do not want included in part of the new template, and then click Finish.
  4. Save the file, using an extension of your choice on a file system that is reachable from your computer, such as the hard drive. You import this file in a later step.

Apply a template

  1. Menu Bar -> Application -> Template ->Apply
  2. Browse for and select the previously saved template file, and then click Next. Click the Find Parameterized Attributebutton to search for and identify the previously identified variables and replace them with the values you want to use for the router that will receive this configuration. Then click Next to continue.
  3. From the drop-down list, select the previously discovered router that youwant to apply this new configuration to. You can select to merge the configuration with the existing router configuration, or you can choose to completely override the existing configuration of the router receiving the template. Click Nextto continue, followed by the Finishbutton.

Create and implement a user profile

Create a user profile

  1. Application -> Create Use Profile
  2. Read the welcome screen and click Next.
  3. Using the check boxes, select the routers that this user profile will have an effect on, as to which features will be available for the administrator to configure. Figure 5-10 shows an example of this. Click Next.
  4. Expand the contents of the folders by clicking the triangle to the left of each item. Repeat this process to expand and see the items that make up the viewable options in the navigation pane. Select the navigation pane permissions you want to provide for each option by clicking the icon and select what level of permissions to this item you want to give to the user who will be using this profile. Figure 5-11 shows an example. When done with your selections, click Next.
  5. Click the Save User Profilebutton, and then specify where you want to save this profile. After the user profile is saved as a file, click Finish.

Apply a user profile

  1. On the computer where you want to apply the restrictive user profile for CCP, from the Application menu, choose Import User Profile.
  2. Click the Browsebutton and open the previously saved user template file. Click Next. From here, you can confirm your settings for this template, then click Nextto apply this user profile to this installation of CCP, and then click Finish.

Perform a Security Audit

  1. Toolbar -> Configure -> Security -> Security Audit
  2. Click Perform Security Audit, read the welcome page, and then click Next. If a one-step lockdown is desired, that option appears on this page
  3. For each interface listed, check either the Insideor Outsidecheck box to indicate where the interface connects, and then click Next.
  4. The Security Audit Wizard checks the router configuration to identify which possible security problems may exist. A screen showing the progress of this action appears, and it lists all the configuration options being tested for and whether the current router configuration passes those tests. The Security Audit Report Card screen appears, showing a list of possible security problems. Click Close to continue.
  5. Check the Fix Itboxes next to any problems that you want CCP to fix. After you have identified what to correct, click Next.
  6. The CCP Security Audit Wizard may display one or more screens requiring you to enter information to fix certain problems, such as a banner message or details about implementing a firewall, depending on which items are being corrected. Enter the information as required and click the Nextbutton for each of those screens.
  7. The Summary page of the wizard shows a list of all the configuration changes that Security Audit will make. Click Finishto deliver those changes to your router.

What is one step lock down?

Another option, you can use instead of using the interactive Security Audit Wizard, is the One-Step Lockdown feature. It addresses several features, particularly those that do not require the administrator to provide input. It provide only a subset of security measures that the full interactive Security Audit feature can perform.

Other Features of Security Audit

Following are other features of security audit. For mastering all these features we recommend performing these tasks using CCP in lab.

  1. Disable finger service
  2. Disable TCP and UDP small Servers Service
  3. Disable IP BOOTP Server Service
  4. Disable IP identification Service
  5. Disable CDP
  6. Disable IP source route
  7. Enable Password Encryption Service
  8. Enable TCP Keepalives for Inbound and Outbound Telnet Sessions
  9. Enable IP CEF
  10. Disable IP Gratuitous ARPs
  11. Set Minimum Password Length to More Than 6 Characters
  12. Set Authentication Failure Rate to Less Than 3 Retries
  13. Set TCP SYN-Wait Time to 10 Seconds
  14. Set Banner
  15. Enable Logging
  16. Set Enable Secret Password
  17. Disable SNMP
  18. Set Scheduler Interval
  19. Set Scheduler Allocate
  20. Set Users
  21. Enable Telnet Settings
  22. Disable IP Redirects
  23. Disable IP Proxy ARP
  24. Disable IP Directed Broadcast
  25. Disable MOP Service
  26. Disable IP Unreachables
  27. Disable IP Mask Reply
  28. Enable Unicast RPF on Outside Interfaces
  29. Enable Firewall on All of the Outside Interfaces
  30. Set Access Class on HTTP Server Service and vty Lines
  31. Enable SSH for Access to the Router
  32. Enable AAA

Search

Shortcodes Ultimate

 
Follow Us
 
BGP