# Cisco CCNA (200-301) — Spanning Tree (STP), OSPF, BGP, EtherChannel, ACLs, NAT/PAT, IPv6 & Network Automation

> Cisco Certified Network Associate (CCNA 200-301) blueprint mastery covering Spanning Tree Protocol (STP/RSTP election, port states), OSPFv2 (SPF, areas, DR/BDR, metrics), eBGP fundamentals, EtherChannel (LACP/PAgP), standard and extended ACLs, NAT/PAT, IPv6/NDP, and network automation (REST, JSON, YANG, Ansible).

- **Canonical URL:** https://flashcards.world/flashcards/sets/72c9eddf-14cb-45bd-a8bf-f26bdd805cf6/
- **Markdown URL:** https://flashcards.world/flashcards/sets/72c9eddf-14cb-45bd-a8bf-f26bdd805cf6.md
- **Category:** CompTIA A+ / Network+ / Security+, CISSP Cybersecurity, Cisco CCNA & PMP Project Management
- **Level:** intermediate
- **Languages:** en → en
- **Total Cards:** 32

## Flashcards (32 Cards)

| # | Front (Term / Prompt) | Back (Definition / Answer) | Example | Multiple-Choice Options |
| :--- | :--- | :--- | :--- | :--- |
| 1 | In Network Address Translation (NAT), define Inside Local, Inside Global, Outside Local, and Outside Global. | Inside Local: actual private IP address assigned to an internal host on the private network. Inside Global: public routable IP address that represents the inside host to the outside internet. Outside Local: IP address of an outside host as known to internal hosts. Outside Global: actual public routable IP address assigned to the destination host on the outside network. |  |  |
| 2 | Map standard CRUD database operations to REST API HTTP verbs and status codes. | Create maps to POST (HTTP 201 Created); Read maps to GET (HTTP 200 OK); Update/Replace maps to PUT (HTTP 200/204 No Content); Partial Update maps to PATCH (HTTP 200/204); Delete maps to DELETE (HTTP 200/204). Common error codes: 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 500 Internal Server Error. |  |  |
| 3 | Compare Ansible, Puppet, and Chef configuration management tools across architecture and push/pull models. | Ansible: agentless, runs over standard SSH and Python, push-based model (controller pushes playbooks written in YAML to managed devices). Puppet: agent-based on managed nodes, uses Ruby-based DSL/Puppet manifests, pull-based model (nodes pull configuration from Puppet Master). Chef: agent-based, uses Ruby 'recipes' and 'cookbooks', pull-based model from Chef Server. |  |  |
| 4 | What are the IPv6 address prefixes for Global Unicast, Unique Local, Link-Local, and Multicast? | Global Unicast Address (GUA): 2000::/3 (globally routable public IPs). Unique Local Address (ULA): fc00::/7 (private non-routable on the Internet, equivalent to RFC 1918). Link-Local Address (LLA): fe80::/10 (routable only on the local link, auto-configured on all IPv6 interfaces). Multicast: ff00::/8 (e.g., ff02::1 all nodes, ff02::2 all routers). |  |  |
| 5 | Explain the STP port roles: Root Port, Designated Port, and Alternate/Blocking Port, and list the tiebreaking criteria. | Root Port: one per non-root switch; port with lowest root path cost to root bridge. Designated Port: one per network segment; port forwarding traffic with lowest cost to root. Alternate/Blocking Port: redundant link placed in discarding state to prevent loops. Tiebreakers: 1. Lowest root path cost; 2. Lowest sender Bridge ID; 3. Lowest sender port priority/port number. |  |  |
| 6 | Compare Standard Access Control Lists (ACLs) and Extended ACLs regarding filtering capabilities, numbering, and placement. | Standard ACLs (numbered 1-99 and 1300-1999): filter based on Source IPv4 address only; placed as close to the Destination as possible. Extended ACLs (numbered 100-199 and 2000-2699): filter based on Source IP, Destination IP, Protocol (TCP, UDP, ICMP), and Port numbers; placed as close to the Source as possible to minimize unnecessary network traffic. |  |  |
| 7 | What interface parameters must be identical across all member ports to successfully form an EtherChannel? | Member ports must match: speed and duplex settings, interface mode (all access or all trunk), identical access VLAN (if access), identical trunk allowed VLAN list and native VLAN (if trunk), and Spanning Tree cost/priority settings. Mismatches prevent channel bundle formation. |  |  |
| 8 | What are the functions of Area 0, Area Border Routers (ABRs), and Autonomous System Boundary Routers (ASBRs) in multi-area OSPF? | Area 0 (Backbone Area): core transit area to which all other areas must physically or logically connect to prevent routing loops. ABR: router with interfaces in Area 0 and at least one non-backbone area; summarizes internal topology using Type 3 Summary LSAs. ASBR: router running OSPF that redistributes external non-OSPF routes (e.g., BGP, static routes) using Type 5 External LSAs. |  |  |
| 9 | List the primary BGP path attributes in their best-path decision order. | 1. Highest Weight (Cisco proprietary, local to router); 2. Highest Local Preference (AS-wide); 3. Locally originated routes (originated by `network` or `redistribute`); 4. Shortest AS-Path; 5. Lowest Origin code (IGP < EGP < Incomplete); 6. Lowest MED (Multi-Exit Discriminator); 7. eBGP paths over iBGP paths; 8. Lowest IGP metric to BGP Next Hop; 9. Lowest BGP Router ID. |  |  |
| 10 | How are the Designated Router (DR) and Backup Designated Router (BDR) elected on OSPF broadcast networks? | 1. Router interface with the highest OSPF priority (0 to 255; default is 1) wins DR, second highest wins BDR. (Priority 0 can never become DR/BDR). 2. If priorities tie, highest Router ID wins. 3. Election is non-preemptive: once elected, a DR remains DR even if a higher-priority router joins later (until current DR reboots or fails). |  |  |
| 11 | Compare Stateless Address Autoconfiguration (SLAAC) and DHCPv6 address assignment. | SLAAC: host listens to ICMPv6 Router Advertisements (RA) to obtain the network prefix and default gateway, generating its own 64-bit interface ID (EUI-64 or random); no server required. Stateful DHCPv6: host queries a DHCPv6 server to receive an IPv6 address, lease time, and DNS servers (M-flag=1 in RA). Stateless DHCPv6: host uses SLAAC for its IPv6 address and queries DHCPv6 only for DNS server addresses (O-flag=1 in RA). |  |  |
| 12 | Contrast Northbound APIs and Southbound APIs in an SDN controller architecture. | Northbound APIs: interfaces exposed by the SDN controller to external business applications, automation scripts, and orchestration portals; typically RESTful APIs communicating via HTTPS with JSON formatting. Southbound APIs: protocols used by the SDN controller to push configurations and programming instructions down to physical/virtual switches (OpenFlow, NETCONF, RESTCONF, OpFlex). |  |  |
| 13 | How does Software-Defined Networking (SDN) decouple traditional network architecture? | Traditional networking co-locates the Control Plane and Data Plane on every individual physical switch/router. SDN decouples the Control Plane from physical forwarding devices, centralizing control logic into a software-based SDN Controller (e.g., Cisco DNA Center), while switches become distributed Data Plane forwarding devices executing controller policies. |  |  |
| 14 | How does an OSPF router determine its Router ID (RID)? | Order of priority: 1. Highest IP address explicitly configured using `router-id x.x.x.x`; 2. Highest IPv4 address among active Loopback interfaces; 3. Highest IPv4 address among active physical interfaces. The RID is elected during process startup and does not change dynamically unless the OSPF process is reloaded. |  |  |
| 15 | What is YANG in network automation, and what is its relationship to NETCONF and RESTCONF? | YANG (Yet Another Next Generation, RFC 6020/7950) is a data modeling language used to define the syntax, hierarchy, and semantic constraints of network device configuration and operational state data. It acts as the underlying blueprint/schema that NETCONF and RESTCONF use to send and receive structured data. |  |  |
| 16 | Explain Cisco Port Security violation modes: Protect, Restrict, and Shutdown. | Protect: drops unauthorized frames with unknown MAC addresses; does not increment violation counter; does not send syslog/SNMP alerts. Restrict: drops unauthorized frames; increments security violation counter; sends syslog message and SNMP trap. Shutdown: drops frames; increments counter; immediately err-disables the interface, turning off the port LED (requires manual `shutdown`/`no shutdown` or errdisable recovery). |  |  |
| 17 | Explain the functions of Cisco STP enhancements: PortFast, BPDU Guard, and Root Guard. | PortFast: immediately transitions an access port from blocking to forwarding, bypassing listening and learning states (used for edge host devices). BPDU Guard: error-disables a PortFast-enabled port if any BPDU is received on it, protecting against rogue switches. Root Guard: prevents a downstream switch from becoming the Root Bridge on a designated port by placing it in root-inconsistent state if superior BPDUs arrive. |  |  |
| 18 | In Spanning Tree Protocol (STP 802.1D), how is the Bridge ID (BID) structured, and how is the Root Bridge elected? | BID consists of: 4-bit Bridge Priority (default 32768, configurable in increments of 4096), 12-bit Extended System ID (carries the VLAN ID), and 48-bit Switch MAC address. The switch with the lowest Bridge ID in the broadcast domain wins the Root Bridge election. If priorities are tied, the switch with the lowest MAC address becomes Root Bridge. |  |  |
| 19 | Compare Cisco PAgP and IEEE 802.3ad LACP link aggregation protocols across negotiation modes. | PAgP (Cisco proprietary): modes are Auto (passively listens) and Desirable (actively initiates negotiation). An EtherChannel forms if at least one side is Desirable (Desirable-Desirable or Desirable-Auto). LACP (IEEE open standard): modes are Passive (passively responds) and Active (actively initiates). Channel forms if at least one side is Active (Active-Active or Active-Passive). |  |  |
| 20 | What is the OSPF cost metric formula, and why is adjusting reference bandwidth necessary on modern networks? | Cost = Reference Bandwidth / Interface Bandwidth. Default reference bandwidth is 100 Mbps (10^8 bps). Under default settings, FastEthernet (100M), GigabitEthernet (1G), and 10GE all receive Cost = 1, making high-speed links indistinguishable. The command `auto-cost reference-bandwidth 1000` (or higher) must be configured across all routers to accurately reflect gigabit links. |  |  |
| 21 | Compare NETCONF and RESTCONF network configuration management protocols. | NETCONF (RFC 6241): uses SSH transport (port 830), RPC-based messaging (`<get-config>`, `<edit-config>`), and XML data encoding. RESTCONF (RFC 8040): uses HTTPS transport (RESTful HTTP verbs: GET, POST, PUT, PATCH, DELETE), supports both JSON and XML encoding, and maps YANG data models directly to URL paths. |  |  |
| 22 | What are the foundational characteristics of Border Gateway Protocol (eBGP)? | Path-vector exterior gateway protocol (EGP) used to route between independent Autonomous Systems (AS) across the Internet. Runs over TCP port 179 for reliable transport. Neighbors must be explicitly configured using `neighbor <ip> remote-as <asn>`. eBGP peers must reside in different Autonomous Systems. |  |  |
| 23 | How does Rapid Spanning Tree Protocol (RSTP 802.1w) achieve convergence in milliseconds compared to 802.1D STP? | 802.1D relies on passive timers (30-50 seconds for listening and learning). RSTP (802.1w) achieves sub-second convergence using an active Proposal/Agreement handshake mechanism on point-to-point full-duplex links. RSTP collapses port states into three: Discarding, Learning, and Forwarding. |  |  |
| 24 | What is the function of the IPv6 Neighbor Discovery Protocol (NDP), and what ICMPv6 messages does it use? | NDP replaces IPv4 ARP, ICMP Router Discovery, and ICMP Redirects. It uses 5 ICMPv6 messages: 1. Router Solicitation (RS, Type 133); 2. Router Advertisement (RA, Type 134); 3. Neighbor Solicitation (NS, Type 135 - queries target MAC address); 4. Neighbor Advertisement (NA, Type 136 - returns MAC); 5. Redirect (Type 137 - points to better next hop). |  |  |
| 25 | Compare Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP). | CDP: Cisco proprietary Layer 2 protocol; enabled by default; advertises device ID, platform, capabilities, and native VLAN every 60 seconds (holdtime 180s). LLDP: IEEE 802.1AB vendor-neutral open standard; interoperates across multi-vendor equipment; advertises system name, description, and capabilities every 30 seconds (holdtime 120s). |  |  |
| 26 | Compare JSON, XML, and YAML data serialization formats used in network automation. | JSON: lightweight, key-value pairs, arrays `[]`, objects `{}`; native to web APIs and RESTCONF. XML: verbose, markup language using paired opening and closing tags `<interface>...</interface>`; used by NETCONF. YAML: human-readable, uses whitespace/indentation without brackets or tags; primary format for Ansible playbooks. |  |  |
| 27 | What are the core operational characteristics of Open Shortest Path First (OSPF)? | Link-state interior gateway protocol (IGP), uses Dijkstra's Shortest Path First (SPF) algorithm to calculate loop-free shortest paths, administrative distance of 110, uses IP protocol 89 directly (no TCP/UDP). Hello packets sent to multicast 224.0.0.5 (all OSPF routers) and 224.0.0.6 (all DR/BDR routers). |  |  |
| 28 | How do DHCP Snooping and Dynamic ARP Inspection (DAI) prevent Layer 2 attacks? | DHCP Snooping designates switch ports as Trusted (uplinks to DHCP servers) or Untrusted (user access ports); drops unauthorized DHCP offers and builds a DHCP Snooping binding table (MAC, IP, VLAN, port). DAI inspects ARP packets on untrusted ports against this binding table, discarding invalid ARP replies to prevent ARP spoofing and poisoning. |  |  |
| 29 | List the seven OSPF neighbor adjacency states in sequential order. | 1. Down (no hellos received); 2. Init (hello received, but router's own RID not listed); 3. 2-Way (bi-directional communication established; DR/BDR election occurs); 4. ExStart (master/slave election for DD exchange); 5. Exchange (Database Description packets exchanged); 6. Loading (requesting LSAs via LSR, sending LSU); 7. Full (LSDB completely synchronized). |  |  |
| 30 | Compare First Hop Redundancy Protocols (FHRP): HSRP, VRRP, and GLBP. | HSRP (Cisco proprietary): Active/Standby router model; virtual MAC 0000.0c07.acXX. VRRP (IEEE open standard): Master/Backup router model; virtual MAC 0000.5e00.01XX. GLBP (Cisco proprietary): Gateway Load Balancing Protocol; provides simultaneous active-active gateway load balancing by assigning different virtual MACs to active virtual forwarders (AVFs) using round-robin ARP. |  |  |
| 31 | Explain the architectural roles of the Control Plane, Data Plane, and Management Plane on a router. | Data Plane (Forwarding Plane): moves user packets through router hardware using Cisco Express Forwarding (CEF) FIB and adjacency tables at line rate. Control Plane: handles routing protocol intelligence (OSPF, BGP, STP, ARP) to build routing and switching tables. Management Plane: used by network engineers to access, configure, and monitor the device (SSH, Telnet, SNMP, RESTCONF). |  |  |
| 32 | What are the core evaluation rules for IPv4 Access Control Lists (ACLs)? | 1. Evaluated sequentially from top to bottom; 2. The first matching statement determines the action (permit or deny) and terminates further evaluation; 3. Every ACL ends with an invisible implicit 'deny ip any any' statement; 4. Use wildcard masks (inverted subnet masks: 0 = must match, 1 = ignore) to specify IP ranges. |  |  |

---
Study this deck interactively with FSRS-6 spaced repetition, audio review, and multiple-choice mode at [Flashcards World](https://flashcards.world/flashcards/sets/72c9eddf-14cb-45bd-a8bf-f26bdd805cf6/).
