Cisco CCNA (200-301 v1.1) & CCNP ENCOR (350-401) — Routing (OSPF, BGP), Security & Automation

In-depth flashcards covering routing table selection (Longest Prefix Match vs. Administrative Distance), OSPFv2/v3 neighbor states and LSA Types 1–7, eBGP/iBGP path selection attributes, HSRP/VRRP/GLBP, DHCP Snooping, Dynamic ARP Inspection, Cisco SD-Access (LISP/VXLAN/SGT), SD-WAN, and NETCONF/RESTCONF/Terraform automation.

Category
Enterprise Networking, Linux & Advanced AWS Certifications — Cisco CCNA (200-301 v1.1) & CCNP ENCOR (350-401), Red Hat RHCSA (EX200) & LFCS/LPIC-1, and AWS Solutions Architect Pro (SAP-C02) & Security Specialty (SCS-C02/C03)
Level
basic
Languages
en → en
Cards
32
Markdown
Cisco CCNA (200-301 v1.1) & CCNP ENCOR (350-401) — Routing (OSPF, BGP), Security & Automation (.md)

Flashcards (32)

#Front (Term / Question)Back (Definition / Answer)ExampleMultiple-Choice Options
1In a Cisco SD-WAN deployment, what are the distinct architectural roles of vBond, vManage, vSmart, and WAN Edge routers?vBond orchestrates onboarding, vManage provides centralized GUI/API management, vSmart runs OMP control plane, and WAN Edges forward data.vSmart controllers distribute routes, IPsec crypto keys, and policies to WAN Edge routers via the Overlay Management Protocol (OMP) without ever sitting in the data path.
2How does Dynamic ARP Inspection (DAI) stop Man-in-the-Middle ARP poisoning attacks on a Layer 2 switch?DAI intercepts ARP packets on untrusted ports and drops any frame whose sender IP-to-MAC mapping violates the DHCP Snooping binding table.For static-IP servers that do not use DHCP, you must configure an `arp access-list` and bind it via `ip arp inspection filter` so DAI does not drop their ARP replies.
3In CCNP ENCOR virtualization, what is VRF-Lite, and how does it provide Layer 3 multi-tenancy without MPLS?VRF-Lite creates multiple isolated virtual routing and forwarding tables on a single physical router by binding interfaces to VRFs.Using `vrf definition CUSTOMER_A` and `vrf forwarding CUSTOMER_A` on subinterfaces allows overlapping RFC 1918 IPv4 subnets to coexist on the same router without leaking.
4How do OSPF external metric Type 1 (E1) and Type 2 (E2) routes differ in path cost calculation?E2 (default) uses only the external redistribution seed cost, whereas E1 adds the internal OSPF cost to reach the advertising ASBR.When multiple ASBRs redistribute the same external prefix into OSPF, E1 is preferred over E2 so internal routers choose the closest exit point.
5How do HSRP, VRRP, and GLBP First Hop Redundancy Protocols differ in standardization, router roles, and active load balancing?HSRP (Cisco Active/Standby) and VRRP (IETF Master/Backup) use one active forwarder per group, while GLBP load-balances across up to 4 AVFs.In GLBP, a single Active Virtual Gateway (AVG) answers ARP requests for the virtual IP with up to four different virtual MAC addresses assigned to Active Virtual Forwarders (AVFs).
6Where should Standard vs. Extended IPv4 ACLs be placed in a network topology, and how do ACL wildcard masks evaluate bits?Place Standard ACLs near the destination and Extended ACLs near the source; wildcard bit 0 requires an exact match and 1 ignores.Because Standard ACLs (1–99) filter only on source IPv4 address, placing them near the source could unintentionally block legitimate traffic to other destinations.
7How do Router-on-a-Stick (RoaS) and Layer 3 Switch Switched Virtual Interfaces (SVIs) differ when routing between VLANs?RoaS hairpins traffic over an 802.1Q trunk to router subinterfaces, whereas SVIs route at wire speed in switch ASICs after `ip routing`.For an SVI (`interface Vlan10`) to enter the `up/up` state, VLAN 10 must exist in the local VLAN database and have at least one active access or trunk port in STP Forwarding.
8In CCNP ENCOR OSPF architecture, what are the functions and flooding scopes of LSA Types 1, 2, 3, 4, 5, and 7?Type 1 (Router) and Type 2 (DR Network) stay intra-area; Type 3/4 come from ABRs; Type 5 is AS-wide external; Type 7 is NSSA external.In a Not-So-Stubby Area (NSSA), an local ASBR injects external routes as Type 7 LSAs, which the ABR translates into Type 5 LSAs before flooding into Area 0.
9What are the six BGP neighbor finite-state machine states, and what does a neighbor stuck alternating between Idle and Active indicate?Idle, Connect, Active, OpenSent, OpenConfirm, and Established; flapping to Active means TCP port 179 connection attempts are failing.Common causes of BGP stuck in `Active` include missing return IGP routes to a loopback source (`update-source Loopback0`), an ACL blocking TCP 179, or a wrong `neighbor remote-as`.
10What are the seven OSPF neighbor states in chronological order, and why is it normal for two OSPF routers on an Ethernet segment to stay in 2-Way?Down, Init, 2-Way, ExStart, Exchange, Loading, and Full; two DROther routers on a broadcast segment remain in 2-Way with each other.On multi-access broadcast networks, DROther routers form `Full` adjacencies only with the Designated Router (DR via 224.0.0.6) and Backup Designated Router (BDR).
11How do NETCONF and RESTCONF model-driven programmability protocols differ in transport, ports, data encoding, and operations?NETCONF runs over SSH (TCP 830) using XML RPCs, while RESTCONF runs over HTTPS (TCP 443) using JSON or XML with HTTP CRUD verbs.Both protocols interact with structured YANG data models (`ietf-interfaces`, `openconfig-bgp`), where RESTCONF `PATCH` modifies partial configuration and `GET` retrieves operational state.
12In Cisco QoS, what is the difference between Layer 2 CoS and Layer 3 DSCP markings, and what are the decimal DSCP values for EF and AF41?CoS uses 3 PCP bits in an 802.1Q tag, whereas DSCP uses 6 bits in the IPv4 ToS byte; EF is decimal 46 and AF41 is decimal 34.Expedited Forwarding (EF, DSCP 46 / binary 101110) is placed in a Low Latency Queue (LLQ) with strict priority policing so VoIP packets never suffer serialization jitter.
13How does OSPF elect the Designated Router (DR) and Backup Designated Router (BDR), and how do you force a router to never become DR/BDR?Highest interface priority (1–255, default 1) wins, followed by highest Router ID; setting `ip ospf priority 0` disqualifies a router.Because OSPF DR/BDR election is non-preemptive, adding a router with priority 255 to an active segment will not overthrow the current DR until both DR and BDR fail.
14How do eBGP and iBGP sessions differ in default TTL, AS_PATH modification, Next_Hop behavior, and loop prevention?eBGP uses TTL 1, prepends AS_PATH, and updates Next_Hop; iBGP uses TTL 255, leaves AS_PATH/Next_Hop unchanged, and uses split-horizon.Because iBGP split-horizon forbids advertising an iBGP-learned route to another iBGP peer, scaling iBGP requires a full mesh, Route Reflectors, or Confederations.
15When a Cisco router receives multiple valid routes to a destination IP, in what exact order does it evaluate Prefix Length, Administrative Distance, and Metric?Forwarding packets always uses Longest Prefix Match first; Administrative Distance and Metric only decide which route enters the RIB.A router with RIP route 10.1.1.0/24 (AD 120) and OSPF route 10.1.0.0/16 (AD 110) in its routing table always forwards packets for 10.1.1.5 via the longer /24 RIP route.
16How do the three Cisco Port Security violation modes (`Protect`, `Restrict`, and `Shutdown`) differ when an unauthorized MAC address arrives?Protect silently drops frames; Restrict drops frames, logs a syslog/SNMP trap, and increments the counter; Shutdown err-disables the port.Shutdown is the default violation mode; recovering an `err-disabled` port requires running `shutdown` followed by `no shutdown` or enabling `errdisable recovery cause psecure-violation`.
17How do Local SPAN, RSPAN, and ERSPAN differ when mirroring network traffic to a packet analyzer like Wireshark?Local SPAN mirrors on one switch, RSPAN carries mirrored traffic over a dedicated L2 VLAN, and ERSPAN encapsulates it in L3 GRE.Encapsulated Remote SPAN (ERSPAN) allows engineers to mirror traffic from a remote branch switch across any Layer 3 IP WAN directly to a central SOC sensor.
18In CCNP ENCOR Cisco SD-Access (SDA) fabric architecture, which protocols operate in the Control Plane, Data Plane, and Policy Plane?LISP provides the Control Plane, VXLAN provides the Data Plane encapsulation, and Cisco TrustSec SGTs provide the Policy Plane.Fabric Control Plane nodes maintain the LISP Host Tracking Database mapping Endpoint IDs (EIDs) to Edge Node Routing Locators (RLOCs), while VXLAN carries both the VNI and 16-bit SGT.
19Which OSPF LSA types are blocked in a Stub Area, Totally Stubby Area, NSSA, and Totally NSSA?Stub blocks Types 4/5; Totally Stubby blocks 3/4/5; NSSA blocks 4/5 but allows Type 7; Totally NSSA blocks 3/4/5 and allows Type 7.Configuring `area 1 stub no-summary` on the ABR creates a Cisco Totally Stubby Area, replacing all inter-area (Type 3) and external (Type 5) LSAs with one Type 3 default route.
20On the updated Cisco CCNA (200-301 v1.1) blueprint, how do Predictive AI and Generative AI differ in enterprise network operations?Predictive AI forecasts anomalies and link failures from telemetry, while Generative AI synthesizes configs, playbooks, and RCA summaries.Cisco Catalyst Center uses Predictive AI machine-learning models to predict wireless congestion before users complain, while Generative AI assistants translate natural language into CLI/RESTCONF syntax.
21What are the differences between HSRP Version 1 and HSRP Version 2 in multicast addresses, group numbers, and virtual MAC ranges?HSRPv1 uses 224.0.0.2, groups 0–255, and MAC 0000.0c07.acXX; HSRPv2 uses 224.0.0.102, groups 0–4095, and MAC 0000.0c9f.fXXX.In both HSRP versions, the router with the highest priority (default 100) wins, but a newly added higher-priority router will only take over Active role if `standby preempt` is configured.
22What are the eight Syslog severity levels from 0 to 7, and what happens when you configure `logging trap warnings`?0 Emergencies, 1 Alerts, 2 Critical, 3 Errors, 4 Warnings, 5 Notifications, 6 Informational, 7 Debugging; `warnings` sends levels 0–4.Mnemonic 'Every Awesome Cisco Engineer Will Need Icecream Daily' maps 0 through 7; configuring a severity threshold logs that level and all numerically lower (more severe) levels.
23How do Ansible, Puppet, and Terraform differ in agent architecture, configuration paradigm, and network automation workflow?Ansible is agentless push over SSH (YAML); Puppet is agent-based pull; Terraform is declarative IaC using state files and provider plugins.CCNA 200-301 v1.1 added Terraform alongside Ansible, emphasizing idempotency—where running a playbook or `terraform apply` repeatedly produces the exact same target state without side effects.
24Which BGP attribute should an enterprise manipulate to influence outbound traffic leaving its AS vs. inbound traffic entering its AS?Use Local Preference (or Weight) to steer outbound traffic leaving your AS, and use AS_PATH prepending or MED to influence inbound traffic.Setting a higher `LOCAL_PREF` (e.g., 200) on routes learned from Primary ISP 1 ensures all internal iBGP routers exit via ISP 1, while prepending your AS number 3 times to ISP 2 discourages inbound return traffic.
25In what exact order does Cisco BGP evaluate its top six path selection attributes (`WLLAOM`)?1) Highest Weight, 2) Highest Local_Pref, 3) Locally Originated, 4) Shortest AS_PATH, 5) Lowest Origin (i < e < ?), and 6) Lowest MED.Weight is a Cisco-proprietary attribute local to a single router (default 32768 for local routes, 0 for learned), whereas Local Preference (default 100) propagates across the entire local AS.
26In Cisco NAT terminology, what is the difference between Inside Local, Inside Global, Outside Local, and Outside Global addresses?Inside Local is the private host IP, Inside Global is its translated public IP, and Outside Local/Global is the external server's public IP.Port Address Translation (PAT / NAT Overload) maps thousands of Inside Local private IPs to a single Inside Global public IP by tracking unique Layer 4 source TCP/UDP port numbers.
27In what order does an OSPF router select its 32-bit Router ID (RID), and what happens if a new loopback interface is added later?It prefers a manual `router-id`, then the highest IPv4 on any `up/up` loopback, then the highest IPv4 on any `up/up` physical interface.OSPF Router ID election is non-preemptive, so changing the RID requires running `clear ip ospf process` (which briefly drops all OSPF neighbor adjacencies).
28How does DHCP Snooping prevent rogue DHCP server attacks, and which ports should be configured as trusted vs. untrusted?Untrusted access ports drop inbound server DHCP Offer/ACK messages and build a binding table, while trusted uplinks allow all DHCP messages.Enabling `ip dhcp snooping` globally, `ip dhcp snooping vlan 10`, and `ip dhcp snooping trust` on uplink trunks records legitimate client MAC-IP-VLAN-Port bindings.
29What are the default Cisco IOS Administrative Distance (AD) values for Connected, Static, eBGP, Internal EIGRP, OSPF, RIP, and iBGP routes?Connected is 0, Static is 1, eBGP is 20, Internal EIGRP is 90, OSPF is 110, RIP is 120, and iBGP is 200.Configuring a static route with an AD of 130 (`ip route 0.0.0.0 0.0.0.0 192.0.2.1 130`) creates a floating static backup route that activates only if OSPF (110) fails.
30How does a GRE tunnel combined with IPsec (GRE over IPsec) overcome the routing limitations of pure IPsec VPN tunnels?GRE encapsulates multicast and broadcast routing packets (like OSPF/EIGRP) into unicast IP packets that IPsec can then encrypt.IPsec Tunnel Mode encrypts the entire original IP header plus payload, whereas IPsec Transport Mode encrypts only the payload and is commonly used with GRE tunnels.
31Which parameters in an OSPF Hello packet must match exactly between two routers for them to form a neighbor adjacency?Area ID, Hello and Dead intervals, subnet mask (on broadcast/non-broadcast links), authentication, stub area flags, and interface IP MTU.A mismatched IP MTU allows neighbors to reach `ExStart`/`Exchange` state before failing DBD exchange, whereas mismatched timers or Area IDs prevent even `Init` state.
32How does OSPF calculate interface cost, and what command must you run on all routers to distinguish 1 Gbps, 10 Gbps, and 40 Gbps links?OSPF cost equals Reference Bandwidth (default 100 Mbps) divided by Interface Bandwidth; update it via `auto-cost reference-bandwidth`.Because OSPF integer division floors values below 1 to cost 1, 100 Mbps, 1 Gbps, and 10 Gbps links all tie at cost 1 unless `auto-cost reference-bandwidth 100000` is set.