ENCOR 350-401 v1.2 Β· Last Minute

Blueprint v1.2 (wireless and NAC dropped) Β· cards, scenario quiz, diagrams, numbers

Domain weights from the official v1.2 blueprint. Tap a domain to study only its cards. Source tags: OCG = ENCOR Official Cert Guide 2nd ed (chapter shown per sub-objective) Β· CRAM = ENCOR Exam Cram Β· INE = INE ENCOR v1.2 course Β· PCG = Portable Command Guide Β· CISCO-DS = Cisco Catalyst Center data sheet

🎯 Am I ready to pass? blueprint v1.2

Cisco publishes the 120-minute length and the domain weights, but not the question count or the cut score. Third-party sites quote ~90–110 questions and ~825/1000; treat those as estimates. So the targets below are a coverage plan, not a pass prediction.

Quiz β‰ˆ260Two 100-question mocks of unique questions plus 30 held back for the Final check, weighted like the blueprint; β‰₯5 per sub-objective (3 in the 10 % domains). Includes show-output, exhibit, choose-two, ordering and matching questions. Cards β‰₯195β‰₯5 testable facts per sub-objective (4 in the 10 % domains). 39 sub-objectives in total. Visuals β‰₯39At least one diagram or table per sub-objective; step diagrams for the "what happens in which order" topics. Ready whenβ‰₯85 % on first-try quiz answers in every domain, with β‰₯80 % of each domain's practice questions seen, and β‰₯85 % on the 30-question Final check you can't have memorized. Your status:

Your score per sub-objective

🧭 How to read ENCOR questions

"Configure and verify"Expect command syntax and show output: OSPF, eBGP, NAT, HSRP/VRRP, SPAN, IP SLA, NetFlow, AAA, ACL, CoPP, NETCONF/RESTCONF. "Interpret"Read a config or output and say what it does: QoS policy, NTP/PTP, Python, REST payloads. "Describe / explain"Roles and planes: who does what in SD-WAN, SD-Access, LISP, VXLAN, TrustSec, Catalyst Center. "Standards-based"VRRP (not HSRP/GLBP), LACP (not PAgP), MST, OSPF, NETCONF/YANG. "Which plane?"Control = routes/mapping (OMP, LISP). Data = forwarding (IPsec, VXLAN). Management = config (Manager, Catalyst Center). Policy = SGT. "Choose two" / orderCount the answers you pick. Order questions follow the mechanism step by step. Old namesvBond/vSmart/vManage = Validator/Controller/Manager; DNA Center = Catalyst Center. Either may appear.

1 Β· Architecture (15 %)

Campus designs: 2-tier, 3-tier, fabric, cloud OCG Β· INE

Three-tier and collapsed core

Leaf-spine fabric

FitsWatch out
2-tierSmall / one buildingCore = distribution pair
3-tierLarge, many blocksMore boxes, more cost
FabricDC east-west, SD-AccessOverlay + underlay
CloudIaaS / PaaS / SaaSPath to cloud, less control
Access = hosts, PoE, port security, marking Β· Distribution = L2/L3 boundary, FHRP, summary, policy
Core = fast + no policy Β· Fabric = routed underlay + overlay (VXLAN)
High availability: redundancy, FHRP, SSO/NSF OCG
SSOStandby supervisor fully synced (config + state), switchover in ~0 s for L2. NSF / GRData plane keeps forwarding; routing protocols restart gracefully with NSF-aware peers. FHRPVirtual gateway for hosts (HSRP, VRRP, GLBP) – see 3.3.c. StackWise VirtualTwo switches = one; MEC uplinks, no STP blocking, no FHRP needed. BFDSub-second failure detection for routing protocols and FHRP.
Catalyst SD-WAN: bring-up in order OCG Β· CRAM Β· INE
PlaneComponentJob
OrchestrationValidator (vBond)Auth, NAT traversal, points to controllers
ManagementManager (vManage)GUI, templates, REST API
ControlController (vSmart)OMP, policy, keys (like a BGP RR)
DataWAN EdgeIPsec tunnels, BFD per path
Benefits: any transport, App-Aware Routing, ZTP, central policy, segmentation (VPNs)
Limits: needs controllers + PKI, overlay overhead, licensing, migration effort
Controller DTLS default UDP 12346 (INE) Β· VPN 0 = transport, VPN 512 = management
SD-Access: LISP lookup β†’ VXLAN forwarding OCG Β· CRAM Β· INE
PlaneTechnology
ControlLISP (control plane node = MS/MR, HTDB)
DataVXLAN-GPO (VN ID + SGT in header)
PolicyTrustSec SGT/SGACL from ISE
ManagementCatalyst Center (+ ISE)
Edge = anycast gateway, registers EIDs Β· Border = exit, BGP + VRF-lite handoff Β· Intermediate = underlay only
VN = macro segmentation (VRF) Β· SGT = micro segmentation inside a VN
Traditional campus ↔ SD-Access INE Β· OCG
L3 handoffBorder β†’ fusion router with VRF-lite (one subinterface per VN) + BGP; fusion router leaks shared services. L2 handoffLayer 2 border extends a fabric subnet to a legacy VLAN during migration. TransitIP transit (traditional routed WAN) or SD-Access transit (keeps VN/SGT end to end).
Interpret QoS: MQC, read top to bottom OCG
class-map match-any VOICE  ! OR of matches
 match dscp ef
class-map match-any VIDEO
 match dscp af41
policy-map CHILD
 class VOICE
  priority percent 20  ! LLQ, policed under congestion
 class VIDEO
  bandwidth percent 30  ! minimum guarantee
 class class-default
  fair-queue
policy-map PARENT
 class class-default
  shape average 100m  ! sub-rate, outbound only
  service-policy CHILD
interface g0/0
 service-policy output PARENT  ! nothing happens without this
! access edge: classify and mark inbound
policy-map MARK-IN
 class VOICE
  set dscp ef
interface g1/0/5
 service-policy input MARK-IN
show policy-map interface g0/0 output  ! matches, drops per class

Hierarchical QoS: parent shaper, child queues

police = drop/re-mark, no delay Β· shape = buffer, adds delay, outbound only
priority can't share a class with bandwidth/shape/random-detect Β· sum of bandwidth ≀ 100 %

2 Β· Virtualization (10 %)

Hypervisors, VMs, virtual switching OCG
Type 1Type 2Container
TopVMs (guest OS)VMs (guest OS)Apps
HypervisorHypervisor appContainer engine
β€”Host OSHost OS (shared kernel)
BottomHardwareHardwareHardware
e.g.ESXi, KVM, Hyper-VVirtualBox, WorkstationDocker

Virtual switching

VRF-lite: overlapping prefixes OCG Β· PCG
vrf definition RED
 address-family ipv4
interface g0/1
 vrf forwarding RED  ! removes the IP: re-add it
 ip address 10.1.1.1 255.255.255.0
interface g0/2.100  ! VRF-lite: one subinterface per VRF per hop
 encapsulation dot1Q 100
 vrf forwarding RED
 ip address 10.0.100.1 255.255.255.252
! routing inside the VRF (static or a VRF-aware IGP)
ip route vrf RED 10.2.0.0 255.255.0.0 10.0.100.2
router ospf 10 vrf RED
 network 10.0.100.0 0.0.0.3 area 0
show ip route vrf RED  Β·  ping vrf RED 10.1.1.2  Β·  show vrf
GRE over IPsec and IKE phases OCG

How the IPsec tunnel comes up

! Phase 1 (IKEv1 shown; IKEv2 uses proposal/policy/keyring/profile)
crypto isakmp policy 10
 encryption aes 256
 hash sha256
 authentication pre-share
 group 14
crypto isakmp key MyK3y address 203.0.113.2
! Phase 2
crypto ipsec transform-set TS esp-aes 256 esp-sha256-hmac
 mode transport  ! fine for GRE/VTI (tunnel mode also works)
crypto ipsec profile P
 set transform-set TS
interface Tunnel0
 ip address 172.16.0.1 255.255.255.252
 ip mtu 1400
 ip tcp adjust-mss 1360
 tunnel source g0/0
 tunnel destination 203.0.113.2
 tunnel mode ipsec ipv4  ! VTI; omit (= GRE) for GRE over IPsec
 tunnel protection ipsec profile P
router ospf 1
 network 172.16.0.0 0.0.0.3 area 0  ! routing over the tunnel
! never advertise the tunnel destination into the tunnel (recursive routing)
show crypto isakmp sa  ! QM_IDLE = Phase 1 up
show crypto ipsec sa  ! encaps/decaps counters
show interfaces tunnel0
LISP: register β†’ request β†’ reply β†’ data OCG Β· INE
EID = who (endpoint) Β· RLOC = where (router) Β· MS stores, MR answers Β· PxTR = to non-LISP
VXLAN header and VTEPs OCG
Outer MACOuter IPUDP 4789VNIOriginal Ethernet frame
24-bit VNI β‰ˆ 16 M segments Β· ~50 B overhead β†’ jumbo MTU in the underlay
Control plane: flood-and-learn, BGP EVPN (DC) or LISP (SD-Access)

3 Β· Infrastructure (30 %)

DTP: does it trunk? OCG
accessautodesirabletrunk
accessAAAβœ—
autoAATT
desirableATTT
trunkβœ—TTT

What's wrong here? Native VLAN mismatch

A = access, T = trunk, βœ— = mismatch (doesn't work). auto + auto (orange) is the classic trap: no trunk.

vlan 10,20,30,99  ! VLANs must exist to be 'active'
interface g1/0/24
 switchport trunk encapsulation dot1q  ! only on ISL-capable models
 switchport mode trunk  ! or dynamic desirable/auto
 switchport nonegotiate  ! no DTP frames
 switchport trunk native vlan 99  ! same on both ends
 switchport trunk allowed vlan 10,20
 switchport trunk allowed vlan add 30  ! without add = replace
show interfaces trunk  ! allowed β†’ active β†’ STP forwarding
show interfaces g1/0/24 switchport  ! admin vs operational mode
show dtp interface g1/0/24
Troubleshoot: show interfaces trunk β†’ allowed / active / STP forwarding
Native VLAN must match Β· 'allowed vlan add X' Β· nonegotiate turns off DTP
EtherChannel: which modes bundle? OCG Β· PCG
onactivepassivedesirableauto
onβœ“βœ—βœ—βœ—βœ—
activeβœ—βœ“βœ“βœ—βœ—
passiveβœ—βœ“βœ—βœ—βœ—
desirableβœ—βœ—βœ—βœ“βœ“
autoβœ—βœ—βœ—βœ“βœ—
! SW1
interface range g1/0/1 - 2
 channel-group 1 mode active  ! LACP; desirable/auto = PAgP, on = static
interface port-channel 1
 switchport mode trunk  ! set L2 options on the Po, they copy down
! SW2: same members, mode active or passive (not passive on both)
interface range g1/0/1 - 2
 channel-group 1 mode passive
! Layer 3 bundle instead:
interface range g1/0/3 - 4
 no switchport
 channel-group 2 mode active
interface port-channel 2
 ip address 10.0.0.1 255.255.255.252
port-channel load-balance src-dst-ip  ! global hash
lacp system-priority 100  ! lower = decides active members
show etherchannel summary  ! P bundled Β· s suspended Β· I stand-alone
show lacp neighbor  Β·  show etherchannel load-balance
LACP = active/passive (802.3ad) Β· PAgP = desirable/auto (Cisco) Β· on = static, no protocol
Members must match: speed, duplex, VLANs, trunk mode, native VLAN Β· flags P bundled, s suspended
STP: root, root ports, designated ports in order OCG
RSTP (802.1w)MST (802.1s)
Instances1 per VLAN (Rapid PVST+)Few, VLANs mapped
Rolesroot, desig., alternate, backupsame + region boundary
Statesdiscarding, learning, fwdsame
Must matchβ€”name, revision, VLAN map
spanning-tree mode rapid-pvst
spanning-tree vlan 10 root primary  ! = priority 24576 or lower
spanning-tree vlan 20 priority 28672  ! multiples of 4096
! MST instead:
spanning-tree mode mst
spanning-tree mst configuration
 name CAMPUS
 revision 1
 instance 1 vlan 10-20
spanning-tree mst 1 root primary
show spanning-tree vlan 10  ! root ID, role, state, cost
show spanning-tree mst configuration
Root Guard vs BPDU Guard: where they go OCG
interface g1/0/5  ! host port
 spanning-tree portfast
 spanning-tree bpduguard enable
spanning-tree portfast bpduguard default  ! all PortFast ports
interface g1/0/48  ! distribution downlink
 spanning-tree guard root
errdisable recovery cause bpduguard  ! optional auto-recovery
show spanning-tree inconsistentports  ! root-inconsistent ports
show interfaces status err-disabled
BPDU Guard β†’ err-disabled (manual or errdisable recovery) Β· Root Guard β†’ root-inconsistent, recovers by itself
PortFast only on host ports Β· spanning-tree portfast bpduguard default = all PortFast ports
EIGRP vs OSPF OCG
EIGRPOSPF
TypeAdvanced distance vector, DUALLink state, SPF (Dijkstra)
KnowsNeighbors' reported distancesFull LSDB of the area
MetricBW + delay (K1, K3)Cost = ref BW / BW
Load balancingEqual + unequal (variance); maximum-paths 4 defaultEqual only; maximum-paths 4 default
Path selectionLowest FD β†’ successorIntra-area > inter-area > E1 > E2, then cost
Path operationsLost route, no FS β†’ queries; stuck in active (3 min)LSA flooded β†’ SPF rerun in the area
Backup pathFeasible successorRecalculate SPF
HierarchySummarize anywhere, stub routersAreas, ABR/ASBR
Area typesβ€”backbone 0, normal, stub, totally stubby, NSSA
AD90 / 170 external110

Feasible successor check

OSPF: how LSAs travel across areas OCG
Area typeType 3Type 5Type 7
Normalβœ“βœ“βœ—
Stubβœ“βœ—βœ—
Totally stubbydefaultβœ—βœ—
NSSAβœ“βœ—βœ“
router ospf 1
 area 1 range 10.1.0.0 255.255.0.0  ! ABR: inter-area summary
 summary-address 172.16.0.0 255.255.0.0  ! ASBR: externals
 area 1 filter-list prefix NO-LAB in  ! ABR: block type 3 into area 1
 distribute-list prefix NO-LAB in  ! local RIB only
ip prefix-list NO-LAB deny 10.99.0.0/16
ip prefix-list NO-LAB permit 0.0.0.0/0 le 32
! OSPFv3 (address-family style)
ipv6 unicast-routing
router ospfv3 1
 router-id 1.1.1.1  ! needed if no IPv4 address
 address-family ipv6 unicast
  area 1 range 2001:db8:1::/48
  distribute-list prefix-list V6-FILTER in
show ip ospf database summary  Β·  show ip route ospf  Β·  show ospfv3 database
Summarize: area X range (ABR) Β· summary-address (ASBR)
Filter: area X filter-list prefix (type 3) Β· distribute-list in = local RIB only
OSPF adjacency checklist and DR election OCG

What's wrong here?

Network typeDR/BDRHello/deadDefault on
Broadcastyes10 / 40Ethernet
Point-to-pointno10 / 40Serial, tunnels
NBMAyes30 / 120Frame Relay main if.
Point-to-multipointno30 / 120manual
Loopbackβ€”β€”advertised as /32

Both ends must use compatible types: broadcast on one side and point-to-point on the other forms an adjacency but routes break (a DR is expected on one side only).

Stuck inUsual cause
Down / no neighborPassive, ACL, wrong network statement
INITOne-way hellos (ACL, unicast issue)
Never 2-WAYArea, subnet, hello/dead, auth, stub flag mismatch
EXSTART/EXCHANGEMTU mismatch, duplicate RID
2-WAY (on LAN)Normal between DROTHERs
router ospf 1
 router-id 1.1.1.1  ! manual > loopback > interface IP
 auto-cost reference-bandwidth 100000  ! 100 G; same on all routers
 passive-interface g0/2
 network 10.1.0.0 0.0.255.255 area 1
interface g0/0
 ip ospf network point-to-point  ! no DR/BDR
interface g0/3
 ip ospf 1 area 0  ! interface method instead of network
 ip ospf priority 255  ! wins DR (0 = never)
 ip ospf hello-interval 10  ! must match the neighbor
interface g0/1
 ospfv3 1 ipv6 area 0  ! OSPFv3 is enabled per interface
show ip ospf neighbor  Β·  show ip ospf interface brief  Β·  show ospfv3 neighbor
eBGP neighbors and best path OCG
router bgp 65001
 bgp router-id 1.1.1.1
 neighbor 10.0.12.2 remote-as 65002  ! directly connected eBGP
 neighbor 2.2.2.2 remote-as 65002  ! loopback peering:
 neighbor 2.2.2.2 update-source Loopback0
 neighbor 2.2.2.2 ebgp-multihop 2
 address-family ipv4 unicast
  neighbor 10.0.12.2 activate
  neighbor 2.2.2.2 activate
  network 10.1.0.0 mask 255.255.0.0  ! exact RIB match needed
ip route 10.1.0.0 255.255.0.0 Null0  ! makes the match exist
ip route 2.2.2.2 255.255.255.255 10.0.12.2  ! reach the peer's loopback
! R2 mirrors it: remote-as 65001, update-source Lo0, ebgp-multihop 2
show ip bgp summary  ! number = Established, word = not up
show ip bgp  ! * valid Β· > best
show ip bgp neighbors 10.0.12.2 advertised-routes
Weight ↑ Β· Local Pref ↑ Β· lOcally originated Β· AS-path ↓ Β· Origin i<e<? Β· MED ↓ Β· Paths eBGP>iBGP Β· IGP to NH ↓ Β· oldest Β· Router ID ↓
"We Love Oranges AS Oranges Mean Pure Refreshment"

Stuck in Active = TCP not forming (IP, AS, reachability, update-source). Idle = no route to peer or admin down.

Policy-based routing OCG
access-list 10 permit 10.1.1.0 0.0.0.255
track 5 ip sla 5 reachability  ! optional: check the next hop
route-map PBR permit 10
 match ip address 10
 set ip next-hop verify-availability 192.0.2.1 10 track 5
route-map PBR permit 20  ! optional; no match = normal routing anyway
interface g0/1  ! LAN, inbound
 ip policy route-map PBR
ip local policy route-map PBR  ! only for the router's own traffic
show ip policy  Β·  show route-map PBR  ! match counters  Β·  debug ip policy
NTP stratum chain OCG
ntp authenticate
ntp authentication-key 1 md5 S3cr3t
ntp trusted-key 1
ntp server 10.1.1.1 key 1 prefer  ! client
ntp peer 10.1.1.2  ! symmetric
ntp master 5  ! serve own clock (no upstream)
ntp source Loopback0
show ntp status  ! synchronized? stratum? reference?
show ntp associations  ! * sys.peer + candidate ~ configured

Interpret the output

R1# show ntp associations   (columns trimmed)
  address      ref clock  st  reach
*~10.1.1.1     .GPS.       1   377
+~10.1.1.2     10.1.1.1    2   377
 ~10.9.9.9     .INIT.     16     0
 * sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured
! 10.1.1.1 = chosen source (stratum 1) β†’ R1 becomes stratum 2
! reach 377 = last 8 polls answered Β· st 16 + reach 0 = unreachable
R1# show ntp status
Clock is synchronized, stratum 2, reference is 10.1.1.1
show ntp associations: * sys.peer Β· + candidate Β· - outlier Β· ~ configured
ntp server X (client) Β· ntp peer X (symmetric) Β· ntp master N (own clock, default 8)
PTP (IEEE 1588): clock types and messages INE
ClockRole
GrandmasterRoot time source (GPS), elected by BMCA
OrdinaryOne PTP port, master or slave (end device)
BoundarySlave upstream, master downstream; multi-VLAN
TransparentCorrects residence time; single VLAN
ptp mode boundary delay-req  ! clock type + delay mechanism
ptp domain 0
ptp priority1 128  ! lower = preferred by BMCA
interface g1/0/1
 ptp enable
show ptp clock  ! local clock: type, domain, priority
show ptp parent  ! parent vs grandmaster identity
show ptp port  ! port state: MASTER / SLAVE / PASSIVE

Exact PTP CLI differs by platform (INE shows several); know what each show command reveals. Parent clock β‰  grandmaster in show output β†’ you are behind a boundary clock. PTP domain = number grouping clocks under one GM.

NAT terms and PAT OCG
interface g0/0
 ip nat inside  ! LAN side
interface g0/1
 ip nat outside  ! ISP side
access-list 1 permit 10.1.1.0 0.0.0.255  ! inside locals to translate
! PAT on the interface address
ip nat inside source list 1 interface g0/1 overload
! or dynamic NAT from a pool (add overload for PAT on the pool)
ip nat pool PUB 203.0.113.20 203.0.113.30 netmask 255.255.255.224
ip nat inside source list 1 pool PUB
! static one-to-one for an inside server
ip nat inside source static 10.1.1.10 203.0.113.10
show ip nat translations  Β·  show ip nat statistics  Β·  clear ip nat translation *
HSRP vs VRRP with tracking OCG

What's wrong here? STP root β‰  HSRP active

track 1 interface g0/1 line-protocol
! R1 (HSRP active)
interface vlan 10
 ip address 10.1.10.2 255.255.255.0
 standby version 2  ! both routers
 standby 10 ip 10.1.10.1
 standby 10 priority 110  ! default 100
 standby 10 preempt  ! off by default
 standby 10 track 1 decrement 20
! R2 (standby): must preempt to take over when R1 drops to 90
interface vlan 10
 ip address 10.1.10.3 255.255.255.0
 standby version 2
 standby 10 ip 10.1.10.1
 standby 10 preempt
! VRRP on IOS XE
fhrp version vrrp v3  ! enables VRRPv3 syntax
interface vlan 20
 ip address 10.1.20.2 255.255.255.0
 vrrp 20 address-family ipv4
  address 10.1.20.1 primary
  priority 110  ! preempt is on by default
  track 1 decrement 20
show standby brief  Β·  show vrrp brief  Β·  show track
HSRP v1 / v2VRRP v2/v3
StandardCiscoIETF
RolesActive / standbyMaster / backup
Preemptoffon
Hello3 s / hold 10 s1 s advert
Multicast224.0.0.2 / .102224.0.0.18
MAC0000.0c07.acXX / 0c9f.fXXX0000.5e00.01XX
PIM-SM: shared tree β†’ SPT in order OCG

RPF check (what's wrong here?)

ASM vs SSM vs Bidir, and MSDP OCG
PIM-SMSSMBidir
RPyesnoyes
Treesshared β†’ SPTSPT onlyshared only
State(*,G) + (S,G)(S,G)(*,G)
IGMPv2/v3v3v2/v3
Usegeneralone-to-many, known sourcemany-to-many
RP = rendezvous point (root of the shared tree) Β· RP discovery: static, Auto-RP (224.0.1.39/40), BSR (224.0.0.13) Β· Assert: lowest AD β†’ metric β†’ highest IP
IGMP snooping stops L2 flooding

4 Β· Network Assurance (10 %)

Syslog, SNMP, debugs OCG
QuestionTool
Can I reach it?ping (extended: source, size, DF bit, repeat)
Where does the path break?traceroute (UDP, TTL +1; * = no reply)
What is the protocol doing now?debug, limited with debug condition / ACL
What happened earlier?syslog (buffer or server, timestamps)
Trend, counters, alerts?SNMP polling (GET) and traps/informs
LevelNameLevelName
0Emergency4Warning
1Alert5Notification
2Critical6Informational
3Error7Debugging
logging host 10.1.1.50
logging trap warnings  ! send 0–4 to the server
logging source-interface Loopback0
logging buffered 16384 debugging
service timestamps log datetime msec
snmp-server view ALL iso included
snmp-server group NMS v3 priv read ALL
snmp-server user ops NMS v3 auth sha AuthPass priv aes 128 PrivPass
snmp-server host 10.1.1.60 informs version 3 priv ops
snmp-server enable traps
access-list 100 permit ip host 10.1.1.10 any  ! what to debug
debug condition interface g0/1  ! limit the next debug
debug ip packet 100  ! ACL 100 narrows it further
undebug all
ping 10.2.2.2 source lo0 size 1500 df-bit  ! extended ping: MTU test
traceroute 10.2.2.2 source lo0
show logging  Β·  show snmp user  Β·  show debugging
"Every Awesome Cisco Engineer Will Need Ice cream Daily" Β· trap N sends 0…N
debug condition interface g0/1 β†’ then debug Β· undebug all Β· traceroute: UDP, TTL+1
Flexible NetFlow building blocks OCG Β· PCG
flow record
match = key
collect = data
β†’
flow exporter
dest, udp port
β†’
flow monitor
record + exporter
β†’
interface
ip flow monitor M input
flow record R
 match ipv4 source address  ! key fields define the flow
 match ipv4 destination address
 match ipv4 protocol
 match transport source-port
 match transport destination-port
 collect counter bytes  ! non-key data
 collect counter packets
flow exporter E
 destination 10.1.1.50
 source Loopback0
 transport udp 2055
 export-protocol netflow-v9  ! or ipfix
flow monitor M
 record R
 exporter E
 cache timeout active 60
interface g0/1
 ip flow monitor M input
show flow monitor M cache  Β·  show flow exporter E statistics  Β·  show flow interface g0/1
SPAN vs RSPAN vs ERSPAN OCG
! Local SPAN
monitor session 1 source interface g1/0/1 rx
monitor session 1 destination interface g1/0/24
! RSPAN: VLAN 99 on all switches in the path
vlan 99
 remote-span
! source switch
monitor session 2 source interface g1/0/1
monitor session 2 destination remote vlan 99
! destination switch
monitor session 2 source remote vlan 99
monitor session 2 destination interface g1/0/48
! ERSPAN (IOS XE)
monitor session 3 type erspan-source
 source interface g1/0/1
 destination
  erspan-id 10
  ip address 10.9.9.9  ! analyzer side
  origin ip address 10.1.1.1
 no shutdown  ! ERSPAN sessions start shut
show monitor session all
IP SLA β†’ track β†’ route failover OCG Β· PCG
ip sla 1
 icmp-echo 8.8.8.8 source-interface g0/0
 frequency 10
 timeout 2000
ip sla schedule 1 life forever start-time now
track 1 ip sla 1 reachability
 delay down 10 up 30  ! optional: damp flapping
ip route 0.0.0.0 0.0.0.0 198.51.100.1 track 1
ip route 0.0.0.0 0.0.0.0 203.0.113.1 250  ! floating backup
! udp-jitter needs the far end to answer: ip sla responder
show ip sla statistics 1  Β·  show track 1  Β·  show ip route 0.0.0.0
Catalyst Center: traditional vs AI-powered workflows CRAM Β· INE Β· CISCO-DS
Design
sites, settings, images
β†’
Policy
VNs, SGTs, QoS
β†’
Provision
PnP, templates, SWIM
β†’
Assurance
health, issues
NeedTraditionalCatalyst Center
ConfigCLI box by boxTemplates, intent, LAN Automation
ImagesManual copySWIM golden image
MonitorSNMP thresholdsTelemetry + health scores
BaselineStatic thresholdsAI Network Analytics
Root causeManual show/debugMachine Reasoning Engine
Askβ€”Cisco AI Assistant (natural language)
NETCONF vs RESTCONF OCG
NETCONFRESTCONF
TransportSSH, TCP 830HTTPS 443
EncodingXMLXML or JSON
Operationsget, get-config, edit-config, commit, lockGET, POST, PUT, PATCH, DELETE
Datastoresrunning, candidate, startuprunning (unified)
Enablenetconf-yangrestconf + ip http secure-server
username admin privilege 15 secret ****
aaa new-model
aaa authentication login default local
aaa authorization exec default local
netconf-yang  ! SSH 830
netconf-yang feature candidate-datastore
restconf  ! needs the HTTPS server
ip http secure-server
ip http authentication local
show netconf-yang status  Β·  show netconf-yang sessions
! test from a host:
ssh admin@R1 -p 830 -s netconf
curl -k -u admin:**** -H "Accept: application/yang-data+json" \
 https://R1/restconf/data/ietf-interfaces:interfaces

NETCONF transaction in order

RESTCONF URL: https://R1/restconf/data/ietf-interfaces:interfaces/interface=Gi1
Header: Accept: application/yang-data+json

5 Β· Security (20 %)

Device access: lines, local users, AAA OCG
hostname R1
ip domain-name lab.local
crypto key generate rsa modulus 2048
ip ssh version 2
enable algorithm-type scrypt secret ****
username admin privilege 15 algorithm-type scrypt secret ****
aaa new-model
tacacs server T1
 address ipv4 10.1.1.5
 key ****
radius server R1  ! RADIUS alternative
 address ipv4 10.1.1.6 auth-port 1812 acct-port 1813
 key ****
aaa authentication login default group tacacs+ local
aaa authorization exec default group tacacs+ local
aaa authorization commands 15 default group tacacs+ local
aaa accounting exec default start-stop group tacacs+
ip access-list standard MGMT
 permit 10.10.10.0 0.0.0.255
line vty 0 4
 transport input ssh
 access-class MGMT in
 exec-timeout 10 0
! without AAA: login local
show aaa servers  Β·  show users  Β·  show ip ssh
ACL placement and types OCG

What's wrong here?

TypeMatchesNumbersPlace
StandardSource only1–99, 1300–1999Near dest.
ExtendedSrc, dst, proto, port100–199, 2000–2699Near source
VACLInside a VLANvlan access-mapVLAN
PACLL2 port, inboundnamedSwitchport
ip access-list extended BLOCK-HTTPS
 10 deny tcp host 10.1.1.10 host 10.2.2.20 eq 443
 20 permit ip any any  ! or the implicit deny drops the rest
interface g0/0  ! near the source
 ip access-group BLOCK-HTTPS in
ip access-list standard MGMT
 permit 10.10.10.0 0.0.0.255
line vty 0 4
 access-class MGMT in
! VACL: in an access-map, permit = "match", the action decides
ip access-list extended VACL-HTTPS
 permit tcp any host 10.2.2.20 eq 443
vlan access-map V10 10
 match ip address VACL-HTTPS
 action drop
vlan access-map V10 20  ! no match clause = everything else
 action forward
vlan filter V10 vlan-list 10
! IPv6 ACL
ipv6 access-list V6-IN
 deny tcp any host 2001:db8::20 eq 443
 permit ipv6 any any  ! implicit permits ND before the implicit deny
interface g0/0
 ipv6 traffic-filter V6-IN in
ip access-list resequence BLOCK-HTTPS 10 10
show access-lists  Β·  show ip interface g0/0 | include access list
Top-down, first match wins Β· implicit deny any Β· one ACL per interface, direction, protocol
Wildcard = 255.255.255.255 βˆ’ mask (/26 β†’ 0.0.0.63)
CoPP: protect the CPU OCG Β· PCG
ip access-list extended ACL-ROUTING
 permit ospf any any
 permit tcp any any eq bgp
ip access-list extended ACL-MGMT
 permit tcp 10.10.10.0 0.0.0.255 any eq 22
ip access-list extended ACL-ICMP
 permit icmp any any  ! = "belongs to this class"
class-map COPP-ROUTING
 match access-group name ACL-ROUTING
class-map COPP-MGMT
 match access-group name ACL-MGMT
class-map COPP-ICMP
 match access-group name ACL-ICMP
policy-map COPP
 class COPP-ROUTING
  police 1000000 conform-action transmit exceed-action transmit  ! generous
 class COPP-MGMT
  police 500000 conform-action transmit exceed-action drop
 class COPP-ICMP
  police 8000 conform-action transmit exceed-action drop
 class class-default
  police 64000 conform-action transmit exceed-action drop
control-plane
 service-policy input COPP
show policy-map control-plane
REST API security: token flow CRAM Β· OCG Β· INE
TransportHTTPS/TLS always; basic auth is only base64. AuthenticationBasic β†’ token (Catalyst Center X-Auth-Token), session cookie (SD-WAN Manager JSESSIONID), OAuth 2.0, API keys. AuthorizationRBAC, least privilege: read-only vs write roles (403 when not allowed). AbuseRate limiting, input validation, logging/auditing, token expiry.
Security design: where each product sits OCG Β· CRAM
NeedProduct
DNS-layer blockingUmbrella
App control + IPS + URLNGFW (Secure Firewall / FMC)
Endpoint malware, retrospectionSecure Endpoint (AMP)
Flow-based anomaly detectionSecure Network Analytics
Identity, posture, SGTISE (+ Secure Client)
Threat intelligenceTalos
TrustSec in order, and MACsec CRAM Β· OCG

MACsec: hop-by-hop encryption

6 Β· Automation and AI (15 %)

Read a Python script OCG
import requests, json  # modules
base = "https://cc.lab"
# 1. get a token (basic auth)
auth = requests.post(base + "/dna/system/api/v1/auth/token",
                     auth=("admin", "****"), verify=False)
token = auth.json()["Token"]  # dict lookup
# 2. call the Intent API with the token
hdr = {"X-Auth-Token": token, "Accept": "application/json"}
resp = requests.get(base + "/dna/intent/api/v1/network-device", headers=hdr, verify=False)
if resp.status_code == 200:  # block = indentation
    data = resp.json()  # JSON β†’ dict
    for dev in data["response"]:  # list of dicts
        print(dev["hostname"], dev["managementIpAddress"])
else:
    print("Error", resp.status_code)
list [ ] index from 0 · dict { } by key · json.loads str→dict · json.dumps dict→str
Valid vs invalid JSON OCG
// valid
{
  "hostname": "R1",
  "vlans": [10, 20],
  "enabled": true,
  "mgmt": {"ip": "10.0.0.1", "mask": null}
}
InvalidWhy
{'vlan': 10}single quotes
{vlan: 10}unquoted key
{"vlan": 10,}trailing comma
{"up": True}booleans are lowercase
// commentno comments in JSON
YANG model β†’ payload OCG
module example-interfaces {
  namespace "urn:example:interfaces";
  prefix "ex";
  container interfaces {  // groups nodes
    list interface {  // repeated, keyed
      key "name";
      leaf name    { type string; }  // one value
      leaf enabled { type boolean; default true; }
      leaf-list vlan { type uint16; }  // many values
    }
  }
}
β†’ JSON: {"example-interfaces:interfaces":{"interface":[{"name":"Gi1","enabled":true,"vlan":[10,20]}]}}
YANG = structure Β· XML/JSON = encoding Β· NETCONF/RESTCONF/gNMI = transport
IETF + OpenConfig = multivendor Β· Cisco native = all features
Controller APIs: northbound and southbound CRAM Β· INE Β· OCG
Catalyst CenterSD-WAN Manager
LoginPOST /dna/system/api/v1/auth/tokenPOST /j_security_check
CredentialX-Auth-Token headerJSESSIONID cookie (+ X-XSRF-TOKEN)
ExampleGET /dna/intent/api/v1/network-deviceGET /dataservice/device
DocsPlatform β†’ Developer Toolkit/apidocs
HTTP response codes and payloads OCG
CodeMeaningCodeMeaning
200OK400Bad request
201Created401Not authenticated
202Accepted (task)403Forbidden
204No content404Not found
β€”500 / 503Server error / unavailable

Async change: 202 β†’ taskId β†’ poll

{"response": [ {"hostname": "C9300-1", "role": "ACCESS"} ],
 "version": "1.0"}
β†’ data["response"][0]["hostname"] = "C9300-1"

RESTCONF GET β†’ 200 OK

GET https://R1/restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet1
Accept: application/yang-data+json
{
  "ietf-interfaces:interface": {
    "name": "GigabitEthernet1",
    "type": "iana-if-type:ethernetCsmacd",
    "enabled": true,
    "ietf-ip:ipv4": {"address": [{"ip": "10.1.1.1", "netmask": "255.255.255.0"}]}
  }
}
β†’ data["ietf-interfaces:interface"]["ietf-ip:ipv4"]["address"][0]["ip"] = "10.1.1.1"

RESTCONF error β†’ 404

{"ietf-restconf:errors": {"error": [{
  "error-type": "application",
  "error-tag": "invalid-value",
  "error-message": "uri keypath not found"}]}}
β†’ wrong path/module name; 401 = credentials, 400 = bad body
EEM applet anatomy OCG Β· PCG Β· CRAM
event
syslog / cli / timer / none / track
β†’
action 1.0
cli "enable"
β†’
action 2.0…
cli / syslog / mail
event manager applet WAN-UP
 event syslog pattern "Interface GigabitEthernet0/0, changed state to administratively down"
 action 1.0 cli command "enable"
 action 2.0 cli command "configure terminal"
 action 3.0 cli command "interface g0/0"
 action 4.0 cli command "no shutdown"
 action 4.5 cli command "end"
 action 5.0 syslog msg "g0/0 re-enabled by EEM"
! data collection every day at 23:00
event manager applet NIGHTLY
 event timer cron cron-entry "0 23 * * *"
 action 1.0 cli command "enable"
 action 2.0 cli command "show ip route summary | append flash:routes.txt"
! block a command: event cli pattern "debug ip packet" sync no skip yes
! manual: event none β†’ event manager run NAME
show event manager policy registered  Β·  show event manager history events
Agent vs agentless orchestration OCG Β· CRAM
PuppetChefSaltAnsible
Modelagent, pullagent, pullagent (Salt SSH agentless)agentless, push
LanguageRubyRubyPythonPython
Instructionsmanifestsrecipes / cookbooksstates / modulesplaybooks (YAML)

Idempotent: running the same playbook/manifest again changes nothing if the device is already in the desired state. Push vs pull: agentless tools act when you run them; agents check in on a schedule (Puppet every 30 min by default).

v1.2 dropped the tool names from this objective, so expect the agent vs agentless concept first; the tools remain the usual examples.

0 / 0

Exam facts

Length120 min
Questions (not published; third-party estimate)~90–110
Pass score (not published; third-party estimate)~825/1000
v1.2 live since (third-party)19 Mar 2026

Weights: Architecture 15 Β· Virtualization 10 Β· Infrastructure 30 Β· Assurance 10 Β· Security 20 Β· Automation & AI 15. Removed vs v1.1: all wireless (RF, AP modes, roaming, WLAN security) and 802.1X/MAB/WebAuth NAC.

Ports (TCP/UDP)

SSH / TelnetTCP 22 / 23
TACACS+TCP 49
NTPUDP 123
SNMP poll / trapUDP 161 / 162
BGPTCP 179
HTTPS / RESTCONFTCP 443
IKE / NAT-TUDP 500 / 4500
SyslogUDP 514
MSDPTCP 639
NETCONFTCP 830
RADIUS auth / acct (legacy 1645/1646)UDP 1812 / 1813
PTP event / generalUDP 319 / 320
LISP data / controlUDP 4341 / 4342
VXLANUDP 4789
SD-WAN control DTLS (INE)UDP 12346+

IP protocol numbers

GRE47
ESP / AH50 / 51
EIGRP88
OSPF89
PIM103
VRRP112

1 Β· Architecture

Campus design and HA 1.1a–b Β· OCG ch22 Β· CRAM

Hierarchyaccess β†’ distribution β†’ core
2-tier (collapsed core)small campus / one building
Distribution switches per building blockmax 2 (a pair)
Simplified campusStackWise Virtual / VSS / stacking
NSF needsSSO enabled first
Graceful Restart needsrouting-protocol extensions on peers
FHRP timersHSRP 3/10 Β· VRRP 1/3 s
Fast failure detectionBFD (ms-level)

Catalyst SD-WAN 1.2 Β· INE Β· OCG

VPN 0transport (WAN)
VPN 512out-of-band management
Service VPNsuser traffic (e.g. 1, 10)
Controller DTLSUDP 12346, +100 per core
TLOCsystem IP + color + encap
Path probe in each tunnelBFD

SD-Access 1.3 Β· OCG Β· CRAM

VXLAN VNI24 bit
SGT carried in VXLAN-GPO16 bit
Underlay built by LAN AutomationIS-IS
Border β†’ fusion handoffVRF-lite + BGP

QoS marking fields 1.4 Β· INE Β· OCG

802.1Q CoS (PCP)3 bits, 0–7
IP Precedence3 bits, 0–7
DSCP6 bits, 0–63
MPLS EXP3 bits
Voice CoS / DSCP5 / EF 46
Shaping directionoutbound only

DSCP grid: AF class Γ— drop precedence 1.4

Classlow (1)med (2)high (3)CS
AF1x101214CS1 8
AF2x182022CS2 16
AF3x262830CS3 24
AF4x343638CS4 32
Rule: AFxy = 8x + 2y Β· CSn = 8n Β· EF = 46 (voice) Β· CS6 = 48 (network control) Β· default = 0

2 Β· Virtualization

Virtualization and VRF 2.1 Β· 2.2a Β· OCG ch6, 27

Type 1 (bare metal)ESXi, KVM, Hyper-V
Type 2 (hosted)VirtualBox, Workstation
Container vs VMshared kernel vs own guest OS
Virtual switchvSwitch Β· vDS Β· OVS
Default routing tableglobal (no VRF)
VRF-lite per hop1 interface/subinterface per VRF
Create / assignvrf definition Β· vrf forwarding
Assigning a VRFclears the interface IP
Verifyshow vrf Β· show ip route vrf X Β· ping vrf X

GRE and IPsec 2.2b Β· OCG

GRE header (IP 20 + GRE 4)24 B
GRE tunnel MTU on 1500 B link1476
With IPsec: ip mtu / tcp adjust-mss1400 / 1360
IKEv1 Phase 1: main / aggressive6 / 3 messages
IKEv1 Phase 2 (quick mode)3 messages
IKEv2 IKE_SA_INIT + IKE_AUTH4 messages
IKE / NAT-TUDP 500 / 4500
ESP / AH / GREIP 50 / 51 / 47

LISP and VXLAN 2.3a–b Β· OCG ch16

LISP data / controlUDP 4341 / 4342
VXLAN (IANA) / old LinuxUDP 4789 / 8472
VXLAN overhead~50 B
VNI vs VLAN ID24 bit vs 12 bit

OCG notes some Linux builds still default to 8472; the exam answer is 4789.

3 Β· Infrastructure

VLANs and trunks 3.1a Β· CRAM Β· PCG

VLAN 1default, can't delete
Normal range (CRAM)1–1001
Reserved legacy (CRAM)1002–1005
Extended range1006–4094
802.1Q tag4 B: 12-bit VID, 3-bit PCP
VTP v1/v2 propagate1–1005 only (v3: all)

PCG calls 1–1005 the normal range; CRAM says 1–1001 plus 1002–1005 reserved. Both agree 1002–1005 aren't for users.

EtherChannel 3.1b Β· OCG ch5

LACP system priority (default)32768, lower = primary
LACP port priority (default)32768, lower = active
Limit active memberslacp max-bundle N
Extra LACP members show(H) hot-standby
FlagsP bundled Β· s suspended Β· I stand-alone Β· SU L2 in use

STP 3.1c Β· OCG ch2–4

Default bridge priority32768
Priority steps4096
root primary / secondary24576 / 28672
Shown priorityset value + VLAN ID
MST instance 0IST (CIST)
RSTP: neighbor lost after3 missed hellos (6 s)

STP port cost 3.1c

SpeedShort (802.1D)Long (802.1t)
10 Mbps1002,000,000
100 Mbps19200,000
1 Gbps420,000
10 Gbps22,000

Which column applies depends on 'spanning-tree pathcost method'. Questions normally show the short values unless they say "long".

Timers 3.2–3.3

OSPF hello/dead broadcast & p2p10 / 40
OSPF hello/dead NBMA30 / 120
EIGRP hello/hold (fast links)5 / 15
HSRP hello/hold3 / 10
VRRP advertisement1 s
STP hello / fwd delay / max age2 / 15 / 20
BGP keepalive / hold60 / 180

OSPF 3.2a–b Β· OCG ch8–10

States in orderDown β†’ Init β†’ 2-Way β†’ ExStart β†’ Exchange β†’ Loading β†’ Full
Priority default / never DR1 / 0
Router ID ordermanual β†’ highest loopback β†’ highest interface IP
Broadcast Β· P2P10/40, DR Β· 10/40, no DR
NBMA Β· P2MP30/120, DR Β· 30/120, no DR
Default reference bandwidth100 Mbps
OSPFv3 router IDstill 32-bit

OSPF LSA types 3.2b

Router (in area)1
Network (DR, in area)2
Summary (ABR, inter-area)3
ASBR summary4
External (ASBR)5
NSSA external7

EIGRP 3.2a Β· OCG ch7

Default K valuesK1 = K3 = 1, others 0
Metric (defaults)256 Γ— (10⁷/min BW + delay/10)
Feasibility conditionRD < FD
Unequal-cost load balancingvariance (FS only)
AD internal / external / summary90 / 170 / 5

BGP 3.2c Β· PCG Β· OCG ch11–12

Weight default / locally originated0 / 32768
Local Preference default100 (higher wins)
MED default0 (lower wins)
Origin preferencei (IGP) < e (EGP) < ? (incomplete)
AD eBGP / iBGP20 / 200
eBGP TTL default1
Message typesOpen, Update, Keepalive, Notification
Best pathWeight β†’ LP β†’ local β†’ AS-path β†’ origin β†’ MED β†’ eBGP β†’ IGP β†’ oldest β†’ RID
StatesIdle β†’ Connect β†’ Active β†’ OpenSent β†’ OpenConfirm β†’ Established

Policy-based routing 3.2d Β· OCG ch6 Β· PCG

route-map default sequence / action10 / permit
Match optionsmatch ip address (ACL) Β· match length
Set optionsip next-hop Β· ip default next-hop Β· interface Β· default interface
Appliedingress interface: ip policy route-map
Router-generated trafficip local policy route-map
No match / denynormal routing
Verifyshow ip policy Β· show route-map Β· debug ip policy

NTP and PTP 3.3a Β· OCG Β· INE

NTP portUDP 123
Valid strata1–15 (0 = reference clock)
Unsynchronizedstratum 16
ntp master default stratum8
Client stratumsource + 1
PTP event / generalUDP 319 / 320
PTP accuracy vs NTPsub-Β΅s vs ms

NAT 3.3b Β· OCG ch15 Β· CRAM

Default translation timeout24 h (86400 s)
Change itip nat translation timeout s
PATmany inside locals β†’ 1 global, unique ports
Clear dynamic entriesclear ip nat translation *

FHRP 3.3c Β· OCG ch15 Β· CRAM

HSRP priority range / default0–255 / 100
HSRP v1 groups / MAC0–255 / 0000.0c07.acXX
HSRP v2 groups / MAC0–4095 / 0000.0c9f.fXXX
VRRP default priority / owner100 / 255
VRRP MAC / protocol0000.5e00.01XX / IP 112
VRRP advert / hold1 s / 3 s
GLBP multicast224.0.0.102 (same as HSRPv2)

Multicast addresses 3.3d

All multicast224.0.0.0/4
Link-local (TTL 1)224.0.0.0/24
SSM232.0.0.0/8
Administratively scoped239.0.0.0/8
OSPF all / DR224.0.0.5 / .6
EIGRP224.0.0.10
PIM / BSR224.0.0.13
VRRP224.0.0.18
HSRP v1 / v2224.0.0.2 / .102
Auto-RP announce / discovery224.0.1.39 / .40
Multicast MAC01:00:5E + low 23 bits

IGMP and PIM 3.3d Β· OCG ch13

General query sent to224.0.0.1 (all hosts)
IGMPv2 leave sent to224.0.0.2 (all routers)
IGMPv3 reports sent to224.0.0.22
Max response time default10 s
Query intervalCisco 60 s Β· RFC 125 s
Querier electionlowest IP
PIM DR electionhighest priority (default 1), then highest IP
SPT switchover defaultafter the first packet

OCG uses the Cisco IOS 60 s query interval; the IGMP RFC default is 125 s.

4 Β· Network Assurance

Syslog severities 4.1 Β· OCG

0 Emergency Β· 1 Alertunusable / act now
2 Critical Β· 3 Errorcritical / error
4 Warning Β· 5 Notificationwarning / normal but significant
6 Informational Β· 7 Debugginginfo / debug
logging trap N sendslevels 0 … N

SNMP versions 4.1

VersionSecurity
v1 / v2ccommunity string in clear text
v3 noAuthNoPrivusername only
v3 authNoPrivHMAC authentication
v3 authPrivauthentication + encryption

NetFlow, SPAN, IP SLA 4.2–4.4 Β· OCG Β· PCG

NetFlow export versionsv5 fixed Β· v9 template Β· IPFIX (v10)
IPFIX IANA portUDP 4739
Collector port examplesUDP 2055 / 9995 / 9996
ERSPAN encapsulationGRE (IP 47)
SPAN source defaultboth (rx + tx)
IP SLA won't run withoutip sla schedule
IOS traceroute probesUDP, high ports, TTL +1

Catalyst Center 4.5 Β· CRAM Β· INE Β· CISCO-DS

Workflow sectionsDesign Β· Policy Β· Provision Β· Assurance
Healthy device/client score8–10 (of 10)
Client health recalculatedevery 5 min
Onboarding score4 = connected Β· 0 = failed
Day-0 onboardingPnP Β· LAN Automation (IS-IS underlay)
ImagesSWIM golden image
AI baseliningAI Network Analytics
AI root causeMachine Reasoning Engine
Natural languageCisco AI Assistant

NETCONF / RESTCONF 4.6 Β· OCG Β· CRAM

NETCONFSSH TCP 830, XML
RESTCONFHTTPS 443, XML/JSON
RESTCONF media typeapplication/yang-data+json
NETCONF datastoresrunning Β· candidate Β· startup
Required user levelprivilege 15

5 Β· Security

ACL numbers and wildcards 5.2a

Standard IPv41–99, 1300–1999
Extended IPv4100–199, 2000–2699
/24 wildcard0.0.0.255
/26 wildcard0.0.0.63
/20 wildcard0.0.15.255

Password types and privilege levels 5.1a

Type 0 (clear)0
MD5 (enable secret default on older IOS)5
Reversible (service password-encryption)7
PBKDF2-SHA2568
scrypt (strongest)9
Privilege: user EXEC / privileged1 / 15

Device access and AAA 5.1a–b Β· OCG ch26

TACACS+TCP 49, full body encrypted
RADIUS (RFC / legacy)UDP 1812-1813 / 1645-1646
SSH v2 minimum RSA key768 bit (2048 recommended)
VTY lines0–4 (often 0–15)
AAA fallback to next methodonly on error / no answer

CoPP 5.2b Β· OCG ch26

Applied undercontrol-plane
Directionservice-policy input
Affectsonly traffic punted to the CPU
Typical actionpolice (bps) conform transmit / exceed drop
ACL permit in a class= match this class
Typical classesrouting Β· management Β· ICMP Β· undesirable Β· class-default
Verifyshow policy-map control-plane

REST API security 5.3 Β· CRAM Β· INE

TransportHTTPS / TLS 443
Basic authbase64 user:password (not encrypted)
Catalyst Center credentialX-Auth-Token header
SD-WAN Manager credentialJSESSIONID cookie + X-XSRF-TOKEN
Not authenticated / not allowed401 / 403
Too many requests (rate limit)429
Good practiceRBAC Β· OAuth scopes Β· token expiry Β· logging

Security design products 5.4a–c Β· OCG ch25 Β· CRAM

DNS-layer blockingUmbrella
Threat intelligenceTalos
Flow-based detectionSecure Network Analytics (NetFlow)
Endpoint malwareSecure Endpoint (AMP)
Posture / identity / SGTISE + Secure Client
NGFWSecure Firewall (FTD) + FMC
NGFW addsAVC Β· NGIPS Β· URL Β· malware

TrustSec and MACsec 5.4d Β· CRAM Β· OCG

SGT size16 bit
SXP transportTCP, speaker β†’ listener
MACsec EtherType0x88E5
MACsec SecTAG + ICV16 + 16 B

6 Β· Automation and AI

Python and JSON 6.1 Β· 6.2 Β· OCG ch28

list / dict / tuple[ ] / { } / ( )
First / last index[0] / [-1]
Python booleans / emptyTrue, False / None
JSON booleans / emptytrue, false / null
JSON object β†’ Pythondict
JSON array β†’ Pythonlist
String ↔ datajson.loads / json.dumps
HTTP callrequests.get(url, headers=…).status_code / .json()
JSON quotesdouble only Β· no trailing comma Β· no comments

YANG and model RFCs 6.3 Β· OCG ch28

Groups nodes, no valuecontainer
Repeated entries with a keylist
One value / many valuesleaf / leaf-list
YANG 1.0 / 1.1RFC 6020 / RFC 7950
NETCONF / RESTCONFRFC 6241 / RFC 8040
Multivendor modelsIETF Β· OpenConfig
EncodingsXML (NETCONF) Β· XML/JSON (RESTCONF)

Controller API paths 6.4 Β· CRAM Β· INE Β· OCG

Catalyst Center tokenPOST /dna/system/api/v1/auth/token
Catalyst Center devicesGET /dna/intent/api/v1/network-device
Catalyst Center taskGET /dna/intent/api/v1/task/{taskId}
SD-WAN Manager loginPOST /j_security_check
SD-WAN Manager XSRF tokenGET /dataservice/client/token
SD-WAN Manager devicesGET /dataservice/device
SD-WAN Manager docs/apidocs
Northbound / southboundREST to apps / NETCONF, SSH, SNMP to devices

HTTP codes 6.5

OK / Created / Accepted / No content200 / 201 / 202 / 204
Bad request / Unauthorized / Forbidden / Not found400 / 401 / 403 / 404
Server error / Unavailable500 / 503

EEM 6.6 Β· OCG ch29 Β· PCG Β· INE

Event detectorssyslog Β· cli Β· timer (cron, watchdog) Β· none Β· track Β· snmp Β· interface
Run manuallyevent none β†’ event manager run NAME
Block a typed commandevent cli … sync no skip yes
Run before the commandsync yes
First CLI actioncli command "enable"
Last CLI output$_cli_result
Email variables_email_server Β· _email_to Β· _email_from Β· _email_cc
Suppress confirmationsfile prompt quiet
Verifyshow event manager policy registered Β· history events

Action labels are compared as text, so keep them the same width (1.0, 1.5, 2.0 … or 010, 020) to keep the order you expect.

Orchestration tools 6.7 Β· CRAM Β· OCG ch29

Puppetagent pull Β· manifests Β· Ruby Β· TCP 8140
Chefagent pull Β· recipes / cookbooks Β· Ruby
SaltStackminions (agent) Β· Python Β· TCP 4505/4506 Β· Salt SSH agentless
Ansibleagentless push Β· playbooks (YAML) Β· Python Β· SSH 22
Puppet Boltagentless Puppet
Common propertyidempotent

HTTP methods 6.5 Β· OCG

Create / ReadPOST / GET
Replace / MergePUT / PATCH
DeleteDELETE

All domains

Administrative distance

Connected0
Static1
eBGP20
EIGRP internal90
OSPF110
IS-IS115
RIP120
EIGRP external170
iBGP200
Unknown / unusable255

Overheads and sizes

GRE header (IP 20 + GRE 4)24 B
VXLAN encapsulation~50 B
MACsec SecTAG + ICV (CRAM)16 + 16 B
VXLAN VNI / VLAN ID24 bit / 12 bit
HSRP groups v1 / v20–255 / 0–4095
Syslog levels0 emerg … 7 debug

βš–οΈ Where the books differ

SD-WAN namesOCG and CRAM say vBond / vSmart / vManage; the v1.2 blueprint and INE say Validator / Controller / Manager. Expect the new names, sometimes with the old one in brackets. DNA vs CatalystCRAM says DNA Center; the blueprint says Catalyst Center. Same product. RADIUS portsRFC 1812/1813; older Cisco defaults 1645/1646. Pick 1812/1813 unless the question says legacy. VLAN rangesPCG: normal 1–1005. CRAM: normal 1–1001, 1002–1005 reserved. Either way, 1002–1005 aren't usable. IGMP query intervalOCG: 60 s (Cisco IOS default). RFC: 125 s. Pick the Cisco value unless the question says RFC. Pass scoreSome prep sites quote 825/1000 (82 %). Cisco doesn't publish it, so treat it as an estimate. Orchestration toolsBooks name Puppet, Chef, SaltStack, Ansible; v1.2 removed the names from 6.7. Know the agent vs agentless idea first.

⏱ Exam-day plan

Pace~100 questions in 120 min β†’ about 70 s each. Check the clock at question 35 (≀40 min) and 70 (≀85 min). No going backCisco exams normally don't let you return to earlier questions. Decide, then move on. Read the verbConfigure/verify β†’ syntax and show output. Interpret β†’ read the config. Describe β†’ roles and planes. EliminateDrop answers with a wrong command mode, wrong port/number or wrong plane, then compare what's left. Drag & dropPlace the pairs you're sure of first. The rest usually falls into place. Show outputRead the question first, then scan the output for that one field: State column, flags (*, >, P, s, T), counters, return codes. ExhibitsTrace the packet path hop by hop before reading the options. Check roles at each hop: inside/outside, root/active, area, ingress/egress.

Architecture: must know

1.1a 2-tier = collapsed core (small) Β· 3-tier = core/dist/access (large) Β· leaf-spine fabric = 2 hops, ECMP Β· cloud IaaS/PaaS/SaaS = less to run, WAN path critical
1.1a Access = hosts, marking, port security Β· Distribution = L2/L3 boundary, FHRP, summary, policy Β· Core = fast, no policy
1.1b Redundancy: dual links, PSUs, supervisors Β· FHRP = gateway redundancy Β· SSO = standby RP synced Β· NSF/GR = keep forwarding Β· StackWise Virtual = one logical switch + MEC Β· BFD = sub-second detection
1.2a SD-WAN planes: Validator (vBond) orchestration β†’ Manager (vManage) management β†’ Controller (vSmart) control, OMP over DTLS β†’ WAN Edge data, IPsec + BFD Β· TLOC = system IP + color + encap
1.2b Benefits: any transport, App-Aware Routing (BFD SLA), ZTP, central policy, segmentation (VPN 0 transport, 512 mgmt) Β· Limits: needs controllers + PKI, overlay overhead, licensing, migration effort
1.3a SD-Access: LISP control (control plane node = MS/MR, HTDB) Β· VXLAN data (VN + SGT) Β· TrustSec policy Β· Catalyst Center management Β· edge = anycast gateway Β· border = exit Β· intermediate = underlay only
1.3b Traditional interop: border β†’ fusion router via VRF-lite + BGP (leaks shared services) Β· L2 handoff extends a fabric subnet to a legacy VLAN Β· IP transit vs SD-Access transit
1.4 QoS: class-map (match-all = AND, default) β†’ policy-map β†’ service-policy Β· priority = LLQ, policed in congestion Β· bandwidth = minimum Β· police drops/re-marks Β· shape buffers, outbound only Β· parent shape + child queues

Virtualization: must know

2.1a Type 1 = bare metal (ESXi, KVM, Hyper-V) Β· Type 2 = hosted on an OS (VirtualBox, Workstation)
2.1b VM = vCPU, RAM, disk, vNIC + own guest OS, stored as files Β· container = shares the host kernel, lighter
2.1c Virtual switching: vSwitch / vDS / OVS connects vNICs to port groups (VLANs) and uplinks to the physical NIC trunk
2.2a VRF = separate routing table Β· vrf definition + address-family Β· vrf forwarding removes the IP Β· show ip route vrf X Β· ping vrf X Β· VRF-lite = per-hop, no MPLS
2.2b GRE IP 47, 24 B, carries multicast/IGP Β· ESP 50 Β· IKE UDP 500/4500 Β· Phase 1 = IKE SA, Phase 2 = IPsec SA Β· VTI = tunnel mode ipsec ipv4 Β· recursive routing = dest via tunnel
2.3a LISP: EID (who) / RLOC (where) Β· ETR Map-Register β†’ MS Β· ITR Map-Request β†’ MR β†’ Map-Reply Β· data UDP 4341, control 4342 Β· PxTR = to non-LISP
2.3b VXLAN: MAC-in-UDP 4789 Β· 24-bit VNI β‰ˆ 16 M Β· VTEP encaps/decaps Β· ~50 B overhead β†’ jumbo underlay Β· control plane = BGP EVPN or LISP

Infrastructure: must know

3.1a DTP auto+auto = access Β· trunk + nonegotiate = static Β· native VLAN must match Β· 'allowed vlan add' Β· show interfaces trunk: allowed β†’ active β†’ forwarding
3.1b Static = on Β· LACP active/passive (std) Β· PAgP desirable/auto Β· passive+passive / auto+auto = nothing Β· members must match Β· (s) suspended, (I) stand-alone
3.1c RSTP roles root/designated/alternate/backup, states discarding/learning/forwarding Β· root = lowest BID Β· MST region = name + revision + map Β· BPDU Guard β†’ err-disabled Β· Root Guard β†’ root-inconsistent
3.2a EIGRP = advanced distance vector (DUAL, FS: RD < FD, variance = unequal cost) Β· OSPF = link state (LSDB + SPF, equal cost only)
3.2a Metric: EIGRP = min BW + total delay Β· OSPF cost = ref BW / BW (100 Mbps default: 1 G = 10 G) Β· AD 90/170 vs 110 Β· areas: normal, stub (no type 5), totally stubby (default only), NSSA (type 7)
3.2b Adjacency: area, subnet, hello/dead, auth, stub flags must match Β· MTU β†’ stuck EXSTART Β· broadcast = DR/BDR (priority, then RID, no preempt) Β· point-to-point = no DR Β· passive = no hellos
3.2b area range (ABR) Β· summary-address (ASBR) Β· filter-list = type 3 Β· distribute-list = local RIB only Β· OSPFv3: per interface, IPv6 AF, 32-bit RID
3.2c eBGP neighbor remote-as, TCP 179, TTL 1 β†’ multihop + update-source Β· states Idle β†’ Connect β†’ Active β†’ OpenSent β†’ OpenConfirm β†’ Established Β· network = exact RIB match
3.2c Best path: Weight β†’ Local Pref β†’ local β†’ AS-path β†’ origin β†’ MED β†’ eBGP > iBGP β†’ IGP β†’ oldest β†’ RID Β· * valid, > best
3.2d PBR: route-map + ip policy on the ingress interface Β· no match = normal routing Β· own traffic = ip local policy Β· verify-availability + track
3.3a NTP: * sys.peer, + candidate Β· stratum = source + 1, 16 = unsynced Β· ntp master N Β· PTP: GM (BMCA) Β· BC = new hop Β· TC = adds residence time Β· UDP 319/320
3.3b NAT: inside local (private) β†’ inside global (public) Β· ip nat inside / outside on the right interfaces Β· overload = PAT Β· static for inbound Β· timeout 24 h
3.3c HSRP: pri 100, highest wins, preempt off, 224.0.0.2/.102 Β· VRRP: standard, preempt on, 224.0.0.18 Β· track + decrement + preempt on the peer
3.3d RPF fail = drop Β· PIM-SM: RP, shared tree β†’ SPT Β· IGMPv2 group / v3 group + source Β· SSM 232/8, no RP Β· Bidir = shared only Β· MSDP TCP 639 between RPs Β· DR = highest IP, querier = lowest IP

Assurance: must know

4.1 Syslog 0–7, trap N sends 0…N Β· conditional debug first on busy boxes Β· ping (extended: source, size, DF) Β· traceroute (UDP, TTL+1, * = no reply) Β· SNMPv3 authPriv Β· inform = acknowledged
4.2 FNF: record (match = key, collect = data) β†’ exporter (dest, port, version) β†’ monitor β†’ ip flow monitor M input
4.3 SPAN local Β· RSPAN = remote-span VLAN over trunks Β· ERSPAN = GRE over L3 (no shutdown) Β· destination port = no normal traffic
4.4 IP SLA needs schedule Β· track β†’ static route β†’ floating backup (AD 250) Β· udp-jitter needs ip sla responder
4.5 Traditional = CLI box by box Β· Catalyst Center = Design β†’ Policy β†’ Provision (PnP, templates, SWIM) β†’ Assurance Β· AI: AI Network Analytics (baselines), MRE (root cause), AI Assistant (natural language)
4.6 NETCONF SSH 830, XML, candidate + commit (netconf-yang) Β· RESTCONF HTTPS, JSON/XML, PATCH merges (restconf + ip http secure-server) Β· user priv 15

Security: must know

5.1a Lines: line vty 0 4 Β· transport input ssh Β· login local (vs 'login' = line password) Β· access-class Β· exec-timeout Β· local users: username … algorithm-type scrypt secret (type 9), type 7 reversible Β· privilege 0/1/15
5.1a SSH needs hostname + ip domain-name + crypto key generate rsa (β‰₯ 768, 2048) + ip ssh version 2
5.1b AAA: aaa new-model Β· authentication (login), authorization (exec, commands), accounting Β· TACACS+ TCP 49, full encryption, per-command Β· RADIUS UDP 1812/1813, password only Β· fallback only if the server doesn't answer
5.2a ACL: standard near dest, extended near source Β· top-down, first match Β· implicit deny Β· one per interface/direction/protocol Β· VACL in VLAN (permit = match)
5.2b CoPP: class-maps (ACL permit = match) β†’ police β†’ control-plane / service-policy input Β· don't starve routing/mgmt Β· show policy-map control-plane
5.3 REST API: HTTPS only Β· token (X-Auth-Token, expires β†’ 401) Β· OAuth = scoped tokens Β· API keys Β· RBAC least privilege (403) Β· rate limiting Β· input validation Β· logging
5.4a Threat defense: Umbrella (DNS layer) Β· Secure Network Analytics (NetFlow) Β· Talos (intel) Β· Secure Malware Analytics/NGIPS
5.4b Endpoint: Secure Endpoint (AMP: malware, retrospection) Β· ISE posture with Secure Client β†’ quarantine non-compliant
5.4c NGFW: stateful + AVC + NGIPS + URL + malware (Secure Firewall, FMC) vs classic = state/NAT/ACL only
5.4d TrustSec: classify (ISE) β†’ propagate (inline / SXP) β†’ enforce (SGACL, egress) Β· MACsec 802.1AE hop-by-hop, 0x88E5, MKA Β· IPsec = L3 end-to-end

Automation & AI: must know

6.1 Python: list [0] · dict['key'] · for/if by indentation · json.loads str→dict, json.dumps dict→str · requests.get(...).status_code / .json()
6.2 JSON: { } object, [ ] array, double quotes, true/false/null lowercase, no trailing comma, no comments
6.3 YANG: module β†’ container β†’ list (key) β†’ leaf / leaf-list Β· structure vs encoding (XML/JSON) Β· IETF/OpenConfig multivendor, Cisco native = all features
6.4 Catalyst Center: POST /dna/system/api/v1/auth/token β†’ X-Auth-Token Β· Intent API /dna/intent/api/v1/… Β· Integration, events/webhooks Β· SD-WAN Manager: POST /j_security_check β†’ JSESSIONID, /dataservice/… Β· NB = REST, SB = NETCONF/SSH/SNMP
6.5 200 OK Β· 201 Created Β· 202 Accepted (taskId β†’ poll) Β· 204 No Content Β· 400 Β· 401 not authenticated Β· 403 forbidden Β· 404 not found Β· 500 Β· payload: data['response'][0]['hostname']
6.6 EEM: event manager applet β†’ one event (syslog pattern / cli pattern sync+skip / timer cron / none / track) β†’ actions in label order, action 1.0 cli command "enable" first Β· $_cli_result
6.7 Agent-based = installed SW pulls (Puppet manifests, Chef recipes, Salt minions) Β· agentless = push over SSH/NETCONF (Ansible playbooks, Puppet Bolt, Salt SSH) Β· idempotent

⚠️ Classic traps

AAA fallbacklocal is used only when TACACS+/RADIUS doesn't answer, not when it rejects. HSRP preemptOff by default: a higher priority alone doesn't take back the active role. OSPF distribute-listFilters the local RIB only; LSAs still flood. Use area filter-list for type 3. BGP networkNeeds an exact RIB match, mask included. Shaping inboundNot supported; police inbound instead. vrf forwardingWipes the interface IP. IP SLANo schedule = no probes. EEMForgot action "enable" β†’ privileged commands fail. 401 vs 403401 = who are you? 403 = I know you, but no. STP root vs HSRPMake the HSRP active switch the STP root for the same VLANs, or traffic takes an extra hop. NAT rolesip nat inside on the LAN, outside on the ISP. Swapped = no translations at all. Shown STP priority24586 on VLAN 10 means 24576 was configured (sys-id-ext adds the VLAN). OSPF costDefault reference 100 Mbps makes 1 G and 10 G equal. Raise it on every router. BGP ActiveNot "active and working": the TCP session isn't up. MST regionOne different VLAN mapping = different region. PBR directionIngress interface only; outbound does nothing. NETCONF candidateMust be enabled (netconf-yang feature candidate-datastore); RESTCONF has none. GRE recursive routingTunnel destination learned through the tunnel β†’ it flaps. VACL / CoPP ACLsIn an access-map or class-map, "permit" only means "match"; the action (drop/forward/police) decides. A deny line never matches. Dropped topicsWireless (AP modes, RF, roaming, WLC config) and 802.1X/MAB/WebAuth NAC are out of v1.2.