All exams← Cisco CCNP Enterprise (ENCOR 350-401)
Test yourself →

Enterprise Network Architecture

## Enterprise Network Architecture Fundamentals

Enterprise network architecture defines the blueprint for designing, implementing, and managing an organization's network infrastructure. It emphasizes scalability, resilience, security, and performance, adapting to evolving business needs and technological advancements.

## Hierarchical Campus Design

The traditional three-tier hierarchical design is fundamental for campus networks, promoting modularity, redundancy, and ease of management.

  • Access Layer: Connects end-user devices (PCs, phones, access points) to the network. Focuses on port density, Power over Ethernet (PoE), and port-level security features.
  • Distribution Layer: Aggregates access layer switches, provides routing, policy enforcement (e.g., QoS, ACLs), and acts as a boundary for broadcast domains. It offers uplink redundancy to the core.
  • Core Layer: Provides high-speed packet switching between distribution layer devices. Focuses on extreme reliability, fast transport, and minimal processing to ensure maximum throughput.

## WAN Architectures

Wide Area Network (WAN) architectures connect geographically dispersed sites.

  • Traditional WAN: Often uses technologies like MPLS, leased lines, or VPNs over the internet, requiring manual configuration and static routing policies.
  • SD-WAN (Software-Defined WAN): An overlay architecture that abstracts the underlying transport (broadband, MPLS, LTE). It provides centralized control, application-aware routing, and improved performance, enhancing agility and reducing operational costs.

## Wireless LAN Architectures

Wireless networks are integral to modern enterprises.

  • Controller-Based WLAN: Access Points (APs) are centrally managed by a Wireless LAN Controller (WLC), which handles AP configuration, client authentication, mobility, and radio resource management.
  • Controller-Less WLAN (e.g., Cisco Meraki): APs manage themselves and can be cloud-managed, simplifying deployment and management for smaller to medium-sized environments.

## Data Center Architectures

Data centers host critical applications and data.

  • Traditional Three-Tier: Similar to campus design (access, aggregation/distribution, core), but optimized for server connectivity and traffic patterns.
  • Spine-Leaf Architecture: A modern, flatter, and highly scalable design using a Clos network topology. It provides predictable latency and high bandwidth between any two points, ideal for virtualized and cloud environments.
  • ACI (Application Centric Infrastructure): Cisco's Software-Defined Networking (SDN) solution for data centers, providing centralized policy-based automation and network programmability, focusing on application requirements.

## Network Programmability and Automation

Modern architectures increasingly leverage APIs (Application Programming Interfaces), controllers (e.g., Cisco DNA Center), and orchestration tools to automate network operations, configuration, and provisioning, moving towards intent-based networking.

## Cloud Architectures

Enterprise networks now extend to and integrate with various cloud models:

  • Public Cloud: Services offered by third-party providers over the internet (e.g., AWS, Azure).
  • Private Cloud: Dedicated cloud infrastructure for a single organization.
  • Hybrid Cloud: A mix of public and private cloud resources, allowing flexible workload placement.
  • Multi-Cloud: Using multiple public cloud providers to avoid vendor lock-in and leverage best-of-breed services.
  • The **three-tier hierarchical design** (Access, Distribution, Core) is foundational for scalable campus networks.
  • **SD-WAN** uses an overlay to centralize control and optimize application traffic over diverse WAN links.
  • **Spine-Leaf architecture** offers high-bandwidth, low-latency, and scalable connectivity in modern data centers.
  • **Cisco ACI** is a data center SDN solution enabling policy-based automation and application-centric network management.
  • **Controller-based WLANs** centralize AP management and client mobility via a Wireless LAN Controller (WLC).
  • **Network programmability** uses APIs and automation to manage network devices programmatically, enabling intent-based networking.
  • The **Distribution layer** acts as a routing boundary and policy enforcement point in campus designs.
  • **Hybrid cloud** combines public and private cloud resources for flexibility and workload mobility.
What are the three layers of the traditional hierarchical campus design?
Access, Distribution, and Core.
tap to reveal
What is the primary benefit of SD-WAN over traditional WAN?
Centralized control, application-aware routing, and optimized performance over diverse links.
tap to reveal
Describe the purpose of the Access Layer in a campus network.
Connects end-user devices, provides PoE, and implements port-level security.
tap to reveal
What is the key characteristic of a Spine-Leaf data center architecture?
A flatter, non-blocking Clos network topology offering predictable latency and high bandwidth.
tap to reveal
What technology enables centralized management of Access Points and client mobility in a large WLAN?
Wireless LAN Controller (WLC).
tap to reveal
What does 'ACI' stand for in the context of data centers?
Application Centric Infrastructure.
tap to reveal
How do modern network architectures leverage APIs?
For programmatic configuration, monitoring, and automation of network devices and services, moving towards intent-based networking.
tap to reveal
What is a 'Hybrid Cloud' architecture?
A combination of public and and private cloud environments, allowing data and applications to be shared between them.
tap to reveal

Virtualization Technologies

Virtualization technologies are fundamental for modern network architectures, enabling flexibility, scalability, and efficiency by abstracting resources from their underlying hardware.

## Server Virtualization

This involves running multiple Virtual Machines (VMs) on a single physical server. A hypervisor is the software that creates and runs VMs. There are two main types:

  • Type 1 Hypervisor (Bare-Metal): Runs directly on the host hardware, examples include VMware ESXi, Microsoft Hyper-V, and Cisco's KVM-based hypervisors. It offers high performance and security.
  • Type 2 Hypervisor (Hosted): Runs as an application on an existing operating system, examples include VMware Workstation or VirtualBox. It's simpler for testing but less efficient for production.

## Network Virtualization

This abstracts network resources, allowing logical networks to operate independently of the physical infrastructure.

  • Software-Defined Networking (SDN): Separates the control plane (decision-making) from the data plane (packet forwarding). An SDN controller (e.g., Cisco DNA Center, Cisco vManage for SD-WAN) centralizes network intelligence and configuration, enabling programmatic management and automation.
  • Network Function Virtualization (NFV): Decouples network functions (e.g., routers, firewalls, load balancers) from proprietary hardware appliances and runs them as Virtualized Network Functions (VNFs) on standard servers. This improves agility and reduces operational costs. Key components include NFV Infrastructure (NFVI) and Management and Orchestration (MANO).
  • Virtual Switching: Software-based switches (e.g., vSphere Standard Switch, vSphere Distributed Switch) connect VMs to the physical network and provide advanced features like traffic shaping and security policies.
  • Overlay Networks: Create logical networks on top of an existing underlay physical network. They encapsulate traffic, allowing logical segments to span across disparate physical locations. VXLAN (Virtual Extensible LAN) is a common overlay technology that extends Layer 2 segments over a Layer 3 underlay using VXLAN Tunnel Endpoints (VTEPs) and Virtual Network Identifiers (VNIs).
  • VRF-Lite (Virtual Routing and Forwarding Lite): A feature on routers that allows multiple independent routing tables to coexist on a single router, providing network segmentation and virtualization for different customers or departments.

## Cisco Specific Virtualization

  • Cisco SD-WAN: An overlay network solution that uses a centralized controller (vSmart) to build secure, intelligent tunnels (vEdge/cEdge) over any transport, optimizing application performance and simplifying WAN management.
  • Cisco DNA Center: An SDN controller for campus and branch networks, providing automation, assurance, and security through a single pane of glass.
  • Type 1 hypervisors run directly on the host hardware, offering high performance.
  • SDN separates the network's control plane from its data plane, centralizing management.
  • NFV decouples network functions from dedicated hardware, running them as software (VNFs).
  • VXLAN uses VTEPs to encapsulate Layer 2 frames into UDP for transport over a Layer 3 underlay.
  • Cisco DNA Center is an SDN controller for campus and branch networks, enabling automation and assurance.
  • Cisco SD-WAN utilizes an overlay architecture with a centralized control plane (vSmart) for WAN management.
  • VRF-Lite allows a single router to maintain multiple independent routing tables for network segmentation.
  • Overlay networks create logical networks on top of a physical underlay, often using encapsulation.
What is the primary characteristic of a Type 1 Hypervisor?
It runs directly on the host hardware (bare-metal), without an underlying operating system.
tap to reveal
What fundamental concept does SDN introduce to network architecture?
The separation of the control plane (network intelligence) from the data plane (packet forwarding).
tap to reveal
What is the main goal of Network Function Virtualization (NFV)?
To decouple network functions (e.g., firewall, router) from proprietary hardware and run them as software (VNFs) on standard servers.
tap to reveal
In VXLAN, what is the role of a VTEP?
A VXLAN Tunnel Endpoint (VTEP) encapsulates Layer 2 Ethernet frames into UDP packets and de-encapsulates them for transport over a Layer 3 IP network.
tap to reveal
Name a key Cisco SDN controller used for campus and branch networks.
Cisco DNA Center.
tap to reveal
How does Cisco SD-WAN provide network connectivity and management?
It uses an overlay network architecture, building secure tunnels over any transport, managed by a centralized control plane (vSmart).
tap to reveal
What functionality does VRF-Lite provide on a router?
It allows a single router to host multiple independent routing tables, enabling network virtualization and segmentation for different tenants or services.
tap to reveal

Layer 2 Infrastructure

## Layer 2 Infrastructure

Layer 2 infrastructure forms the foundation of modern enterprise networks, providing connectivity within a local area network (LAN). Key technologies ensure efficient, redundant, and secure data forwarding.

## VLANs and Trunks

  • VLANs (Virtual Local Area Networks) segment a single physical switch into multiple logical broadcast domains, improving security and performance. Devices in different VLANs cannot communicate without a Layer 3 device.
  • Trunks are links that carry traffic for multiple VLANs between switches or between a switch and a router.
  • IEEE 802.1Q is the industry standard for VLAN tagging on trunk links. It inserts a 4-byte tag into the Ethernet frame header, identifying the VLAN.
  • The Native VLAN on an 802.1Q trunk link sends untagged frames. Mismatched native VLANs can cause connectivity issues and security risks.
  • DTP (Dynamic Trunking Protocol) is a Cisco-proprietary protocol used to negotiate trunking parameters between switches.

## Spanning Tree Protocol (STP)

  • STP prevents Layer 2 loops in redundant network topologies, which can cause broadcast storms and MAC address table instability. It achieves this by logically blocking redundant paths.
  • Root Bridge: The central point of an STP domain, elected based on Bridge ID (priority + MAC address). All paths to the root bridge are preferred.
  • RSTP (Rapid Spanning Tree Protocol - 802.1w) is an evolution of classic STP, offering significantly faster convergence (typically within seconds) by rapidly transitioning ports to forwarding states.
  • MSTP (Multiple Spanning Tree Protocol - 802.1s) allows multiple STP instances, mapping one or more VLANs to each instance. This optimizes resource utilization and provides load balancing by allowing different VLANs to use different root bridges and forwarding paths.

## EtherChannel

  • EtherChannel (also known as Link Aggregation Group or LAG) bundles multiple physical Ethernet links into a single logical link. This provides increased bandwidth and link redundancy.
  • LACP (Link Aggregation Control Protocol - 802.3ad) is an open standard protocol for negotiating EtherChannels.
  • PAgP (Port Aggregation Protocol) is a Cisco-proprietary protocol for negotiating EtherChannels.
  • Static EtherChannels can be configured without negotiation protocols.

## Layer 2 Security Features

  • Port Security: Limits the number of MAC addresses allowed on a switch port, preventing unauthorized devices from connecting. Actions for violations include shutdown, restrict, or protect.
  • DHCP Snooping: Prevents rogue DHCP servers from issuing IP addresses and mitigates DHCP starvation attacks. It builds a binding table of trusted DHCP servers and valid IP-MAC bindings.
  • Dynamic ARP Inspection (DAI): Protects against ARP spoofing and poisoning by validating ARP packets against the DHCP snooping binding table. Untrusted ports block invalid ARP packets.
  • IP Source Guard: Prevents IP and MAC address spoofing by filtering traffic based on the DHCP snooping binding table. It ensures that only traffic with valid source IP and MAC addresses is forwarded.
  • 802.1Q is the standard for VLAN tagging on trunk links, adding a 4-byte tag to frames.
  • RSTP (802.1w) provides significantly faster STP convergence compared to classic STP.
  • EtherChannel bundles multiple physical links into one logical link for increased bandwidth and redundancy.
  • Port Security limits MAC addresses on a switch port to prevent unauthorized device access.
  • DHCP Snooping prevents rogue DHCP servers and builds a trusted IP-MAC binding table.
  • DAI (Dynamic ARP Inspection) uses the DHCP snooping table to validate ARP packets and prevent ARP spoofing.
  • MSTP (802.1s) allows multiple STP instances, mapping VLANs to optimize resource use and load balance.
  • IP Source Guard prevents IP/MAC address spoofing by filtering traffic based on the DHCP snooping binding table.
What is the primary purpose of IEEE 802.1Q?
To tag Ethernet frames on trunk links, identifying which VLAN they belong to.
tap to reveal
How does RSTP improve upon classic STP?
RSTP (Rapid Spanning Tree Protocol) achieves significantly faster convergence times, typically within seconds.
tap to reveal
What is the main benefit of using EtherChannel?
It increases bandwidth and provides link redundancy by bundling multiple physical links into a single logical channel.
tap to reveal
What Layer 2 security feature prevents unauthorized devices from connecting to a switch port by limiting MAC addresses?
Port Security.
tap to reveal
How does DHCP Snooping enhance network security?
It prevents rogue DHCP servers from issuing IP addresses and builds a binding table of valid IP-MAC addresses.
tap to reveal
What attack does Dynamic ARP Inspection (DAI) help mitigate?
ARP spoofing and ARP poisoning attacks.
tap to reveal
What is the advantage of MSTP (Multiple Spanning Tree Protocol) over RSTP in larger networks?
MSTP allows multiple STP instances, enabling load balancing and more efficient resource utilization by mapping different VLANs to different STP instances.
tap to reveal
Which Layer 2 security feature prevents IP and MAC address spoofing by filtering traffic based on the DHCP snooping binding table?
IP Source Guard.
tap to reveal

Layer 3 Infrastructure

## Layer 3 Infrastructure Fundamentals

Layer 3 infrastructure focuses on routing and forwarding packets across networks. Key concepts include Administrative Distance (AD), which ranks the trustworthiness of routing information sources (lower is better), and Metric, used by a routing protocol to determine the best path within its own domain. When multiple paths exist, the router uses the Longest Prefix Match to select the most specific route.

## Interior Gateway Protocols (IGPs)

OSPF (Open Shortest Path First)

An open-standard link-state routing protocol. OSPF divides networks into areas to improve scalability and reduce routing table size. Area 0 (backbone area) is mandatory, and all other areas must connect to it. Routers in Area 0 are called Backbone Routers. Area Border Routers (ABRs) connect regular areas to Area 0. Designated Routers (DRs) and Backup Designated Routers (BDRs) are elected on multi-access segments to reduce LSA flooding.

EIGRP (Enhanced Interior Gateway Routing Protocol)

Cisco proprietary distance-vector protocol with link-state characteristics. EIGRP uses the Diffusing Update Algorithm (DUAL) to ensure loop-free paths and fast convergence. It calculates a composite metric based on bandwidth, delay, reliability, and load. EIGRP maintains a topology table containing all learned routes, including feasible successors (backup paths).

## Border Gateway Protocol (BGP)

An exterior gateway protocol (EGP) and path-vector protocol used for inter-AS routing on the internet. BGP uses Autonomous System Numbers (ASNs) to identify routing domains. eBGP connects different ASes, while iBGP connects routers within the same AS. BGP routers exchange path attributes (e.g., AS_PATH, NEXT_HOP, LOCAL_PREF, MED) to influence best path selection. Route Reflectors are used to scale iBGP by relaxing the full-mesh requirement.

## Route Manipulation & Redundancy

Route Redistribution allows different routing protocols to exchange route information, but requires careful configuration due to varying ADs and metrics. Route Summarization (or aggregation) reduces routing table size and instability by advertising a single summary route for multiple specific routes.

First Hop Redundancy Protocols (FHRPs) like HSRP (Hot Standby Router Protocol), VRRP (Virtual Router Redundancy Protocol), and GLBP (Gateway Load Balancing Protocol) provide default gateway redundancy. HSRP and VRRP use an active/standby model, while GLBP offers load balancing across multiple routers.

## Advanced Layer 3 Features

VRF-Lite (Virtual Routing and Forwarding-Lite) allows a single router to host multiple independent routing tables, providing network segmentation. Policy-Based Routing (PBR) allows forwarding decisions to be made based on criteria other than the destination IP address, using `match` and `set` commands. Bidirectional Forwarding Detection (BFD) provides rapid detection of forwarding path failures, enabling faster convergence for routing protocols.

  • Administrative Distance (AD) determines route trustworthiness; lower is better.
  • OSPF Area 0 is the mandatory backbone area, connecting all other areas.
  • EIGRP uses DUAL for loop-free paths and fast convergence, maintaining feasible successors.
  • BGP is a path-vector protocol using ASNs and path attributes for inter-AS routing.
  • FHRPs (HSRP, VRRP, GLBP) ensure default gateway redundancy and high availability.
  • VRF-Lite creates multiple isolated routing tables on a single router for segmentation.
  • Route Redistribution exchanges routes between different routing protocols, requiring AD consideration.
  • Policy-Based Routing (PBR) influences packet forwarding based on custom criteria, not just destination IP.
What is Administrative Distance (AD)?
A value used by a router to rank the trustworthiness of routing information sources; lower AD is preferred.
tap to reveal
What is the primary role of OSPF Area 0?
It's the mandatory backbone area to which all other OSPF areas must directly or indirectly connect.
tap to reveal
How does EIGRP ensure loop-free paths and fast convergence?
Through the Diffusing Update Algorithm (DUAL), which calculates feasible successors.
tap to reveal
What is the purpose of BGP path attributes?
They are used by BGP to influence the best path selection for inter-AS routing.
tap to reveal
What problem do FHRPs (HSRP, VRRP, GLBP) solve?
They provide default gateway redundancy, ensuring hosts can always reach an active gateway even if one router fails.
tap to reveal
What is VRF-Lite used for?
To create multiple independent routing and forwarding tables on a single router, segmenting network traffic.
tap to reveal
What is a common challenge when performing route redistribution?
Differences in administrative distances and metrics between protocols, which can lead to routing loops or suboptimal paths if not carefully managed.
tap to reveal
What is the primary benefit of Bidirectional Forwarding Detection (BFD)?
It provides rapid detection of forwarding path failures, allowing routing protocols to converge much faster.
tap to reveal

Wireless LAN Technologies

## WLAN Fundamentals

Wireless LANs (WLANs) operate based on IEEE 802.11 standards (e.g., 802.11a/b/g/n/ac/ax). Unlike wired networks, WLANs use CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) due to the half-duplex nature of radio communication. Wi-Fi operates primarily in the 2.4 GHz and 5 GHz ISM bands. The 5 GHz band offers more non-overlapping channels and higher throughput but has a shorter range and is more susceptible to obstacles. SSIDs (Service Set Identifiers) broadcast the network name.

## WLAN Architecture

Modern enterprise WLANs typically use a controller-based architecture. Access Points (APs) can operate in various modes:

  • Lightweight AP: Requires a Wireless LAN Controller (WLC) for configuration, management, and often data forwarding (centralized switching).
  • Autonomous AP: Self-contained, configured individually, acts as its own controller.
  • FlexConnect AP: A lightweight AP mode where data traffic can be locally switched at the AP, and client authentication can be locally handled when the WLC is unreachable, ideal for branch offices.

WLCs manage APs, centralize configuration, and provide services like Radio Resource Management (RRM) for automated channel and power optimization. Cisco offers AireOS and Catalyst WLC platforms, with Catalyst WLCs representing the newer, integrated approach.

## WLAN Security

WPA2 and WPA3 are the primary security standards. WPA3 is the latest, offering stronger encryption (192-bit CNSA mode), Enhanced Open for public Wi-Fi, and SAE (Simultaneous Authentication of Equals) for stronger PSK-like authentication.

For enterprise deployments, 802.1X authentication is used, leveraging EAP (Extensible Authentication Protocol) methods (e.g., PEAP, EAP-TLS) and a RADIUS (Remote Authentication Dial-In User Service) server to authenticate users and devices against a central database (e.g., Cisco ISE). This provides individual user credentials and dynamic per-user encryption keys, unlike Pre-Shared Key (PSK) which uses a single key for all clients.

## Roaming

Client roaming allows devices to move between APs without losing connectivity. Layer 2 roaming occurs when clients move between APs on the same subnet. Layer 3 roaming is more complex, involving clients moving between APs on different subnets, often managed by the WLC to maintain IP address continuity.

  • 802.11ax (Wi-Fi 6) significantly improves efficiency and capacity in dense wireless environments.
  • WLANs use CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) to manage media access and prevent collisions.
  • WPA3 is the latest Wi-Fi security standard, introducing SAE for stronger authentication and Enhanced Open for unauthenticated networks.
  • FlexConnect allows lightweight APs to locally switch client data and authenticate clients when the WLC is unreachable.
  • 802.1X enterprise authentication leverages EAP and a RADIUS server for centralized, per-user security.
  • The 5 GHz band offers more non-overlapping channels and higher throughput but has a shorter range than 2.4 GHz.
  • CAPWAP (Control and Provisioning of Wireless Access Points) is the protocol used by lightweight APs to communicate with a WLC.
  • Radio Resource Management (RRM) dynamically optimizes AP channels and power levels to reduce interference and improve coverage.
What is the primary collision avoidance mechanism in 802.11 WLANs?
CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance).
tap to reveal
Which 802.11 standard is known as Wi-Fi 6 and focuses on efficiency in dense environments?
802.11ax.
tap to reveal
What WLC deployment mode allows APs to locally switch client data traffic and perform local authentication when the WLC link is down?
FlexConnect.
tap to reveal
Which security standard introduces Simultaneous Authentication of Equals (SAE) and Enhanced Open?
WPA3.
tap to reveal
What protocol do lightweight APs use to communicate with a Wireless LAN Controller?
CAPWAP (Control and Provisioning of Wireless Access Points).
tap to reveal
What is the role of a RADIUS server in an 802.1X enterprise WLAN?
It provides centralized authentication, authorization, and accounting (AAA) services for users and devices.
tap to reveal
What is the main advantage of the 5 GHz Wi-Fi band over 2.4 GHz?
More non-overlapping channels and higher potential throughput.
tap to reveal

Network Assurance

## Network Assurance Fundamentals

Network Assurance is the practice of continuously monitoring, managing, and optimizing network performance and security to ensure it meets business requirements. It involves proactive identification and resolution of issues, leveraging various tools and methodologies.

## Key Monitoring Technologies

  • SNMP (Simple Network Management Protocol): An application-layer protocol for managing and monitoring network devices. It uses Managers (NMS) and Agents (devices). SNMP v3 offers authentication and encryption. Uses UDP ports 161 (agent) and 162 (manager).
  • NetFlow/IPFIX: Technologies for collecting IP traffic flow information. Useful for network monitoring, security analysis, and capacity planning. NetFlow exports records containing source/destination IP, ports, protocol, etc. IPFIX is an IETF standard based on NetFlow v9.
  • Syslog: A standard for sending system event messages to a centralized server. Messages are categorized by severity levels (e.g., emergency, alert, critical, error, warning, notice, informational, debug) and facilities. Crucial for troubleshooting and security auditing.
  • SPAN (Switched Port Analyzer) / ERSPAN (Encapsulated Remote SPAN): SPAN mirrors traffic from one or more source ports/VLANs to a destination port for analysis. ERSPAN extends this across Layer 3 boundaries by encapsulating mirrored traffic in a GRE tunnel, allowing remote analysis.
  • IP SLA (Service Level Agreement): A feature that generates and analyzes traffic to measure network performance. It simulates various network operations (e.g., ping, HTTP GET, UDP jitter) to measure metrics like latency, jitter, packet loss, and availability.

## Programmable Assurance

  • Model-Driven Telemetry (MDT): A modern approach to network monitoring where devices push operational data to collectors. It uses data models (e.g., YANG) and encoding formats (e.g., GPB, JSON) over transports like gRPC. MDT offers higher frequency, granular data collection, and reduced overhead compared to traditional polling (e.g., SNMP).
  • APIs (Application Programming Interfaces): NETCONF and RESTCONF are protocol-independent APIs used for configuring and monitoring network devices. They use YANG data models to define data structures. They enable programmatic interaction with devices, facilitating automation and assurance tasks.

## Troubleshooting Methodologies

Common approaches include Top-down (application to physical), Bottom-up (physical to application), and Divide and Conquer (isolating layers or segments). Establishing a baseline of normal network behavior is critical for identifying anomalies and troubleshooting efficiently.

  • SNMP uses UDP ports 161 (agent) and 162 (manager) for network device monitoring and management.
  • NetFlow and IPFIX collect IP traffic flow data, essential for network analysis and security.
  • Syslog centralizes event messages, categorized by severity, crucial for troubleshooting and auditing.
  • SPAN/ERSPAN mirror network traffic for analysis, with ERSPAN extending monitoring across Layer 3.
  • IP SLA simulates network traffic to measure performance metrics like latency, jitter, and packet loss.
  • Model-Driven Telemetry (MDT) pushes high-frequency, granular data using YANG models, improving monitoring efficiency over polling.
  • NETCONF and RESTCONF are API protocols for programmatic device configuration and monitoring, leveraging YANG data models.
  • Establishing a network baseline is fundamental for identifying deviations and effective troubleshooting.
What is the primary purpose of SNMP in network assurance?
To manage and monitor network devices by collecting operational data.
tap to reveal
How does NetFlow contribute to network assurance?
It collects IP traffic flow information, useful for traffic analysis, security monitoring, and capacity planning.
tap to reveal
What is the main advantage of Model-Driven Telemetry (MDT) over traditional SNMP polling?
MDT pushes data proactively, offering higher frequency, more granular data, and reduced overhead compared to polling.
tap to reveal
What is the function of SPAN and ERSPAN?
They mirror network traffic from source ports/VLANs to a destination for analysis, with ERSPAN extending this capability over Layer 3.
tap to reveal
Which technology is used to simulate network traffic and measure performance metrics like jitter and latency?
IP SLA (Service Level Agreement).
tap to reveal
Name two common troubleshooting methodologies.
Top-down, Bottom-up, or Divide and Conquer.
tap to reveal
Why is establishing a network baseline important for network assurance?
It provides a reference point for normal network behavior, enabling the identification of anomalies and efficient troubleshooting.
tap to reveal
What are NETCONF and RESTCONF primarily used for in network assurance?
They are API protocols (using YANG models) for programmatic configuration and monitoring of network devices, enabling automation.
tap to reveal

Infrastructure Security

## Infrastructure Security Fundamentals

Infrastructure security is paramount for protecting network devices and the data they transmit. Key areas include securing device access, the control plane, the data plane, and Layer 2 infrastructure.

## Device Access Control (AAA)

Authentication, Authorization, and Accounting (AAA) is a framework for controlling who can access network devices and what actions they can perform.

  • Authentication: Verifies user identity (e.g., username/password).
  • Authorization: Determines permitted actions for authenticated users.
  • Accounting: Tracks user activity and resource consumption.

RADIUS and TACACS+ are common AAA protocols. RADIUS often combines AAA and is used for network access. TACACS+ separates AAA, offering more granular authorization, making it ideal for device administration. Local authentication serves as a crucial fallback.

## Control Plane Security

The control plane handles critical device operations, including routing protocols and management traffic (SSH, SNMP). Protecting it prevents device compromise or denial of service.

  • Control Plane Policing (CoPP): Protects the device's CPU from excessive traffic by rate-limiting or dropping packets destined for the control plane, preventing resource exhaustion attacks.
  • Management plane protection involves using secure protocols like SSH (instead of Telnet) and SNMPv3 (with authentication and encryption) for remote access and monitoring.

## Data Plane Security

The data plane is responsible for forwarding user traffic.

  • Access Control Lists (ACLs): Filter traffic based on criteria such as source/destination IP addresses, port numbers, and protocols.
  • Unicast Reverse Path Forwarding (uRPF): Mitigates IP spoofing by verifying that the source IP address of an incoming packet has a valid, routable path back to its origin. Packets failing this check are dropped.

## Layer 2 Security

Layer 2 attacks can severely impact network availability and data integrity.

  • DHCP Snooping: Prevents rogue DHCP servers and DHCP starvation attacks by building and maintaining a trusted database of DHCP bindings.
  • Dynamic ARP Inspection (DAI): Prevents ARP spoofing and poisoning by validating ARP packets against the DHCP snooping binding database or static entries.
  • IP Source Guard: Restricts client IP traffic on untrusted Layer 2 ports to only known source IP/MAC address combinations, preventing IP and MAC address spoofing.
  • Port Security: Limits the number of MAC addresses learned on a switch port and defines actions (e.g., shutdown, restrict) when limits are exceeded, preventing MAC flooding.
  • BPDU Guard and Root Guard: Protect against rogue STP BPDUs, preventing unauthorized changes to the spanning-tree topology.

## VPN Technologies

Virtual Private Networks (VPNs) provide secure, encrypted communication over untrusted networks.

  • IPsec: A suite of protocols providing data confidentiality, integrity, and authentication. It's used for both site-to-site and remote-access VPNs. IPsec operates in two main phases: IKE (Internet Key Exchange) for negotiating security associations, and IPsec itself for data encryption and authentication.
  • **TACACS+** offers more granular, command-level authorization compared to **RADIUS**, making it preferred for device administration.
  • **Control Plane Policing (CoPP)** protects a device's CPU from DoS attacks by rate-limiting traffic destined for the control plane.
  • **DHCP Snooping** prevents rogue DHCP servers and builds a trusted database of IP-to-MAC bindings.
  • **Dynamic ARP Inspection (DAI)** uses the DHCP snooping database to validate ARP packets and prevent ARP spoofing.
  • **Unicast Reverse Path Forwarding (uRPF)** mitigates IP source spoofing by verifying the source IP's routability back to its origin.
  • **Port Security** limits MAC addresses on a switch port, preventing MAC flooding and unauthorized device connections.
  • **IPsec** provides confidentiality, integrity, and authentication for VPNs, using IKE for key exchange and IPsec for data encryption.
  • **SSH** and **SNMPv3** are essential for secure device management due to their encryption and authentication capabilities.
What are the three core components of AAA?
Authentication, Authorization, and Accounting.
tap to reveal
Which AAA protocol is generally preferred for granular device administration authorization?
TACACS+.
tap to reveal
What is the primary function of Control Plane Policing (CoPP)?
To protect a device's CPU from excessive or malicious traffic destined for the control plane, preventing resource exhaustion.
tap to reveal
Which Layer 2 security feature prevents rogue DHCP servers and DHCP starvation attacks?
DHCP Snooping.
tap to reveal
How does Dynamic ARP Inspection (DAI) prevent ARP spoofing?
It validates ARP packets against the DHCP snooping binding database or static entries, dropping invalid ARP traffic.
tap to reveal
What does Port Security achieve on a switch port?
It limits the number of MAC addresses that can be learned on a port and defines actions for violations, preventing MAC flooding and unauthorized device connections.
tap to reveal
What is the main purpose of Unicast Reverse Path Forwarding (uRPF)?
To mitigate IP source spoofing by verifying that the source IP address of an incoming packet has a valid return path in the routing table.
tap to reveal
What are the two main phases of an IPsec VPN?
Phase 1 (IKE/ISAKMP) for establishing a secure tunnel and negotiating security policies, and Phase 2 (IPsec) for encrypting and encapsulating data.
tap to reveal

Network Automation and Programmability

## Network Automation and Programmability

Network automation is crucial for modern, scalable, and efficient network operations, reducing manual errors and accelerating deployments. It involves using software to manage and configure network devices.

## Data Models

Data models provide a structured, standardized way to represent network device configurations and operational states.

  • YANG (Yet Another Next Generation): A data modeling language used to define the structure of configuration and state data for network devices. It's human-readable and machine-parseable.
  • JSON (JavaScript Object Notation): A lightweight, human-readable data interchange format, widely used with REST APIs.
  • XML (Extensible Markup Language): A markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. Often used with NETCONF.

## APIs and Protocols

APIs (Application Programming Interfaces) enable programmatic interaction with network devices.

  • NETCONF (Network Configuration Protocol): A protocol designed for configuring network devices. It uses XML to encode configuration data and runs over SSH for secure transport. It's transaction-based and provides robust error handling.
  • RESTCONF: A HTTP-based protocol that uses YANG data models to configure and monitor network devices. It leverages standard HTTP methods (GET, POST, PUT, DELETE) for operations, making it stateless and scalable.
  • gRPC (Google Remote Procedure Call): A high-performance, open-source RPC framework that can be used for network programmability, often for streaming telemetry. It uses Protocol Buffers for data serialization.

## Automation Tools and Concepts

  • Python: A widely adopted programming language for network automation due to its simplicity, extensive libraries, and strong community support.
  • Ansible: An open-source automation engine that automates provisioning, configuration management, application deployment, and orchestration. It's agentless, using SSH to communicate with devices. Playbooks written in YAML define desired states.
  • Software-Defined Networking (SDN): Decouples the network's control plane from the data plane, centralizing control and enabling programmatic management of network resources. Northbound APIs allow applications to interact with the SDN controller, while Southbound APIs (like OpenFlow) enable the controller to program network devices.
  • Orchestration: The automated arrangement, coordination, and management of computer systems, middleware, and services. It often involves chaining multiple automation tasks together.

## Telemetry

  • Model-Driven Telemetry (MDT): A modern approach to network monitoring where devices stream operational data to collectors. It uses YANG data models to define the data structure and can push data in real-time, offering greater visibility than traditional polling methods (e.g., SNMP).
  • **YANG** is a data modeling language defining network configuration and state.
  • **NETCONF** uses XML over SSH for secure, transaction-based network configuration.
  • **RESTCONF** leverages HTTP/HTTPS with YANG data models for stateless network management.
  • **Ansible** is an agentless automation engine using YAML playbooks and SSH.
  • **SDN** separates the control plane from the data plane for centralized network management.
  • **Python** is a popular language for scripting network automation tasks.
  • **Model-Driven Telemetry (MDT)** provides real-time, push-based operational data using YANG models.
  • **gRPC** is a high-performance RPC framework often used for streaming telemetry.
What is the primary purpose of **YANG** in network automation?
To define the structure and hierarchy of configuration and state data for network devices.
tap to reveal
Which protocol uses **XML** to encode configuration data and runs securely over **SSH**?
**NETCONF**.
tap to reveal
Which protocol uses **HTTP/HTTPS** and **YANG** data models for configuring and monitoring network devices?
**RESTCONF**.
tap to reveal
What is a key characteristic of **Ansible** that differentiates it from some other automation tools?
It is **agentless**, meaning no software needs to be installed on the managed devices.
tap to reveal
In **SDN**, what is the role of a **northbound API**?
It allows applications and orchestration tools to communicate with the SDN controller to request network services.
tap to reveal
What is the main benefit of **Model-Driven Telemetry (MDT)** compared to traditional polling methods like SNMP?
MDT provides real-time, push-based data streaming, offering more granular and timely insights into network operations.
tap to reveal
Name two common data serialization formats used with network APIs.
**JSON** and **XML**.
tap to reveal
What is the difference between an **imperative** and a **declarative** automation approach?
**Imperative** specifies *how* to achieve a desired state (step-by-step commands), while **declarative** specifies *what* the desired end state should be (e.g., Ansible playbooks).
tap to reveal