Guest

Design Zone for WAN/MAN

Infrastructure Protection and Security Service Integration for the Next Generation WAN Edge v2.0

Table Of Contents

Infrastructure Protection and Security Service Integration Design for the Next Generation WAN Edge v2.0

Contents

Introduction

Target Audience

Scope of Work

Out of Scope for this Document

Design Overview

Assumptions

Design Components

WAN Speed Profiles

Securing the NG WAN Edge

Network Fundamentals

Best Practices and Known Limitations

Best Practices Summary

Known Limitations Summary

Design and Implementation

Design Considerations

Security Concepts—Implementation and Configuration

Infrastructure Protection Mechanisms

Security Service Integration

Encryption Services (VPN Topology)

High Availability (Redundancy)

Redundant Multi-Threaded in a Single Site Location

Multiple Single-Threaded Site Locations of NGWAN Edge

Network Fundamentals

QoS for WAN Aggregation Routers

Routing Protocol Implementation

Scalability Considerations

Performance and Scalability Considerations

Packets Per Second

Hardware Crypto Acceleration is Required

VPN Topology and Routing Protocol Design

WAN Throughput

Level and Type of Logging of Security Mechanisms

IPsec Encryption Throughput

Software Releases Evaluated

Test Bed Configuration Files

Profile 1 Configurations

Profile 1—Full Configuration for Cisco 7200VXR Crypto Aggregation Routers

Profile 1—Full Configuration for Cisco 7301 WAN Routers

Profile 1—Configuration for Cisco ASA 5540s

Profile 2 Configurations

Profile 2—Full Configuration for Cisco 7200VXR Integrated-Crypto Aggregation and WAN Systems

Profile 2—Full Configuration for Cisco ASA 5540

Profile 3 Configurations

Profile 3—Full Configuration for Cisco 7600 Crypto Aggregation System

Profile 3—Full Configuration for Cisco 7304 WAN Router

Profile 3—Configuration for Cisco Firewall Service Modules

Profile 4 Configurations

Profile 4—Full Configuration for Cisco 7600 Crypto Aggregation and WAN System

Profile 4—Full Configuration for Cisco Firewall Service Module

L2 Switch Configurations for all Profiles

All Profiles—Full Configuration for Cisco Catalyst 3560 Switch (Used Mainly as L2 Switch)

Appendix A—Other Possible Topologies

References and Reading

Documents

Request For Comment (RFC) Papers

Acronyms


Infrastructure Protection and Security Service Integration Design for the Next Generation WAN Edge v2.0


Modern WAN architectures require additional network capabilities to support current higher bandwidth and mission-critical applications. Requirements for deploying voice over IP (VoIP) and video conferencing include high availability, IP multicast, and quality of service (QoS). Today, most enterprises rely on private WAN connections such as Frame Relay, ATM, or leased-line services to connect their businesses. When deploying a traditional Frame Relay or ATM-based private WAN, however, network operations must implement point-to-point or hub-and-spoke architectures that make provisioning and management of moves, adds, or changes on the network complex. Also, the operational expense for a private WAN can sometimes be higher than IP-based WAN technologies. The goal is to have reliable connectivity that is secure, can be easily updated, and can scale to meet evolving business needs.

To address these needs, Cisco provides validated, extensible network architectures that are underpinned by a comprehensive line of services aggregation routers. The portfolio of WAN solutions enables an enterprise to rapidly introduce new business applications and services from the branch office, through the campus, to the data center, while reducing operating costs and network complexity.

This design guide extends the portfolio of WAN solutions to provide a highly available, secure network design to the WAN edge. Providing the WAN architecture with security from outside attacks as well as protecting the traffic entering or exiting the WAN network is the focus of this design guide. This design guide defines the comprehensive functional components required to secure the infrastructure and data paths for an enterprise WAN edge.

Cisco Enterprise Systems Engineering (ESE) is dedicated to producing high-quality tested design guides that are intended to help deploy the system of solutions more confidently and safely. This design guide is part of an ongoing series that addresses enterprise WAN solutions using the latest advanced services technologies from Cisco and based on best practice design principles that have been tested in an enterprise systems environment.

Contents

Introduction

This design guide evaluates the securing of an enterprise WAN edge network as it pertains to the Cisco enterprise WAN and MAN architectures. These architectures are defined in detail at the following URL: http://www.cisco.com/en/US/netsol/ns817/networking_solutions_program_home.html.

The following four architectures were established to provide reliable connectivity to your global enterprise while reducing operational expenses, becoming more resilient, and enabling some of the latest network services:

Encrypted private connectivity—Takes advantage of existing traditional private WAN and MAN connections

Encrypted ISP service—Takes advantage of the ubiquity of public and private IP networks to provide secure connectivity

IP VPN (service provider-managed MPLS)—Delivers Layer 2 and Layer 3 VPNs

Self-deployed MPLS—Provides any-to-any connectivity

These four architectures offer several secure alternatives to traditional private WAN connectivity that help increase network scalability and flexibility.

This design guide focuses only on the enterprise WAN edge network. The enterprise WAN edge is defined as the set of networking devices that aggregate traffic from enterprise branch offices, and pass that traffic to the enterprise campus or data center. Regardless of which enterprise WAN/MAN architecture is chosen, it is crucial to guarantee the devices and traffic residing at the WAN edge. This design guide examines two typical WAN edge speeds, OC3 (155 Mbps) and OC12 (622 Mbps), and establishes profiles for each WAN speed. These profiles are not intended to be the only recommended design architectures for the WAN edge. They are meant to show examples based on the majority of enterprise WAN edge architectures available today. Each profile provides guidelines for securing the WAN edge including infrastructure protection mechanisms, network fundamentals such as routing and high availability, and, finally, the security services needed to protect against threats to the WAN edge. The framework for this document is shown in Figure 1.

Figure 1 Enterprise WAN Edge Network Framework

This design guide begins with an overview followed by design recommendations. In addition, configuration examples are presented. Each service is described in detail and then shown in each of the various profiles to provide complete guidance on how to tackle securing a WAN edge network. You must have a basic understanding of all the following to successfully implement the concepts shown in this document:

IPsec VPNs

Firewalling (using either PIX, ASA, or FWSM)

Access control lists

QoS and traffic policing

Dynamic routing protocols

Basic understanding of denial of service (DoS) attacks and how they operate

Target Audience

This design guide is targeted for Cisco systems engineers and customer support engineers to provide guidelines and best practices for customer deployments.

Scope of Work

This version of the design guide addresses the following applications of the secure NGWAN edge solution:

Infrastructure protection mechanisms

Device hardening

Infrastructure access control list (iACL)

CPU overload protections such as Control Plane Policing (CoPP) and Call Admission Control (CAC)

DoS mitigation mechanisms such as scavenger class QoS and Unicast Reverse Path Forwarding (uRPF)

Encryption service mechanisms

VPN topologies using IPsec as the tunneling method (some include tunnel interfaces) and the effect on dynamic routing protocols.

Security service mechanisms

Firewalling—Using ASA Firewall Appliance or Firewall Service Module (FWSM)

Super-logging (also known as remote syslogging)—All relevant NGWAN edge devices remote syslogging to a syslog daemon to a common hardened server in the private (protected) network for audit availability

AAA server integration

PKI server integration

A converged data/voice network

Data and VoIP converged traffic requirements

QoS features are enabled

Recommendations and limitations for Cisco product performance and scalability considerations within resilient designs

Out of Scope for this Document

Cisco devices incorporate a wide variety of security services and mechanisms designed to protect the network infrastructure and attached host. This version of this document does not cover the following security-related features at this time:

Intrusion Protection System (IPS) or Intrusion Detection System (IDS)

Network Admission Control (NAC) or Clean Access technologies

Managed DDoS Protection

Network Virtualization (formally known as Network Segmentation)

Cisco Application Control Engine (ACE)—Application inspection and load balancer

Blackhole routing using BGP and uRPF

Design Overview

This section provides a high-level overview of concepts to secure an enterprise WAN edge. Design and Implementation provides more detail on the design considerations, while Scalability Considerations presents primary considerations to be considered before deploying the design for scalability.

A network engineer and a security engineer are usually at odds when it comes to network security. They generally have conflicting goals. The network engineer is trying to connect users with services at the highest possible speed with as little intervention into the actual traffic as possible, while the security engineer is trying to secure the network from both network intrusions (restricting access to services) as well as providing protection to the network itself from DoS-type attacks that rob the infrastructure of valuable uptime. All network security can be summarized is a trade-off of simplicity and efficiency for a level of security and protection. The high-level goal of the security engineer is to achieve these layers of security at the lowest cost to the infrastructure (bandwidth, CPU utilization, and packet delay) as possible.

When choosing which security services and infrastructure protections are right for a customer, it is strongly recommended that customers perform a risk versus cost analysis. This leads to a monetary baseline that a service disruption (down or degraded time) would incur. A "dollar per minute unavailable" value helps in choosing the proper amount of layers and mechanisms that are appropriate for the customer. The customer should compute the amount of monies lost, computed as lost development time, possible PR fallout, legal fees, lost revenue (transactions), and so on, if a network intrusion occurred that yielded proprietary data being made public or consumed by the competition. These values of monies lost help the customer and the Cisco sales engineer decide which of the possible security features are required, explain to management the cost justifications of buying security gear, and assist in the staffing requirements for security enabling the enterprise WAN edge.

Under normal operating conditions, the legitimate end user network traffic consumes some, if not most, of the network resources (bandwidth, CPU utilization, forwarding capacity, and so on) as packets of the end user pass through the network devices. In the event of a DoS attack, a packet, or series of packets, are sent in the attempt to consume those network resources and keep the network from processing the legitimate traffic; thus, denying the legitimate user traffic the services it requires. The goals of infrastructure protection are to limit intrusions, prevent data/service theft, and to minimize the likelihood of success and mitigate the damage caused by DoS attacks. Infrastructure protection includes device hardening to secure the network devices from unauthorized access by non-solution administrators over various communication protocols, as well as mechanisms to control the use of CPU and memory resources.

This document describes some infrastructure protection features embedded in Cisco IOS and some Cisco firewalls, and also the integration of some key security services namely IPsec VPNs and firewalls. This document provides design guidance on enabling and integrating these protections and services on a single network device. It is not intended to be an exhaustive technical review of all nuances of the features, but rather how to implement them in a layered approach to provide a cohesive security solution for the NG WAN edge.

Some alternate barrier (firewall) locations and the ramification to security, performance, and connectivity are discussed in detail in Appendix A—Other Possible Topologies.

The security features described in this document are by no means an exhaustive integration of all possible security features, but rather the start of a reasonable security framework using the "security in layers" approach to implementing security. The strength of many security layers is stronger than the sum of those security components separately. Most security professionals agree that no one security mechanism is adequate alone. A layered approach of several distinct features is the preferred approach to most security challenges, and provides a more robust solution to the wide range of threats.

Assumptions

The design approach presented in this design guide makes several starting assumptions:

This document suggests the combination of a minimum set of security-related features to achieve a baseline of security and protection for the devices from unauthorized access, network protection, access control, accounting and syslogging, and some protection from DoS attacks. More possible security features may be enabled and incorporated at a future time. (See Design Components for a list of the security features that will be integrated.)

The design supports a typical converged traffic profile. See Scalability Considerations for more detail on the traffic profile used during testing

High availability is of critical importance; therefore, the recommendations in this design guide reflect the benefits of built-in redundancy and failover with fast convergence. The goal of this high availability is to allow continued operation in the event of a single failure. This is discussed further later in this section and also in Design and Implementation.

Cisco products should be maintained at reasonable CPU utilization levels. This is discussed in more detail in Scalability Considerations, including recommendations for enterprise WAN edge headend devices, and software revisions.

Although costs were certainly considered, the design recommendations assume that the customer will deploy current security technologies, including hardware-accelerated encryption and a layered security approach.

The enterprise WAN edge is a transit network that aggregates the connections from the enterprise branch offices LANs via a private or public service provider network. The enterprise WAN edge does not directly connect end users in the campus or branches; rather, it provides connectivity for the enterprise branch LANs to connect to the enterprise core network and its resources.

The secure enterprise WAN edge devices should not also be used as the Internet gateway for the enterprise core network, mainly because of performance reasons. This limitation is more for voice quality, the ability to guarantee bandwidth to branch connectivity, and for redundancy reasons; then for security-related reasons. It is possible to draw a third interface off of the inner barrier firewall (the outside interface on the firewalls was left unused in this document for this reason) to the Internet gateway edge to a separate WAN router and WAN connection if desired.

Cisco IOS includes a firewall feature. At the NGWAN edge, a dedicated firewall appliance is used instead because it provides the highest scalability. Cisco recommends the use of the Cisco IOS Firewall feature set in some branch and teleworker deployments, because of a much lower number of users and connection rates than at an enterprise WAN edge headend location.

Voice over IP (VoIP) and video are assumed to be requirements in the network. Detailed design considerations for handling VoIP and other latency-sensitive traffic is not explicitly addressed in this design guide, but may be found in Voice and Video Enabled IPsec VPN (V3PN) SRND, which is available at the following URL: http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/V3PN_SRND/V3PN_SRND.html.

This design is targeted for deployment by enterprise-owned WAN edge. However, the concepts and conclusions are valid regardless of the ownership of the edge tunneling equipment, and are therefore valuable for service provider-managed WAN edges as well.

Design Components

The four architectures defined for Enterprise WAN and MAN networks provide an alternative solution to private WAN technologies such as Frame Relay and ATM-based networks. The design guides written around these architectures focused on support for network growth, availability, operational expenses, voice and video support, and level of complexity. Each of the architectures can be summarized into the seven basic components shown in Figure 2.

Figure 2 Enterprise WAN and MAN High-Level Architecture Basic Components

These components are the following:

Connected branch router component—These are the devices that connect to the WAN edge for connectivity to the core "private" network.

Private WAN cloud component—This is the WAN transport that connects the branch routers to the WAN edge network. IP-based WAN technologies are used in the enterprise WAN and MAN architectures.

WAN aggregation functionality component—This functionality in an enterprise WAN edge network terminates all the connections from the branch routers through the private WAN.

Crypto aggregation functionality component—If an IPsec-based encryption technology is used between the branch and WAN edge, this component encrypts and decrypts these connections. IPsec only, point-to-point generic route encapsulation (p2p GRE), dynamic multipoint VPN (DMVPN), and virtual tunnel interface (VTI) tunnels become encrypted or decrypted within this component

Tunnel interface component—GRE, multipoint GRE (mGRE), or VTI interfaces are originated and terminated within this component.

Routing protocol functionality component—This component provides the mechanisms to connect the branch routers to the core "private" network.

Core "private" network component—This component can be referred to as the enterprise campus or data center. In essence, this component is where all enterprise servers and the application host reside.

These seven components are the basic components needed for all the enterprise WAN and MAN architectures. Not all four architectures use every one of the seven components, but an overview of all seven is shown for completeness. Also, the WAN aggregation, crypto aggregation, tunnel interface, and routing protocol functionality components can reside in a single chassis or multiple chassis, depending on the WAN and MAN architecture chosen.

In Figure 2, no mention is made of how to secure the actual devices within the WAN edge, how to block malicious traffic from entering the WAN edge, or how to guarantee the appropriate users or branch routers are allowed into the WAN edge network. This design guide focuses on providing guidance in these areas. The component overview of the enterprise WAN and MAN architectures are supplemented with additional components to secure the WAN edge. The concept of securing the NGWAN edge is to add additional layers of security and security functions to the existing encrypted VPN topology that may exist in a WAN edge. These security features add an inner and outer layer of access control as well as basic infrastructure protections of those systems. Figure 3 shows the location of these added components.

Figure 3 Securing the WAN Edge High-Level Architecture Additional Components

These added security components are the following:

Outer barrier of protection

WAN aggregation functionality to include scavenger class QoS

Inner barrier of protection

Additional security-related servers (PKI, Cisco ACS, and super-log [syslog])

Various layers of CPU protection

Each of these additional components is discussed in detail throughout this document. Figure 3 can be regarded as the high-level architecture overview to secure the enterprise WAN edge. This document takes this high-level architecture overview and creates a set of profiles for each of the two typical WAN speeds: OC3 (155 Mbps) and OC12 (622 Mbps). Two profiles are created for OC3 and two for OC12 WAN speeds. This profile approach shows each of the above components in an integrated as well as separate device network architecture based on the current platform set available from Cisco for these two WAN speeds. Each profile contains the various layers of security available in the additional components shown in Figure 3.

The organization of this document is summarized in Figure 4.

Figure 4 Securing the WAN Edge Documentation Framework

In addition to the additional security components, network fundamentals such as scalability and performance, high availability, QoS, and routing protocols are discussed.

WAN Speed Profiles

There are two typical WAN speeds for a WAN Edge network: OC3 (155 Mbps) and OC12 (622 Mbps). The choice of these two network speeds determines the platform set from Cisco chosen. In addition, this design guide creates two profiles for each WAN speed. These profiles are designed to provide guidance when designing a WAN edge network regardless of which enterprise WAN and MAN architecture is selected. The profiles for each WAN speed investigate integrated versus dedicated chassis for each functionality component as highlighted in the previous section. Some customers prefer a highly integrated solution where most, if not all, of the functions described in this document reside on a single or very few chassis. Other customers prefer the granularity and scalability of these same functions separated across multiple chassis. Both solutions have their advantages and disadvantages. From these profiles, guidance and configuration examples are given for securing the WAN edge mechanisms, as discussed in Figure 4. These mechanisms are encryption services (crypto), infrastructure protection services, security services, and network fundamentals.

OC3 Profiles

Based on the high-level architecture for an enterprise WAN edge network, two profiles were chosen for a WAN edge requiring an OC3 connection from the private WAN cloud. The first profile shows a dedicated chassis solution and the second profile shows an integrated solution. The platforms chosen are also discussed in the following sections.

OC3 Profile 1—Three-Tier Solution

Figure 5 shows how the seven basic network components of high-level WAN edge architecture are organized to provide a dedicated chassis, separated by function solution.

Figure 5 Profile 1 OC3 Architecture (Three-Tier Solution)

To meet the OC3 WAN speed requirement, the following Cisco platforms were chosen to fulfill each network component:

Outer barrier/WAN component—A Cisco 7301 with a PA-POS OC3 was tested as the dedicated WAN router.

Crypto/tunnel interface/routing protocol component—A Cisco 7200 VXR (NPE- G2) with a VSA Hardware Encryption Accelerator module was tested.

Inner barrier component—A Cisco ASA 5540 was tested as the inner barrier firewall.

OC3 Profile 2—Two-Tier Solution

Figure 6 shows how the seven basic network components of high-level WAN edge architecture are organized to provide an integrated functionality solution.

Figure 6 Profile 2 OC3 Architecture (Two-Tier Solution)

To meet the OC3 WAN speed requirement, the following Cisco platforms were chosen to fulfill each network component:

Outer barrier/WAN/crypto/tunnel interface/routing protocol component—a Cisco 7200 VXR (NPE-G2) with a VSA hardware accelerator module was tested as both the integrated WAN router with outer barrier and crypto aggregation.

Inner barrier component—An ASA 5540 was tested as the inner barrier firewall.

Comparison of the OC3 Profiles

Table 1 shows the advantages and disadvantages of the two OC3 profiles created.

Table 1 Comparison of the OC3 Profiles—Advantages and Disadvantages 

 
Profile 1 (OC3)-3 Tier
Profile 2 (OC3)-2 Tier

Advantages

Each major function (WAN aggregation, crypto aggregation, and inner barrier firewall) are on dedicated systems. This approach is more scalable and gives more options for a multi-threaded redundancy plan.

It also is easier to incrementally add systems to the architecture as users or traffic volume increases.

Implementing WAN and crypto aggregation functions on separate routers provides each function with independent CPU resources. This adds flexibility and redundancy options.

Each chassis can run a different code version. This can be very important where you need a different version of code to pick up a bug fix or to add features in the future, without impacting the other functions of the solution.

Fewer systems to purchase and maintain.

Disadvantages

More systems to purchase and maintain

Less scaling options, harder to incrementally grow the platform as traffic or users increase. The various features of both the crypto aggregation system and the WAN router (with QoS and the outer barrier) are all implemented on a single router. Should the CPU requirements reach peak levels for both crypto and WAN aggregation simultaneously, performance, and stability may be adversely affected. A combined crypto/WAN device is much harder to migrate to an IP multicast design, because packet fan-out affects CPU load, and input/output buffers are harder to selectively control.


Both profile 1 and 2 share a dedicated inner barrier firewall of a Cisco ASA 5540 (as an inner barrier firewall).

OC12 Profiles

Based on the high-level architecture for an enterprise WAN edge network, two profiles were chosen for a WAN edge requiring an OC12 connection from the private WAN cloud. The third profile shows a dedicated chassis solution and the fourth profile shows an integrated solution at OC12 speeds. The platforms chosen are also discussed in the following sections.

OC12 Profile 3—Two-Tier Solution

Figure 7 shows how the seven basic network components of high-level WAN edge architecture are organized to provide a dedicated chassis, two-tier solution.

Figure 7 Profile 3 OC12 Architecture (Two-Tier Solution)

To meet the OC12 WAN speed requirement, the following Cisco platforms were chosen to fulfill each network component:

Outer barrier /WAN component—A Cisco 7304 (NPE-G1 processor) with a SPA OC12 WAN card was tested as the dedicated WAN aggregation router with outer barrier functionality.

Crypto/tunnel interface/routing protocol/inner barrier component—A Cisco 7600 (with a Sup-720/PFC3 processor) with a VPN-SPA hardware crypto accelerator module and an FWSM as the inner barrier firewall. The FWSM, although it occupies a physical slot in the 7600 chassis, has a dedicated CPU independent from the main MSFC in the 7600 chassis.

OC12 Profile 4—Integrated Functionality Solution (One-Tier Solution)

Figure 8 shows how the seven basic network components of high-level WAN edge architecture are organized to provide an integrated functionality solution.

Figure 8 Profile 4 OC12 Architecture (One-Tier Solution)

To meet the OC12 WAN speed requirement, the following Cisco platforms were chosen to fulfill each network component:

Outer barrier/WAN/crypto/tunnel interface/routing protocol/inner barrier component—A Cisco 7600 (with a SUP-720/PFC3 processor), a SIP-400 with a SPA OC-12 module to provide WAN termination, and a VPN-SPA Hardware Crypto Accelerator Module, an FWSM as the inner barrier firewall. This profile implements all functions in one physical chassis. The Cisco FWSM, although it occupies a physical slot in the 7600 chassis, has a dedicated CPU independent from the main MSFC in the 7600 chassis. Note that this architecture brings the functionality of the WAN router into the Cisco 7600 platform (including the outer barrier and QoS functions).

Comparison of the OC12 Profiles

Table 2 shows the advantages and disadvantages of the two OC12 profiles created.

Table 2 Comparison of the OC12 Profiles—Advantages and Disadvantages

 
Profile 3 (OC12)—2 Tier
Profile 4 (OC12)—1 Tier (Fully Integrated)

Advantages

A dedicated WAN aggregation router adds more flexibility and allows more redundancy options. The CPU of the WAN router runs the outer barrier (iACL and its logging, as well as QoS for the WAN circuit) offloading it from the crypto aggregation system.

It is easier to add more WAN capability as users and traffic increases.

Each chassis can run a different code version. This can be very important when you need a different version of code to pick up a bug fix or to add features in the future, without impacting the other functions of the solution.

Fewer systems to support and maintain.

Simplified management.

Both FWSM and VPN-SPA modules are the highest throughput of all Cisco product lines.

Fewer redundancy options if WAN, crypto, and inner barrier firewall all reside on same chassis, so if the whole chassis fails, all are failed.

Disadvantages

More systems to purchase and maintain.

More features on central MSFC CPU—This may have unforeseen performance and scalability ramifications.

It is harder and more expensive to incrementally add systems to the architecture as users or traffic, while you can add cards (VPN-SPAs or WAN interfaces) the gating factor can still be the central MSFC processor

A combined crypto/WAN device is much harder to migrate to an IP multicast design, because packet fan-out affects CPU load, and input/output buffers are harder to selectively control.


Both profile 3 and 4 share a FWSM, as the inner barrier firewall. Although integrated in the 7600 chassis, the FWSM has its own independent CPU and network processors.

Securing the NG WAN Edge

The key security components of this architecture are organized in this document into three categories: infrastructure protection services, security services, and encryption services (crypto).

Encryption Services

The crypto aggregation component provides its functionality within the WAN edge. The crypto aggregation component creates a secure and encrypted communication channel between the branch sites and the core private network, as well as from "branch-to-hub-to-other branch" connections. The encryption services involve the four IPsec-based WAN architectures and are discussed in great detail in the following design guides:

IPsec Direct Encapsulation VPN Design Guide— http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/Dir_Encap.html

Point-to-Point GRE over IPsec Design Guide— http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/P2P_GRE_IPSec/P2P_GRE_IPSec.html

Dynamic Multipoint VPN (DMVPN) Design Guide— http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/DMVPDG.html

Design and Implementation discusses these four VPN topologies as they apply to the WAN speed profiles created. Infrastructure protection services and security services are discussed in the next two sections.

Infrastructure Protection Services

Infrastructure protection services provide proactive measures to protect devices, in this case Cisco IOS software-based routers, switches, and appliances, from direct and indirect attacks. Infrastructure protection services assist in maintaining network transport continuity and availability. Regardless of which enterprise WAN and MAN architecture or WAN edge speed profile chosen, infrastructure protection services apply to all the network components in the WAN edge. To protect these devices, the following methods are used:

Device hardening—A myriad of device hardening options exist in Cisco products. This feature set is recommended as a starting point to achieve a minimal security baseline. For links to both the Cisco IOS essentials (now a Cisco Press book) and the NSA documents that can be used for further information on device hardening, see the following URL: http://www.thewaystation.com/techref/choke.shtml

This document uses built-in facilities such as the following:

A well-created banner page (motd) to state that the access is restricted to only authorized personnel.

Authentication, authorization, accounting (AAA) with TACACS+ for device account administration, command authorization, and CLI command accounting.

Using SSH versus Telnet for remote administration of the device; this provides encryption to the shell session to prevent snooping of the commands or passwords of administrators.

Access control of SNMP, SSH, and other protocols used to monitor the devices.

Disabling of known potentially hazardous services and interface features (that is, directed broadcast, IP redirect, IP proxy-ARP, CDP, and so on) and any global daemons/services (that is, small services, HTTP, and so on) not specifically required in the architecture.

Neighbor authentication and hashed communication for dynamic routing protocols.

CPU overload protections—Protecting router CPU utilization is crucial to guaranteeing service delivery of traffic. Ensuring that the router CPU is available for routing updates and voice calls provides a level of infrastructure protection. As described in this document, the following two features are used to help protect the NGWAN edge gear from CPU over utilization.

Control Plane Policing (CoPP)—A QoS policy using traffic policers that identifies and limits the amount of traffic that is destined to the CPU of this chassis and rate limits by class of traffic. This helps limit the impact to the CPU or bandwidth utilization of the targeted system by a DoS attack.

Call Admission Control (CAC)—A process that monitors CPU and memory utilization on the router and limits new connections to this chassis if the CPU is above a configured threshold.

Infrastructure ACLs—These ACLs are required to keep out unwanted traffic from the physical links from the private WAN cloud.

Outer barrier [infrastructure ACLs (iACLs)]—This functionality is used as the outer barrier of protection that creates the front line of defense from attacks, starting from the service provider or SP-connected network, but allows the encrypted traffic (cipher text) packets to pass through to reach the crypto peer on the crypto aggregation system. Firewalls may also be used to achieve this functionality.

DoS mitigation—This functionality encompasses the mechanisms to detect, mitigate, and protect devices against violations and unauthorized events.

Unicast Reverse Path Forwarding (uRPF)—This feature is used for preventing source address spoofing. It is a "looking backward" ability that allows the router to check whether the IP packet received at a router interface arrived on the best return path (return route) to the source address of the packet.

Scavenger class QoS—A protection mechanism whereby traffic arriving at a rate higher than the normal rate for the application is considered to be a potential threat and marked with a DSCP value of CS1. Typically, this marking is done by a branch or campus switch. A QoS policy can create a scavenger class for the CS1 traffic, allocating bandwidth even less than best effort for it. This prevents traffic anomalies that can impair network performance.

More detailed descriptions and configurations of all these infrastructure protection mechanisms are provided in Infrastructure Protection Mechanisms.

Security Services

Security services provide the added functionality within the WAN edge network to control that the appropriate users can access the network device, the appropriate certificates are given, and that a protected and archived audit trail of security events exists. The following security services methods were used:

PKI Digital Certificate Server (CA server)—Used for IKE authentication for crypto IPsec tunnels.

AAA server—Used to control AAA functions on network devices and to provide a repository for account information, authorization command set, and accounting for login and commands issued on network devices.

Super-logging (remote syslogging)—Used as a remote master syslog service, so that all devices in the WAN edge create log entries in a local buffer and to the "super-log server", which is a dedicated syslog server in the protected network core.

Inner barrier (firewall)—Used as the inner barrier of protection, it provides an inspection engine and "rule set" that can view the clear text (unencrypted) communication from the branch to the enterprise core and controls that access with its rule-based firewall. This may also do advanced firewalling features such as user authentication, web URL filtering, and so on.

A more detailed description and configuration of all the previous listed security services are shown in Security Service Integration.

Network Fundamentals

Network fundamentals refer to the basic services that are required for network connectivity. These services include high availability, IP routing, and QoS. Unique to the WAN edge is the scalability and performance network fundamental. Given that the WAN edge aggregates numerous branch sites and forwards that traffic to the core "private" network, selecting a platform that can meet the branch aggregation requirements and still be able to forward traffic is fundamental to a WAN edge network. Network Fundamentals discusses this network fundamental in greater detail.

High Availability

Implementing designs that incorporate high availability require the solution administrator to identify the components that may likely fail, to provide redundancy during the failure, and then to simulate a failure and recovery to test the plan. This section shows the high-level architecture of a single site, multi-threaded architecture (box-level redundancy), and discusses the architecture of a multi-site redundant architecture (geographical site redundancy). See High Availability (Redundancy) for detailed network designs and implementation information.

Redundant Multi-Threaded in a Single-Site Location

The core concept in this redundancy model is to supply device and circuit redundancy at each major function of the topology within a single site. The number of chasses chosen to implement the solution has a major impact on how much redundancy is possible.

Figure 9 shows an example of this multi-threaded system in a single-site location.

Figure 9 Multi-Threaded System in a Single Location (Profile 1)

There are trunk links between the core and the inner firewall, and also between the inner firewall and the crypto aggregation devices. This allows cross failover of one set of functions (that is, WAN and crypto or inner firewall) without failover of the whole thread.

Table 3 lists the advantages and disadvantages of a multi-threaded single-site deployment.

Table 3 Multi-Threaded Single-Site Deployment—Advantages and Disadvantages 

 
Effect of Number of Chasses in WAN Edge on Intra-Site Redundancy
Various Chassis Deployment Profiles
Pro
Con

Profile 1 OC3—Separated WAN routers (with independent WAN circuits), separated crypto aggregation (crypto agg) routers, separated inner barrier firewalls, L2 switch set(s).

Each subsystem (WAN and crypto agg, or inner firewall) can failover independently of each other.

This gives a very redundant and easily expandable topology.

Each major component can use a different failover mechanism (that is, crypto agg may use the RP at a failover detection mechanism while the inner firewall may be a stateful firewall set)

Because each of the major functions is separated physically, an L2 switching layer is required between each set of devices.

Profile 2 OC3—Integrated WAN interfaces (with independent WAN circuits) and crypto agg routers, separated inner barrier firewalls, L2 switch set(s).

 

Because the WAN interface and the crypto agg functions are integrated in the Cisco 7200VXR chassis, if a WAN interface or circuit fails, all traffic to that system needs to be failed over to its backup system.

Profile 3 OC12—Separated WAN routers (with independent WAN circuits), integrated crypto agg and FWSM inner barrier firewall

No additional L2 switching layer is required because the Cisco 7600s have switching capabilities themselves.

If a WAN failover occurs for a device or circuit loss, the corresponding crypto agg function is also down, but the inner barrier firewall on that chassis is unaffected.

The firewall is integrated in the 7600 chassis (on FWSM). If a whole 7600 chassis is lost, inner firewall failover occurs.

Profile 4 OC12—Integrated WAN interfaces (with independent WAN circuits), crypto agg, and FWSM inner barrier firewall

No additional L2 switching layer is required because the Cisco 7600s have switching capabilities themselves.

Because the WAN interface and the crypto aggregation functions are integrated in the Cisco 7600 chassis, if a WAN interface or circuit fails, all traffic to that system needs to be failed over to its backup system.

Also, because the firewall is integrated in the chassis (on the FWSM), if a chassis failure of a 7600 chassis occurs, inner firewall failover occurs.


If L2 switches are required for redundancy, they may be implemented as unique sets of switches at each spot in the NGWAN edge topology. Alternatively, the L2 switches may simply be different VLANs off the same two shared switches. This choice depends on the company requirements for keeping various levels of traffic separated or not on a L2 device. Opinions on this practice vary among security professionals. If you are concerned that the L2 switches could be compromised giving access into a more protected location in the network topology, multiple independent sets of switches are recommended. See Redundant Multi-Threaded in a Single Site Location for details on topology and implementation.

Multiple Single-Threaded Site Locations of NGWAN Edge

A single threaded solution has one path through the set of systems (a thread). By creating two or more site locations for each single thread, geographical redundancy is achieved. This NGWAN edge topology provides very good redundancy while still maintaining cost efficiency.

The example shown in Figure 10 does not provide for redundancy within a location but provides redundancy across two or more locations.

Figure 10 Multiple Single-Threaded Site Locations Redundancy (Profile 1)

In a multiple single-threaded site locations NGWAN edge redundancy model, some basic considerations need to be designed into the network for the redundancy to operate correctly. See Multiple Single-Threaded Site Locations of NGWAN Edge for details on topology and implementation.

Quality of Service

QoS (with the exception of scavenger class QoS) is implemented to achieve some guarantees on certain application performance across the network, such as VoIP traffic. For implementation details, see QoS for WAN Aggregation Routers.

Routing Protocols

Routing protocols (and possibly the redistribution of them) are extremely important to redundancy and the time to detect and respond to a failure event. This is described in detail in Routing Protocol Implementation.

For implementation details of these items, also see Network Fundamentals.

Best Practices and Known Limitations

The following sections contain a summary of the best practices and limitations for the design. More detailed information is provided in Design and Implementation.

Best Practices Summary

The following lists at a high-level the best practices recommendations for infrastructure protection and security service integration on the WAN edge systems:

Use a super-log server (remote syslog) as a dedicated server in the protected internal network as the double log point of all NGWAN edge devices. This provides a good system for record keeping of security/system level events.

Use a PKI server (digital certificate server) located on the protected internal network to issue digital certificates to the crypto peers, which use the certificates for IKE authentication of the ISAKMP tunnels (VPN topology).

Use an AAA server (that is, Cisco Secure ACS server) as a AAA repository on the protected internal network for AAA functional on all NGWAN edge devices.

Use the "qos pre-classify" feature in Cisco IOS on any Cisco router that has crypto and QoS on the same chassis (not available on Cisco 7600).

Always use the "enable secret" instead of the "enable password" option in all Cisco IOS routers.

Known Limitations Summary

The following summarizes the known limitations for infrastructure protection and security service integration on the WAN edge systems:

"Branch-to-hub-to-branch" encrypted traffic (even in a hub-and-spoke topology) goes to the crypto aggregation system but not to the inner barrier firewall; it therefore cannot be inspected via that inner barrier (firewall) in this network architecture.

uRPF restrictions on Sup720/PFC3 on 7600; when configuring Unicast RPF check, follow these guidelines and restrictions:

If you configure uRPF check to filter with an ACL, the PFC determines whether or not traffic matches the ACL. The PFC sends the traffic denied by the RPF ACL to the MSFC for the uRPF check. Packets permitted by the ACL are forwarded in hardware without a uRPF check (CSCdz35099).

Because the packets in a DoS attack typically match the deny ACL and are sent to the MSFC for the uRPF check, they can overload the MSFC.

The PFC provides hardware support for traffic that does not match the uRPF check ACL, but that does match an input security ACL.

The PFC does not provide hardware support uRPF check for policy-based routing (PBR) traffic. (CSCea53554).

The uRPF feature was not available in the Cisco 7301 or Cisco 7304 images tested and was not enabled on those platforms.

If using Cisco 7600 systems for crypto aggregation, the dynamic or static virtual tunnel interface (dVTI or VTI) crypto topology is not supported as of the tested image (12.2-18.SXF2) image. This feature should be available in 2008.

If using a Cisco 7600 system for crypto aggregation and integrated WAN (with QoS), the "qos pre-classify" feature is not available on that platform at this time. WAN interface QoS policy maps must operate by DSCP/BHP markings only.

If using a Cisco 7200VXR, Cisco 7301, or Cisco 7304 routers for the outer barrier, there is no equivalent to the Cisco 7600 series feature for Optimized Access List (OAL), so rate limiting the syslog output is critical.

Additional detailed information on these recommendations is discussed in the sections that follow.

Design and Implementation

Which security products and features to include in the "securing" of the NGWAN edge, where those services should reside, and how to properly configure them, is the primary focus of this section.

Each function in this design may have network traffic that is used for itself (control plane) or for a higher level traffic. It is important to understand how the components of this architecture communicate with their counterparts at the branch location, and where each component of the NGWAN edge is meant to terminate.

The following describes the concept of different classes of traffic and the devices on which they terminate:

WAN (access layer)—Terminates at WAN aggregation device

Crypto (ISAKMP) control traffic—Terminates at crypto aggregation device

Crypto (IPsec) data traffic—Terminates at Crypto aggregation device.

Tunnel interface—Terminates at the main processor (or subordinate card) in the crypto aggregation device.

Routing protocol control traffic—Terminates at crypto aggregation device

Clear text (unencrypted) end user data has two general classes:

End user traffic transiting the encrypted network but not yet approved through the rule set of the inner barrier (firewall)

End user traffic transiting the encrypted network that is approved through the rule set of the inner barrier (firewall)

In a multi-function system such as the NGWAN edge, several types of traffic go through the system at any given time. The vast majority of the packets per second (pps) and bits per second (bps) of the traffic transiting the NGWAN edge is end-user data. A smaller proportion of the traffic is considered control plane traffic. An example of control plane traffic is the routing protocol used inside the IPsec VPN tunnel (VPN IGP) to the branches. The solution administrator may choose to use any IGP (that is, EIGRP or OSPF) as the routing protocol. This traffic is critical to the stability of the network but is not generated by the end users. It is generated and terminated by the network gear itself. Other examples of control plane traffic are ISAKMP connections for IPsec, and even the solution administrator of the system connecting to them for remote administration or device monitoring.

Figure 11 shows a comparison of control plane and data plane traffic in the NGWAN edge architecture.

Figure 11 Control Plane versus Data Plane Traffic in NGWAN Edge Architectures

Each type of connection is described in more detail as follows:

1. Private WAN circuit to service provider network "private WAN". (Only approved traffic such as encrypted traffic is permitted in through the outer barrier). This is a physical circuit and carries both control and data plane traffic. The outer barrier (in this case, an iACL) helps protect this circuit and crypto peer reachable in #2 and #3 below from DoS or intrusions.

2. The ISAKMP tunnel between the crypto aggregation device and the encrypting branch router is a control plane used for IKE authentication, transform set negotiation, and for session key transport of the IPsec SAs.

3. IPsec tunnel (set of IPsec SAs) between the crypto aggregation device and encrypting branch router carries end-user payload and is part of the data plane. (The IPsec SAs may also carry higher level control plane traffic in the data plane of the IPsec tunnel).

4. Tunnel interface encapsulation carries both control and data plane packet inside the tunnel. The control plane traffic may be routing hellos or GRE keepalives, and the data plane is end-user data or other higher layers control plane traffic (see #5 below).

5. The routing protocol communication is between routing peers and is strictly control plane traffic. The VPN IGP travels inside the encapsulating tunnel in #4.

a. An RP (such as EIGRP or OSPF) is used as the VPN IGP

b. An RP (such as OSFP or RIP) is used as the RP between the inner barrier (firewall and the crypto agg system) and also between the inner barrier and the enterprise core routers.

6. End-user traffic goes through the encapsulating tunnel in #4 gets decapsulated, and then carries to the inner barrier firewall (it has not been approved yet to pass through that firewall). This traffic is data plane traffic but not yet approved to access the core network.

7. End-user traffic goes through the encapsulating tunnel in #4 gets decapsulated, and then carries to the inner barrier firewall and has been approved in the inner barrier firewall rules to be permitted into the core network.

Design Considerations

This section gives provides configuration summaries and more detail descriptions of the various security and other mechanisms being enabled on the NGWAN edge gear. The goal of this section is to expand on the concepts in Design Overview and provide the detail needed for the solution administrator to understand and implement each feature. This section is not a technical "deep dive" into each subject described but rather how to integrate all the various features into a comprehensive "security in layers" solution and show the difference in devices and configuration.

Most of the configuration examples in this section are based off of an "integrated WAN router" model as represented in profile 2 (OC3) or profile 4 (OC12). Full configurations for all profiles are shown in Test Bed Configuration Files.

Security Concepts—Implementation and Configuration

The key components of this infrastructure protection and security service integration are indicated by red arrows, as shown in Figure 12.

Figure 12 Implementing Security Services and Infrastructure Protections

Infrastructure Protection Mechanisms

The goals of infrastructure protection are to lessen the likelihood or amount of damage done to critical systems by a deliberate or collateral intrusion attempt or DoS-type attack on that respective system, and to prevent unauthorized access to private data or service theft of the NGWAN edge systems. The NGWAN edges are located in a campus or data center of the enterprise. The NGWAN edge solution aggregates hundreds or thousands of branch devices giving connectivity to the enterprise core network; as such, it becomes a likely target of interest to an attacker.

Device Hardening

Hardening the access options of the NGWAN edge devices and removing potentially dangerous features and services is a requirement to the securing of the NGWAN edge. A basic common sense approach to device hardening is shown in the following section.

Create a Banner

For links to both the Cisco IOS essentials (now a Cisco Press book) and the NSA document, see the following URL: http://www.thewaystation.com/techref/choke.shtml. The banner is more for establishing legal ownership and the ability to prosecute an intruder. It is similar to a "no trespassing" sign in the physical world.

Create a banner for any shell connection attempts, so that the system is clearly marked as private. Cisco recommends that you consult your legal department or group for the exact language required by your company or organization in such a banner. It is recommended not to divulge any unnecessary information in the banner (that is, device name or network administration information).

Commands for creating a banner (motd):

Cisco IOS router

! 
banner motd ^C
Warning this is a private system.
Unauthorized access is prohibited.
Violators will be prosecuted.
.
^C
!
! *Note the ^C should be a character not used 
! in the banner itself when entered, once
! enter the router will convert it to a ^C in
! the configuration - this is normal.

Cisco ASA/FWSM

! 
banner motd Warning this is a private system
banner motd Unauthorized access is prohibited. 
banner motd Violators will be prosecuted.
banner motd .
!
! *Note each line of the banner can have it's own command
! in the config there is no "end of block" type character
! like in IOS.

Use AAA on all Devices

AAA with TACACS+ can provide an easy-to-manage source for device account administration, authorization command sets, and a repository for accounting information. These AAA commands are used in conjunction with a Cisco Secure Access Control Server (ACS) or other TACACS+ server. The following are benefits of using AAA commands with an ACS server:

Authentication (who you are)—Account UserID and password are stored in ACS (for easy management and grouping abilities)

Authorization (what you are allowed to do)—A downloadable authorization command set are served from ACS to the devices after a successful login (allows simplified control and easy grouping of administrative commands for devices).

Accounting (record of what you did, on which device, and when it occurred)—The ACS server accounting screens have a command-by-command record of all commands issue on each device, which include device IP, timestamp, and exact command issued.

Failed attempts at authentication to the devices are kept as a record in the ACS server; the ACS server may institute a "number of attempts" lockout policy if desired.

All communications from the device (NAS) to the AAA server (via TACACS+) uses a hash algorithm so it is not sent in clear text. This can be considered TACACS+ authentication, and in Cisco Secure ACS (the AAA server), you can limit the IP source of the network access servers (NAS). In this case, those are the network devices themselves.

If you have multiple solution administrators of this NGWAN edge solution, the accounting feature can be a very good tool to keep a record of which solution administrator did what, when, and where, and can be extremely helpful in troubleshooting outages.

Commands for Authentication, Authorization, Accounting (CLI AAA via TACACS+)

In this example, the AAA server (Cisco Secure ACS) is at 10.59.138.11 and uses a secret key between the device (NAS) and the AAA server.

Cisco IOS router

!
! Enable service password-encryption:
service password-encryption
!
! Create a local database login 
! for backup if ACS is down:
username cisco123 privilege 15 password 7 104D000A061843595F
! Enable aaa new-model mode for AAA
aaa new-model
!
! Configuring location of the TACACS+ Server and parameters:
tacacs-server host 10.59.138.11 key 7 070C285F4D06
!  
tacacs-server timeout 10
tacacs-server directed-request
!
! AAA Authentication commands: (request authentication via
! tacacs+ for both login and for enable level:
aaa authentication login default group tacacs+ local enable
aaa authentication enable default group tacacs+ enable
! AAA authorization (with command set send down from tacacs+):
aaa accounting exec default start-stop group tacacs+
!
! AAA accounting to TACACS+ for start-stop records (for 
! session time and also any commands entered in privilege
! level 0, 1, and 15 :
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 0 default start-stop group tacacs+
aaa accounting commands 1 default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
aaa session-id common
!
! *Note - In the aaa accounting commands you need to create on
! for each privilege level you wish to go to accounting.
! This behavior configures differently then in ASA/FWSM code.

Cisco ASA/FWSM

! 
! Create a local database login 
! for backup if ACS is down:
username cisco123 password ffIRPGpDSOJh9YLq encrypted privilege 15
! Configuring location of the TACACS+ Server and parameters:
aaa-server tacacs-group protocol tacacs+
aaa-server tacacs-group host 10.59.138.11
 key cisco
aaa-server TACACS+ protocol tacacs+
!
! AAA Authentication commands: (request authentication via
! tacacs+ for both login and for enable level:
aaa authentication enable console tacacs-group LOCAL
aaa authentication ssh console tacacs-group LOCAL
aaa authentication telnet console tacacs-group LOCAL
! if you are on an ASA Security Appliance you will need this additional command
!  which is not necessary on a FWSM: 
aaa authentication serial console tacacs-group LOCAL
!
! AAA authorization (with command set PIX SHELL send down from tacacs+):
aaa authorization command tacacs-group LOCAL
! AAA accounting to TACACS+ for start-stop records (for session time
! in either telnet or ssh and also any commands entered for privilege 
! level 1 thru 15
aaa accounting telnet console tacacs-group
aaa accounting ssh console tacacs-group
aaa accounting command tacacs-group
!
! *Note - the "aaa accounting command" is for that level and up 
! this example was 1 and up - which is default 
! This behavior is configures differently then in Cisco IOS 

AAA configuration and behavior is slightly different in Cisco IOS, Cisco ASA 5540, and Cisco FWSM. In general, the use of AAA is the same on all platforms: to provide a userID/password login for "privilege level 1", and to enable password login for "enable or configure" (privilege level 15) commands.

In Cisco IOS devices, the configuration of this document uses the "default" group. This uses a userID/password for the "privilege level 1" login, and depending on the account setup in the AAA (Cisco Secure ACS) server, may also require a separate "enable" level login (privilege level 15). This is true whether the solution administrator connects via SSH or via the physical console port. Both use the default of AAA. As a backup if the AAA server is unavailable, there is a "local account" configured in the device, but this is used only if the AAA server is unreachable from that specific device.

In a Cisco ASA security appliance, the commands are slightly different, there is no default, and the solution administrator must configure the AAA authentication command per communication protocol in which the AAA is to be applied. The commands differ in syntax from traditional IOS AAA commands; the term console really means command-line interface (CLI). The physical port of the console is actually named serial in the configuration, and AAA must be applied to this separately. If a solution administrator connects to the Cisco ASA via SSH or via the serial (physical console) port, AAA behavior is determined by that specific command in the configuration. The default behavior, if no AAA policy is applied to the serial, is to use the login "enable_1" for the account ID, although this is not recommended. Only the active ASA in a failover pair has the OSPF routing table that gives a dynamic network route to the AAA server if more that one hop away; thus, only the active system has access to the AAA server, super-log syslog server, and so on. Any static routes are valid on the "standby" but not any dynamically learned routes via a dynamic routing protocol (that is, OSPF in this document). This means that a serial (physical console) connection on the standby unit must use the local user account in the configuration to get either "privilege level 1 or 15" access via the physical console port.

In a Cisco FWSM, the commands are mostly similar to the Cisco ASA Security Appliance, but there is no physical serial console on the module. The solution administrator can connect via SSH or by connecting via a special command issued on the 7600 chassis where the module is installed. That command is session slot 4 processor 1, where the FWSM is installed in slot 4 of the chassis. This creates a reverse telnet from the 7600 chassis to the FWSM for administration. The FWSM always accepts this reverse telnet from the 7600, even when the Telnet protocol has been disabled and the AAA rules apply. Much like on the ASA appliances, only the active has routes via a dynamic routing protocol, so if the AAA server is more than one hop away (and no static route exists to it), you need to use the login of the local account in the configuration on the standby unit.

Restrict Shell Access to SSH instead of Telnet

Use SSH instead of Telnet for remote administration of devices in the NGWAN edge. This provides an encryption shell and adds encrypted privacy to the administrative shell session of the solution administrator to prevent snooping by unwanted parties.

When an solution administrator uses Telnet or r-shell (rsh) to access a device, the UserID and password for that shell session are sent over the network in clear text, as well as any commands they may enter or the responses to those commands. By allowing only SSH, the shell session of the solution administrator is encrypted and uses keyed endpoint authentication to keep the session private and not easily viewable. The solution administrator needs to carefully choose Cisco IOS images for their routers that support SSH (usually indicated in the image description or as a 3DES image).

Commands for only using SSH (no telnet or other protocols) for an administrative shell are as follows:

Cisco IOS router

!
! set the routers hostname and domain
hostname wpoc1-r1
ip domain name ese.cisco.com
!
! Create a key for SSH:
cry key generate rsa general-keys modulus 1024
!
! set at SSH version 2 and parameters
ip ssh time-out 30
ip ssh source-interface gi0/1
ip ssh authentication-retries 3
ip ssh logging events
! ***SSH logging not available in cisco 7600 image tested.
ip ssh version 2
!
!  This allow ONLY ssh (not telnet) as an inbound
!  management shell
line vty 0 15
 transport input ssh
 ...
!

Cisco ASA/FWSM

! 
! set the firewall's hostname and domain
hostname wpoc2-asa1
domain-name ese.cisco.com
!
! Create a key for SSH:
cry key generate rsa modulus 1024
!
! *Note - see section below to set range of valid client IP's  
! before it will operate - This is required.

Using ACLs to Restrict Access

An important step in hardening the devices is to use access control of any protocols that are permitted to the devices for administrative or monitoring purposes (that is, SNMP, SSH, and other protocols used to monitor the devices). A basic shell setting such as a timeout value (not infinite) is also strongly recommended.

In the ASA/FWSM, take special care when allowing SNMP on the inner barrier firewall. Cisco strongly recommends that if you wish to poll the ASA/FWSM, use the configuration similar to what is shown in the configurations below. This allows polling from a particular host, but does not configure an SNMP trap to be sent to that host. A busy firewall such as the ASA or FWSM located in the NGWAN edge with a high level of syslogging (that is, syslog level 6 or 7) can output a tremendous amount of syslog/SNMP traps, so it can easily overwhelm a normal network management system with SNMP traps. Cisco does not recommend using SNMP trap for the firewall to a network management system. If you choose to do this, trap only lower level events.

The SNMP shown in the example below is SNMPv3, and is using the authentication and encryption options of v3. Some network management stations may require a lower version of SNMP or may not support the authentication option shown here. The solution administrator should contact the network management team and see what SNMP support level is possible in the network NMS tools before implementation. For example, Cisco Works (CW), Cisco LNS, Cisco Resource Manager Essentials (RME) for the most part do not support authpriv, but do support most other common NMS systems (such as HP OpenView).

SNMPv3 is an interoperable standards-based protocol defined in RFCs 2273 to 2275. SNMPv3 provides secure access to devices by a combination of authenticating and encrypting packets over the network.

The security features provided in SNMPv3 are as follows:

Message integrity—Ensuring that a packet has not been tampered with in transit

Authentication—Determining that the message is from a valid source

Encryption—Scrambling the contents of a packet prevents it from being learned by an unauthorized source

Access control of the IP source allowed to do polling


Note This example was not using a trap host, therefore none is configured.


The following are commands for access control of device administration protocols (access control of SSH is in the following section):

Cisco IOS router

! 
! Define a standard ACL of which subnets or hosts are ALLOW 
! access to VTY and/or SNMP
!
access-list 10 permit 10.0.0.0 0.255.255.255
access-list 10 deny   any log
!
!
! Applies ACL 10 to control access to the VTY ports and also
! set the timeout for a shell to 3 minutes
line vty 0 4
</