Lesson Overview

Modern enterprise networks require security solutions that go beyond traditional IP-based access control. As organizations adopt cloud applications, remote access, automation, and hybrid infrastructure, network security must provide deeper traffic inspection, identity-based segmentation, and secure communication between devices.


Three important technologies used to strengthen enterprise network security are:

  • Next-Generation Firewall (NGFW): Provides application-aware traffic inspection, intrusion prevention, threat intelligence, and advanced security policy enforcement.

  • Cisco TrustSec: Provides scalable, identity-based network segmentation using Security Group Tags (SGTs) and Security Group Access Control Lists (SGACLs).

  • MACsec (IEEE 802.1AE): Provides Layer 2 encryption, integrity protection, and replay protection for Ethernet communication between supported devices.

These technologies address different security requirements and can be combined to create a defense-in-depth architecture.


This lesson explains their architecture, operating principles, enterprise use cases, Cisco configuration examples, verification commands, troubleshooting methods, and deployment best practices.


Learning Objectives

After completing this lesson, you will be able to:

  1. Explain the architecture and functions of Next-Generation Firewalls.

  2. Differentiate traditional firewalls from NGFWs.

  3. Understand application visibility, IPS, URL filtering, and threat intelligence.

  4. Explain Cisco Secure Firewall and its management components.

  5. Understand Cisco TrustSec, SGTs, and SGACLs.

  6. Describe identity-based segmentation and policy enforcement.

  7. Explain how Cisco ISE integrates with TrustSec.

  8. Understand MACsec encryption and the MACsec Key Agreement protocol.

  9. Identify differences between MACsec, IPsec, and TLS.

  10. Configure and verify selected TrustSec and MACsec features on supported Cisco platforms.

  11. Troubleshoot NGFW, TrustSec, and MACsec deployments.

  12. Design a layered enterprise security architecture.

1. Next-Generation Firewall (NGFW)

A Next-Generation Firewall combines traditional stateful firewalling with deeper application visibility, threat prevention, intrusion prevention, identity context, URL/file controls, and centralized policy management. It is designed to make decisions using more than IP addresses and TCP/UDP ports.


Traditional firewalls primarily make decisions using source IP addresses, destination IP addresses, protocols, ports, and connection state. An NGFW can additionally evaluate applications, users, content, intrusion signatures, and security intelligence.


For example, a traditional firewall may permit TCP port 443 without knowing which application is using that connection. An NGFW may identify the application and apply an application-specific security policy, subject to the traffic visibility available to the firewall.


Key NGFW Capabilities

Feature

Description

Stateful Inspection

Tracks connection state

Application Awareness

Identifies applications beyond port numbers

Intrusion Prevention

Detects and blocks selected malicious traffic

URL Filtering

Controls access to website categories

Malware Protection

Detects suspicious or malicious files

Identity-Based Policies

Applies policies using user or group identity

Security Intelligence

Uses threat intelligence to identify risky destinations

TLS Inspection

Inspects supported encrypted traffic when configured

Logging and Analytics

Records traffic and security events


1.1 Traditional Firewall vs Next-Generation Firewall

Feature

Traditional Firewall

NGFW

IP Address Filtering

Yes

Yes

Port-Based Filtering

Yes

Yes

Stateful Inspection

Common

Yes

Application Identification

Limited

Yes

Intrusion Prevention

Separate or optional

Commonly integrated

URL Filtering

Optional

Commonly available

Malware Inspection

Limited or separate

Commonly integrated

User Identity Policies

Limited

Supported on many platforms

Threat Intelligence

Limited or optional

Commonly integrated

Centralized Security Analytics

Varies

Commonly available

Important: NGFW capabilities depend on the firewall model, software release, licensing, and enabled services.


1.2 NGFW Enterprise Topology

Pasted content image

Figure 1.2 - NGFW deployed between the internal network and the Internet, with centralized management and policy-based inspection.


1.2.1 NGFW Placement in Enterprise Design

Internet edge: inspect north-south traffic between enterprise and external networks.

Data center edge: protect server segments and DMZ services.

Internal segmentation firewall: control east-west traffic between business zones.

VPN termination: combine secure remote/site connectivity with access policy and inspection.

High availability: deploy redundant peers/clusters where platform and design require resilience.


1.2.2 Traffic Processing

When traffic reaches an NGFW, the firewall may perform the following operations:

  1. Identify the ingress interface and security zone.

  2. Evaluate connection state.

  3. Determine the applicable security policy.

  4. Identify the application where possible.

  5. Apply configured intrusion and malware inspection.

  6. Apply URL or destination reputation policies.

  7. Permit, block, or otherwise handle the traffic.

  8. Generate logs and security events.

The exact order of processing varies by vendor, platform, and configuration.


1.3 Stateful Inspection

A stateful firewall records connection properties such as source/destination, ports, protocol, TCP state, translation, and policy result.

Return traffic that belongs to an allowed session is handled using the connection state rather than requiring an independent stateless rule for each packet.

State tables improve security and operational visibility but also consume resources. Abnormal connection volumes can become a security/scale consideration.


1.4 Application Awareness

Modern applications can use common ports such as TCP/443, so port-based policy alone is often insufficient.

Application identification examines traffic attributes and protocol behavior to classify applications when visibility is available.

Encrypted traffic can reduce visibility unless metadata or approved decryption techniques are used. Decryption requires careful legal, privacy, performance, certificate, and exception planning.


1.5 IPS Integration

An IPS policy analyzes permitted traffic for exploit patterns and other malicious behavior.

IPS actions can alert, drop, reset, or otherwise respond according to platform/policy capabilities.

Use tuned policies and staged deployment to avoid excessive false positives and operational disruption.


IPS can detect certain:

  • Exploit attempts.

  • Malicious payloads.

  • Protocol violations.

  • Known attack signatures.

  • Suspicious application behavior.

IPS Workflow

Pasted content image

Detection Methods

Signature-Based Detection: Matches traffic against known attack patterns.

Behavioral or Anomaly Detection: Identifies suspicious deviations from expected activity.

Protocol Inspection: Checks whether traffic conforms to expected protocol behavior.

IPS policies require tuning to minimize false positives and avoid disrupting legitimate business applications.


1.6 Policy Enforcement Model

Match Dimension

Example

Zones / Interfaces

Inside → Outside

Networks

10.10.10.0/24 → Internet

Identity

Employees group

Application

Web browsing / collaboration

URL Category

Business / productivity

IPS Policy

Balanced Security and Connectivity

Logging

Log at end of connection plus security events


1.7 Cisco Secure Firewall

Cisco Secure Firewall is Cisco's firewall portfolio for protecting enterprise networks, data centers, and other environments.

Cisco Secure Firewall Threat Defense software provides advanced firewall and threat inspection capabilities on supported platforms.


Main Components

Cisco Secure Firewall Threat Defense (FTD): FTD is the firewall software that provides security enforcement functions, including stateful firewalling and supported advanced inspection services.

Cisco Secure Firewall Management Center (FMC): FMC provides centralized policy management, event monitoring, reporting, and administration for supported managed firewalls.

Firewall Device Manager (FDM): FDM provides local management for supported firewall deployments. The management method and available features depend on the firewall model and software release.


Management Architecture

Pasted content image

1.8 NGFW Configuration Workflow - Cisco Secure Firewall Example

Configuration model: Cisco Secure Firewall is commonly managed through Secure Firewall Management Center (FMC) or an appropriate local/cloud manager. The exact menu names depend on software version; the policy workflow below is the important training concept.

1. Create and verify inside/outside interfaces, IP addressing, routes, zones, and management connectivity.

2. Create network objects for internal subnets, servers, and special destinations.

3. Create an Access Control Policy (ACP) and ordered rules. Place specific rules above broad rules.

4. Match traffic by source/destination zone and network, then add identity/application/URL conditions as required.

5. Attach an intrusion policy to permitted traffic that requires IPS inspection.

6. Enable connection-event logging and relevant security-event logging.

7. Configure NAT separately where the design requires address translation.

8. Deploy/commit the policy to the firewall and verify successful deployment.


Example Policy Intent

Order

Source

Destination

Application / Service

Action / Inspection

1

IT Admins

Management services

SSH/HTTPS admin apps

Allow + log

2

Employees

Internet

Approved web/collaboration

Allow + IPS + URL policy

3

Any

Internet

Known risky/P2P applications

Block + log

4

Any

Any

Unmatched traffic

Block or policy-defined default


1.9 NGFW Verification

Confirm interfaces and routes are up/valid.

Confirm Access Control Policy is deployed to the intended firewall.

Use connection-event views to validate source, destination, application, action, rule, and bytes.

Use intrusion-event views to confirm IPS alerts/blocks.

Test representative traffic from a controlled client and confirm both allowed and blocked cases.


Representative device-side checks

> show interface ip brief

> show route

> show conn

 

# From diagnostic CLI on supported Secure Firewall platforms, a packet-tracer test may be used.

# Exact access method and syntax depend on platform/release.