CCNP ROUTE (Version 7) – Chapter 8: Routers and Routing Protocol Hardening

CCNP Enterprise Routing & Switching Original source

Objectives

This chapter covers the following topics:

A router’s operational architecture can be categorized into three planes:

Securing the Management Plane on Cisco Routers

Securing the Management Plane on Cisco Routers

Device hardening tasks related to securing the management plane of a Cisco router, including the following:

Securing the Management Plane

Step 1.

Step 2.

Step 3.

Step 4.

Step 5.

Step 6.

Step 7.

Step 8.

Step 9.

Router Security Policy

The router security policy should help answer the following questions regarding:

Use Strong Passwords

Encrypting Passwords

Authentication, Authorization, Accounting

Implementation of the AAA model provides the following advantages:

Users must authenticate against an authentication database, which can be stored:

Implementation of the AAA model provides the following advantages:

Users must authenticate against an authentication database, which can be stored:

RADIUS and TACACS+ Overview

RADIUS Message Exchange

TACACS+ Message Exchange

Enabling AAA and Local Authentication

The following are the configuration steps required to enable AAA local authentication:

Configure RADIUS Authentication with Local User for Fallback

Configure TACACS+ Authentication with Local User for Fallback

Use SSH Instead of Telnet

Complete the following steps to enable the SSH access instead of Telnet:

Securing Access to the Infrastructure Using Router ACLs

All the traffic to the IP addresses of the network infrastructure devices is dropped and logged.

All the other traffic is permitted and allows all the transit traffic over the network.

Implement Unicast Reverse Path Forwarding

The uRPF feature works in one of two modes:

Strict mode

Loose mode

The allow-default option may be used with either the rx or any option to include IP addresses not specifically contained in the routing table. The allow-self-ping option should not be used because it could create a DoS condition. A numbered access list can also be configured to specifically permit or deny a list of addresses through uRPF.

Enabling uRPF

Implement Logging

Implementing Network Time Protocol

NTP Modes

Enabling NTP

Note NTP is slow to synchronize and can take up to 5 minutes for a device to synchronize with an upstream server.

S1 is also configured to adjust the time and to identify S2 as its NTP peer. NTP peers exchange time information with each other and help prevent a single point of failure.

Securing NTP

NTP A****uthentication Configuration

NTP Authentication

NTP Versions

Currently NTP Versions 3 and 4 are used in production networks. NTPv4 is an extension of NTP Version 3 and provides the following capabilities:

Implementing SNMP

Note A Get action provides the SNMP manager with read access to the SNMP agent’s Management Information Base (MIB), and a Set action provides read-write access to the SNMP device.

SNMP defines management information between these three elements:

SNMP Versions

Differences Between SNMP Security Levels

SNMP Protection

If SNMPv2 is used, it should be secured by

Sample SNMPv2 Configuration

Configuring SNMPv3

Sample SNMPv3 Configuration

Verifying SNMPv3

Configuration Backups

The archive Command is used to perform backups automatically.

Archive Configuration

Manually

Automatically

Verifying Archives

Using SCP

Enabling SCP on a Router

Sample SCP Configuration

Disabling Unused Services

Conditional Debugging

It is practical to know how to limit debug output:

The debug ip packet [ access-list ] command displays general IP debugging and is useful for analyzing messages traveling between local and remote hosts and to narrow down the scope of debugging.

Conditional debugging is sometimes called “conditionally triggered debugging.” It can be used to

To enable, define the condition with the debug condition interface

Enabling Conditional Debugging

Commands required to debug NAT and IP packet details and limit to output for interface Fa0/0 only.

Routing Protocol Authentication Options

The Purpose of Routing Protocol Authentication

The falsification of routing information is a more subtle class of attack that targets the information carried within the routing protocol.

The consequences of falsifying routing information are as follows:

Two types of neighbor authentication can be used:

Plain-Text Authentication

Hashing Authentication

Time-Based Key Chains

Key Chain Specifics:

Sample EIGRP Key Chain Configuration

Authentication Options with Different Routing Protocols

Configuring EIGRP Authentication

This section describes how to configure the following:

EIGRP Authentication Configuration Checklist

Configuring EIGRP Authentication

Configure EIGRP Key-Based Routing Authentication

Configuring EIGRP for IPv6 Authentication

Configuring Named EIGRP Authentication

Configuring OSPF Authentication

This section describes how to do the following:

OSPF Authentication

OSPF MD5 Authentication

There are two tasks to enable MD5 hashing authentication:

Configure OSPF MD5 Authentication

Configure OSPF MD5 Authentication - Interface

Configure OSPF MD5 Authentication in an Area

OSPFv2 Cryptographic Authentication

Configure OSPFv2 Cryptographic Authentication Example

OSPFv3 Authentication

Configuring OSPFv3 Authentication

Configuring OSPFv3 Authentication on an Interface Example

Configuring OSPFv3 Authentication for Area 0

Configuring BGP Authentication

This section covers the following topics:

BGP Authentication Configuration Checklist

BGP Authentication Configuration

BGP for IPv6 Authentication Configuration

Implementing VRF-Lite

VRF and VRF-Lite

Enabling VRF

Verify the Routing Table in VRF Environment

Enable EIGRP for VRF-A

Verify the Routing Table of VRF-A

Enable OSPF for VRF-B

Verify the Routing Table of VRF-B

Easy Virtual Network

Chapter 8 Summary

← All CCNP articles Home