Self-authored practice lab aligned to the CCIE Enterprise Infrastructure v1.1 exam topics. A Design module with 24 scenario-based items and a DOO module with 30 tasks (100 points) across campus, MPLS L3VPN, DMVPN, SD-WAN and SD-Access, including pre-seeded faults and full solutions.
Self-authored practice lab by RoutingBit, written against the public exam topics. This is not a real exam and contains no vendor exam content. Topology, addressing and requirements are entirely new.
This is a self-authored practice lab by RoutingBit. It is not a real exam and does not reproduce any Cisco exam content. The company, topology, device names, addressing, scenario and requirements are entirely new and only follow the public scope of the CCIE Enterprise Infrastructure v1.1 exam topics. Real exam content is covered by the Cisco NDA: do not post or ask for real exam content in the comments.
The CCIE EI v1.1 lab exam is 8 hours long and has two modules taken back to back:
Module
Duration
Format
1. Design
3 hours
Web-based, scenario-driven items: single answer, multiple answer, drag and drop. No device access. The scenario unfolds through emails and documents, and you cannot go back to a previous item.
2. Deploy, Operate, Optimize (DOO)
5 hours
Hands-on: configure, troubleshoot and optimize devices to meet the requirements.
Cisco scores both modules and does not publish the passing score. Cisco has announced a new 1-hour AI DOO module for CCIE lab exams (Design reduced to 2 hours). Data Center goes first, and no effective date has been announced for CCIE EI yet. Check the official exam page before you book.
Exam topic weights in v1.1 and how this lab distributes the DOO points:
Click Start to run the timer for module 1 (Design, 3 hours). When it expires the timer moves to module 2 (DOO, 5 hours) automatically. You can also click Next module when you finish Design early, as in the real exam: unused Design time is not added to DOO.
Design module: selecting an answer submits it immediately, and the page shows the correct answer and explanation. Multiple-answer and matching items have a "Submit answer" button. Read every "Additional information" box carefully, because later items depend on the new facts.
DOO module: 100 points in total, 30 tasks in 5 sections. Tick "Done" when you finish a task to add its points. Self-assessment: 18/24 correct in Design and 75 points in DOO is a self-defined readiness bar (Cisco does not publish a passing score).
Some tasks contain pre-seeded faults (marked "Troubleshoot" in the title). Do not assume the faults are only in the excerpts shown.
Later tasks can depend on earlier ones, even across sections. The "Related" line in each solution lists the dependencies.
Do not use static routes, PBR or additional GRE tunnels unless a task allows it. Do not modify the grey devices in the diagrams (Internet, ISP-2, SD-WAN controllers, servers).
All configuration must survive a reload. When a task says "ensure", the proctor verifies with show commands and real traffic.
You can build the DOO topology with Catalyst 8000v, Cat9kv and the SD-WAN controllers on CML or EVE-NG. Without a lab, write your configuration on paper before opening the solution.
MedaVina is a fictitious pharmaceutical company with:
Headquarters in Ho Chi Minh City: 3 buildings, about 2,500 users, IP cameras, guests.
Two data centers: DC1 in Ho Chi Minh City and DC2 in Binh Duong, connected by two Layer 3 DCI links.
3 factories acquired from another company, running EIGRP, with a separate OT network.
180 retail pharmacies, each with one router and card-payment POS terminals.
Current WAN: one carrier provides MPLS L3VPN to every site. 60 pharmacies also have DMVPN over 4G as backup. The whole network runs OSPF in a single area 0 with about 400 routers. IT reports that OSPF recalculates SPF constantly whenever a 4G link at a pharmacy flaps.
MedaVina network before the project, single-area OSPF over MPLS L3VPN with DMVPN over 4G as backup
Project goals set by the CIO:
Reduce dependency on a single carrier, with pharmacy WAN recovery under 1 minute.
99.99% availability at headquarters, with separation of users, IoT and guests.
PCI DSS compliance for cardholder data at the pharmacies.
Operations driven by automation, with minimal manual work on individual devices.
Item 1
Classify the information in the requirements
Choose 1
While reviewing the documents you note the following items. Which item is a constraint rather than a functional requirement?
Correct answer: C
A requirement describes what the system must do: recover in under 1 minute, separate traffic, encrypt cardholder data. A constraint is a limit the design must accept and cannot change: budget, timeline, contracts, team skills. The 9 months left on the MPLS contract drives the migration schedule (run MPLS and SD-WAN in parallel, decommission MPLS last), so it is a constraint. Design items often test whether you can separate "what must be achieved" from "what must be accepted".
Item 2
Quick fix for single-area OSPF
Choose 1
While the new WAN project is under way, the CIO wants to stop network-wide SPF runs caused by flapping 4G links at the pharmacies immediately, with the least change. Which option is most appropriate?
Correct answer: B
The problem is that every link change on 400 routers generates type 1/2 LSAs flooded through area 0, and every router runs a full SPF. Areas confine type 1/2 LSAs, ABRs only send type 3, and when the ABR summarizes the region, internal changes no longer leak out. Totally stubby areas also make the pharmacy routers lighter (default route only). Moving to IS-IS is a major change and violates "least change". Longer timers slow down failure detection, against the 1-minute recovery goal. Flood reduction only suppresses periodic LSA refresh, it does not help with LSAs caused by flapping links.
Item 3
Mechanism versus purpose
Match
Match each mechanism with its main purpose in MedaVina's WAN and campus design.
Correct matches:
BFD: Sub-second path failure detection that notifies the routing protocol
NSF/Graceful Restart: Continued forwarding while the control plane restarts or the supervisor switches over
Route dampening: Penalize flapping prefixes so they are not propagated repeatedly
IP event dampening: Temporarily suppress a flapping interface from the routing protocol
BFD only detects failures quickly and informs OSPF, BGP, EIGRP or SD-WAN, it does not reroute by itself. NSF/GR keeps the forwarding table while the control plane restarts and requires neighbors that support the "helper" role. Route dampening (usually BGP) penalizes prefixes, while IP event dampening works at the interface level and is a good fit for flapping 4G links at the pharmacies in the interim. The two distractors belong to other mechanisms (EIGRP variance, IPsec).
Item 4
POS traffic separation
Choose 1
Which design meets the compliance requirements for POS traffic over SD-WAN?
Correct answer: B
A dedicated service VPN gives routing-table separation (macro segmentation), and every SD-WAN tunnel already uses IPsec, so encryption is covered. To force POS through the DC firewall, use a hub-and-spoke control policy for that VPN only: vSmart rewrites the TLOC of POS routes sent to the pharmacies to the TLOC of the DC hub, so pharmacies no longer have direct paths to each other. ACLs in a shared VPN are weak separation and hard to audit. VPN 0 is the transport VPN and VPN 512 is management, neither carries user traffic.
Item 5
TLOC color for 4G
Choose 1
Requirement: the 4G circuit must carry no data and as little control traffic as possible while the fiber is healthy. Which tunnel interface configuration is the best fit for 4G?
Correct answer: B
last-resort-circuit marks the TLOC to be used only when all other TLOCs on the router are down. On current IOS-XE SD-WAN releases, BFD tunnels on this TLOC are not brought up until then either, which saves 4G volume. restrict only limits tunnels to TLOCs of the same color, it does not prevent the use of 4G. Using the same color as the fiber makes both circuits share tunnels and load share. App-aware routing only selects paths for data, BFD still runs continuously over 4G and still consumes volume. You can add max-control-connections 0 on the 4G TLOC to drop control connections too, but only if another TLOC keeps the controller connections up.
Item 6
Surviving loss of the controllers
Choose 2
IT asks: if both vSmart controllers are unreachable for 24 hours (dual DC outage), can the pharmacies keep forwarding data? Choose two changes that help the network survive this scenario.
Select 2 answers, then submit.
Correct answer: A, B
When vSmart is lost, the cEdges keep the OMP routes they learned for the graceful restart period (12 hours by default, 7 days maximum). IPsec keys between cEdges are distributed by vSmart, so when the rekey interval expires without vSmart, the data tunnels go down. Both are needed: an OMP graceful restart timer longer than the outage and a correspondingly longer IPsec rekey interval. BFD runs between cEdges and has nothing to do with vSmart. vBond is only used for initial authentication and orchestration, placing it at the pharmacies makes no sense. Making every TLOC last resort leaves no primary path.
Item 7
Controller placement
Choose 1
MedaVina chooses on-premises controllers in the two DCs. Which placement is most appropriate?
Correct answer: B
vBond is the first point of contact. It must be reachable from every transport and must not sit behind PAT (it needs 1:1 static NAT or a public IP). Use a DNS name that returns multiple addresses so the cEdges try them in turn. Deploy at least two vSmarts in different locations, with every cEdge connected to both. vManage runs as a cluster (3 nodes or more) for redundancy, optionally with a disaster recovery cluster in DC2. Option A is cold standby and does not meet the recovery goal. Placing vBond in the service VPN of a pharmacy is the wrong role.
Item 8
Migration order
Match
Match each activity with its logical position in the MPLS to SD-WAN migration plan, taking the 9-month constraint into account.
Correct matches:
Deploy the controllers and the hub cEdges in both DCs, connected to the existing network: Step 1
Configure two-way redistribution between OMP and the legacy network at the DCs, with loop prevention: Step 2
Pilot 5 pharmacies and 1 factory, running in parallel with MPLS: Step 3
Migrate the remaining pharmacies in waves: Step 4
Decommission the MPLS circuits when the contract expires: Step 5
The DC hubs must exist first so migrated sites can still reach sites that have not migrated yet. The redistribution point between OMP and the legacy OSPF/BGP is where loops most easily appear, so it must be finished and verified (tags, site-of-origin, AS path) before any real site moves. The pilot is small and includes a factory because the factories run EIGRP and OT, unlike the pharmacies. MPLS is removed only at the end, which respects the contract constraint and keeps a rollback path.
Item 9
Segmentation in SD-Access
Choose 1
Which approach meets both levels of segmentation in the meeting minutes?
Correct answer: B
In SD-Access a VN (one VRF and one LISP instance) is the macro segment: there is no path between VNs unless traffic goes through a fusion device or a firewall. SGTs provide micro segmentation inside the same VN and block traffic even within the same IP subnet, which matches "contractors must not reach staff machines even in the same subnet". Option C puts everything in one VN, so guests and IoT are only separated by group policy, weaker than "fully separated". An ACL on the border cannot block traffic between two hosts on the same edge node.
Item 10
Border node type
Choose 1
The border switch pair connects both to the two DCs (known, specific networks) and to the Internet (unknown networks). Which border configuration is appropriate?
Correct answer: C
An internal border registers known prefixes (DCs, internal networks) with the control plane node. An external border is the exit for all unknown destinations (the Internet). When the same switch pair does both, choose "internal and external". Internal only leaves the edges without an Internet exit. External only means the specific DC routes are not registered and everything follows the default, which loses path selection and breaks easily with multiple borders.
Item 11
Cameras that use Layer 2 broadcast
Choose 1
Legacy cameras need Layer 2 broadcast to find their recorder in the same IP subnet. Which design handles this without rebuilding the whole fabric?
Correct answer: A
By default SD-Access does not flood broadcasts, and ARP is converted to unicast thanks to the control plane. For applications that need Layer 2 broadcast, enable Layer 2 flooding on that pool only, and the fabric encapsulates broadcasts into a multicast group in the underlay. The underlay therefore needs multicast (LAN automation can build it). There is no option to disable LISP for a VN, and moving VNs to get a feature breaks the segmentation from the previous item.
Item 12
Multicast for the camera streams
Choose 1
About 40 screens watch the same camera stream, many of them behind different edge nodes. Which multicast transport in the fabric is the better fit?
Correct answer: B
Head-end replication is easy to deploy, but the source edge must replicate every packet for each destination edge, consuming uplink bandwidth and CPU as the number of destinations grows. Native multicast lets the underlay replicate at branching points, which suits video with many viewers. The requirement is that the underlay runs PIM (usually SSM). Unicast to 40 screens multiplies bandwidth by 40. Layer 2 flooding is only for broadcast within one pool, not a solution for multicast across subnets.
Item 13
Control plane node
Choose 2
Choose two correct statements about the control plane node in the headquarters SD-Access design.
Select 2 answers, then submit.
Correct answer: A, C
The control plane node is the LISP MS/MR. It only answers "which RLOC is this EID behind" and is not in the data path. At medium scale, collocating the control plane with the border is a common design, always with two nodes. Edges are not their own control plane. SGTs are assigned by ISE through authentication or static mapping, not by the control plane.
Item 14
Inbound traffic engineering
Choose 1
Which option meets the inbound traffic requirement for both prefixes, with backup?
Correct answer: B
For backup, each prefix must be advertised in both places. To steer inbound traffic, change an attribute the outside Internet can see: AS path (prepend) or communities that ask the ISP to lower local preference. Because ISP-B only supports prepending, use prepending consistently. Local preference on your own routers only affects outbound traffic. Option A has no backup. /25 prefixes are commonly filtered on the Internet (many networks accept nothing longer than /24) and also provide no backup for the other prefix.
Item 15
Protecting the Internet BGP sessions
Choose 3
Choose three measures that should be applied on the eBGP sessions with the two ISPs.
Select 3 answers, then submit.
Correct answer: A, B, C
Maximum-prefix protects the router if an ISP accidentally sends too many routes. Inbound filtering avoids learning your own prefixes back (a dangerous loop) and junk routes. Outbound filtering is mandatory with two ISPs: otherwise ISP-A routes can be advertised to ISP-B and MedaVina becomes a transit point (route leak). Putting the Internet table into an IGP is a classic design error that brings OSPF down. RPKI ROV, GTSM and TCP-AO or MD5 can be added if the ISPs support them.
Item 16
DC preference for factory offices
Choose 1
Factory offices (service VPN 10) should prefer DC1 and only use DC2 when DC1 is down. Both DCs advertise the same application prefixes into OMP. How can this be done centrally, without changing each factory?
Correct answer: A
A control policy on vSmart modifies OMP route attributes before they are sent to the selected sites, so one policy covers every factory and is easy to change back. Higher preference wins. Static routes on each site defeat the automation goal. Shutting down the tunnels to DC2 removes the backup. last-resort-circuit works at the TLOC level of the router itself, applying it to DC2 affects every VPN and every site, including those that need DC2.
Item 17
Collecting counters every 10 seconds
Choose 1
Which collection method best meets requirement (1)?
Correct answer: B
Push telemetry uses structured YANG data, the device sends on a schedule, which is lighter on the CPU than being polled constantly and scales to many devices. SNMP polling every 10 seconds across 200+ devices is heavy on both sides and MIB data is harder to use. Syslog is not counter data. Parsing show output is exactly the "screen scraping" the team wants to drop.
Item 18
Model-driven management protocols
Match
Match each protocol with its characteristics.
Correct matches:
NETCONF: Runs over SSH port 830, XML data, candidate datastore and locking
RESTCONF: Runs over HTTPS, JSON or XML data, REST-style operations
gNMI: Runs over gRPC, supports Get, Set and Subscribe
SNMPv3: MIB-based data with per-user authentication and encryption
NETCONF has datastores (running, candidate, startup), locking and commit, which suits transactional changes. RESTCONF maps the same YANG models to URLs and HTTP methods (GET, POST, PUT, PATCH, DELETE). gNMI uses gRPC and includes Subscribe for telemetry. SNMPv3 is still SNMP with MIBs, only with added security. None of these protocols runs over Telnet.
Item 19
Pushing an ACL to 180 pharmacies
Choose 1
Which approach meets requirement (3): one change for all 180 pharmacies, with pre-checks and rollback?
Correct answer: B
With SD-WAN, vManage is the single source of configuration for the cEdges. Templates and configuration groups support configuration preview, group-based deployment and rollback when a cEdge loses control connectivity after a change. These operations can also be called through the vManage REST API to fit into a CI process. EEM downloading ACLs has no central control. Pasting over SSH is slow and error prone, and vManage would overwrite it anyway. SNMP set is not a modern configuration management method.
Item 20
QoS for voice over fiber
Choose 1
Voice runs over a fiber circuit contracted at 50 Mbps on a 1 Gbps port. Which QoS design is correct on the pharmacy cEdge?
Correct answer: B
The 1 Gbps port never congests on the router, the real bottleneck is at the ISP above 50 Mbps, and an Internet ISP does not honor your DSCP. You therefore create the bottleneck yourself with a shaper at the contracted rate, and queue inside the shaper: LLQ for voice with an implicit policer so voice cannot take everything. WRED is early drop for TCP, applying it to voice is wrong. In SD-WAN, shaping is configured on the VPN 0 interface and the QoS map places classes into queues.
Item 21
IPv6 for the new POS
Choose 1
The new POS vendor requires IPv6 to the payment servers within 2 years. Many pharmacy Internet transports are IPv4 only. Which option carries the least risk?
Correct answer: B
SD-WAN separates transport from service: a service VPN can run IPv6 while the IPsec tunnels run over an IPv4 transport. This does not depend on the ISPs. NAT64 adds complexity and is unnecessary when both ends support IPv6. Building another DMVPN goes against the goal of consolidating the WAN onto one platform.
Item 22
Rollback plan
Choose 2
Before the first pharmacy cutover night, which two items must the rollback plan include?
Select 2 answers, then submit.
Correct answer: A, B
A rollback is only effective when you know when to roll back (measurable criteria and a decision owner) and the old path and tested steps are ready. This is also why decommissioning MPLS is the last step in the migration item. The other options do not help restore service.
Item 23
99.99% availability at headquarters
Choose 1
The budget covers only one of the following options. Which one contributes most to the 99.99% goal for the headquarters WAN connection?
Correct answer: A
99.99% is about 52 minutes of downtime per year. To reach that, every component in the path needs redundancy and the redundant branches must not share failure points: two devices, two ISPs, two cable paths, and dynamic routing on the LAN (or VRRP with tracking) for fast failover. B and D still have a single point of failure at the ISP or device. C has two devices but shares the ISP and cable path, so one cable cut takes everything down.
Item 24
Prioritizing when requirements conflict
Choose 1
Near the end of the project, Finance proposes dropping the 4G circuits at the pharmacies to cut costs, replacing them with a second fiber circuit from the same carrier as the first. How should you respond?
Correct answer: C
The last Design items often test how to balance requirements against constraints. The architect's role is to state the impact on the agreed requirement (path diversity) and offer options, while the cost and risk trade-off belongs to the project owner. Agreeing immediately ignores the shared failure risk. Declining without explanation or acting behind the customer's back is not how to work with a customer.
The DOO module uses a different fictitious company: TRX Logistics, with headquarters in Hanoi (AS 65001), a data center in Da Nang (AS 65020), two legacy branches connected by DMVPN, two new warehouses on SD-WAN and a new building (Building B) on SD-Access. Headquarters and the DC are connected through an MPLS L3VPN carrier (AS 65100) that you must also configure.
DOO physical topology, TRX Logistics with headquarters, Building B on SD-Access, the MPLS carrier, the DC, DMVPN branches and SD-WAN warehousesHanoi HQ, AS 65001Building B, SD-AccessMPLS carrier, AS 65100Da Nang DC, AS 65020DMVPN branches, EIGRP 100SD-WAN warehousesCORE110.1.255.1CORE210.1.255.2HQ-R110.1.255.11HQ-R210.1.255.12SDW-HQsite 100ACC1ACC2ISE, CC, NMSVLAN 99FB-BCPborder + CP, VRF-liteFB-EDGEPE110.200.255.1P110.200.255.3PE210.200.255.2InternetISP-2 LTEControllersvManage, vBond, vSmartDC-R110.30.255.1DC-R210.30.255.2BR1BR2SDW-BR3site 300SDW-BR4site 400CORE1 to CORE2: Po1 (LACP) and L1
DOO physical topology, TRX Logistics with headquarters, Building B on SD-Access, the MPLS carrier, the DC, DMVPN branches and SD-WAN warehouses
Devices: CORE1, CORE2, ACC1, ACC2, FB-BCP and FB-EDGE are Catalyst 9000 switches (IOS-XE 17.x). HQ-R1, HQ-R2, PE1, P1, PE2, DC-R1, DC-R2, BR1 and BR2 are Catalyst 8000v routers in autonomous mode. SDW-HQ, SDW-BR3 and SDW-BR4 are Catalyst 8000v routers in controller mode (cEdge, IOS-XE 17.12), managed by vManage 20.12.
Loopback0 IPv4 addresses are shown in the diagram. Headquarters is dual stack: the IPv6 loopback of CORE1, CORE2, HQ-R1 and HQ-R2 is 2001:db8:1::X/128, where X is the last octet of the IPv4 loopback (CORE1 is 2001:db8:1::1, HQ-R1 is 2001:db8:1::11).
SD-WAN: organization-name TRX-LAB-EI, vBond 192.0.2.20. System IPs: SDW-HQ 1.1.1.100 (site 100), SDW-BR3 1.1.1.3 (site 300), SDW-BR4 1.1.1.4 (site 400). Service VPNs: 10 (office), 20 (PCI, POS terminals), 30 (guest). Warehouse LANs: BR3 10.43.10.0/24, 10.43.20.0/24, 10.43.30.0/24. BR4 10.44.10.0/24, 10.44.20.0/24, 10.44.30.0/24. The PCI servers at headquarters are on 10.1.120.0/24, directly attached to SDW-HQ Gi5 (VPN 20).
SD-Access Building B: fabric site HN-BLDG-B, IS-IS underlay built by LAN automation, FB-BCP Lo0 10.2.255.1, FB-EDGE Lo0 10.2.255.2. VN CORP (pool 10.2.10.0/24) and IOT (pool 10.2.50.0/24). The fabric uses AS 65002 and CORE1 acts as fusion device in AS 65003.
DOO routing domains, two OSPF areas at headquarters, EIGRP over DMVPN, eBGP over the MPLS L3VPN and DMVPN, OMP for SD-WANOSPF 1 area 0, OSPFv3OSPF area 10 NSSAeBGP over L3VPN (VRF TRX)EIGRP 100 and eBGP over Tunnel100OMP (SD-WAN), VPN 10, 20, 30DC, AS 65020CORE1ABR, RPCORE2ABRHQ-R1ASBR, BGPHQ-R2ASBR, BGP, EIGRPSDW-HQOSPF <-> OMPMPLS L3VPNAS 65100BR1EIGRP stubBR2EIGRP stubDC-R1DC-R2BGP over tunnelSDW-BR3SDW-BR4eBGPeBGPbackup eBGPiBGPiBGP
DOO routing domains, two OSPF areas at headquarters, EIGRP over DMVPN, eBGP over the MPLS L3VPN and DMVPN, OMP for SD-WAN
OSPF process 1: area 0 contains all links between CORE1, CORE2, HQ-R1 and HQ-R2, plus the SVIs. Area 10 is an NSSA containing L6 and L7 to SDW-HQ (VPN 10 on SDW-HQ).
HQ-R1 and HQ-R2 are ASBRs: they redistribute BGP (DC) and EIGRP (branches) into OSPF. SDW-HQ is the ASBR of area 10: it redistributes OMP into OSPF.
DC-R1 and DC-R2 run OSPF 1 area 0 on L13 and the DC LANs (preconfigured and correct).
All devices have a hostname, IPv4 addresses on physical links and loopbacks as listed above, user admin with password Trx@2026 at privilege 15, and SSH enabled. The Catalyst 9000 switches already have the VLANs, SVIs and Layer 3 links. Part of the OSPF, LDP, DMVPN and SD-WAN configuration is in place and intentionally contains faults. The SD-WAN controllers are fully deployed, certificates are installed, and the device list (serial numbers) has been uploaded to vManage.
The NOC reports that Po1 between CORE1 and CORE2 is down, hosts in VLAN 20 on ACC1 intermittently lose their gateway, and CDP on ACC2 reports a native VLAN mismatch.
Configure Po1 between CORE1 and CORE2 (Gi1/0/1 and Gi1/0/2 on both sides) to use LACP, with both sides actively negotiating.
Ensure that every trunk at headquarters (Po1 and the four uplinks from ACC1 and ACC2) carries only VLANs 10, 20, 30 and 99. The native VLAN must be 999. Disable DTP.
VLAN 1 must not be used for any user traffic.
Initial configuration excerpt:
CORE1# show run interface Gi1/0/1
interface GigabitEthernet1/0/1
switchport mode trunk
channel-group 1 mode active
CORE2# show run interface Gi1/0/1
interface GigabitEthernet1/0/1
switchport mode trunk
channel-group 1 mode on
ACC1# show run interface Gi1/0/2
interface GigabitEthernet1/0/2
description to CORE2
switchport trunk native vlan 999
switchport trunk allowed vlan 10,30,99
switchport mode trunk
Show solution
There are three faults. CORE2 uses mode on (static EtherChannel) while CORE1 runs LACP, so the bundle does not come up. ACC1 Gi1/0/2 is missing VLAN 20 on the trunk to CORE2, so when CORE2 is the HSRP active router for VLAN 20 (task t03) the IP phones lose their gateway. ACC2 does not have native VLAN 999 on one side.
Changing the mode on CORE2 requires removing and re-adding the channel group:
CORE2(config)# interface range GigabitEthernet1/0/1 - 2
CORE2(config-if-range)# no channel-group 1
CORE2(config-if-range)# channel-group 1 mode active
Consistent trunk configuration on both cores for Po1 and on the four uplinks of ACC1 and ACC2 (the core downlinks to the access switches are configured the same way):
Trap: the member interface configuration must match the port channel, otherwise the ports are suspended. Native VLAN 999 has no SVI and no hosts, which is how "VLAN 1 is not used" is achieved. You can add vlan dot1q tag native to tag the native VLAN as well, but it must be done on every switch on the trunk.
Verification:
show etherchannel summary ! Po1(SU), Gi1/0/1(P) Gi1/0/2(P)
show lacp neighbor
show interfaces trunk ! native 999, allowed 10,20,30,99 on every trunk
show cdp neighbors detail | include Native
Task 2
MST at headquarters
3 points
Run MST on CORE1, CORE2, ACC1 and ACC2. Region TRX, revision 1. Instance 1 contains VLANs 10 and 30, instance 2 contains VLANs 20 and 99. All other VLANs remain in the IST.
CORE1 must be the root for the IST and instance 1, CORE2 must be the root for instance 2. Each core is the backup root for the other instances. Do not use the root primary macro.
User ports on ACC1 and ACC2 (Gi1/0/5 to Gi1/0/24) must move to forwarding immediately and must be err-disabled if a BPDU is received.
The core ports facing the access switches must never become root ports.
Show solution
All switches must share the same region name, revision and VLAN mapping. A single difference puts that switch in its own region, falling back to compatibility mode and losing per-instance load sharing.
ACC1(config)# interface range GigabitEthernet1/0/5 - 24
ACC1(config-if-range)# spanning-tree portfast
ACC1(config-if-range)# spanning-tree bpduguard enable
!
CORE1(config)# interface range GigabitEthernet1/0/4 - 5 ! downlinks to ACC1, ACC2
CORE1(config-if-range)# spanning-tree guard root
Trap: guard root goes on the core ports facing down, not on the access uplinks. With MST, root guard acts per port for every instance. If an access switch has a lower priority (misconfiguration), the port goes root-inconsistent instead of changing the root.
Verification:
show spanning-tree mst configuration digest ! same digest on all 4 switches
show spanning-tree mst 1 ! CORE1 is root
show spanning-tree mst 2 ! CORE2 is root
show spanning-tree inconsistentports
Task 3
Dual-stack HSRP with tracking
3 points
Use HSRP version 2 for VLANs 10, 20, 30 and 99, with the VIP at .1 of each subnet. CORE1 is active for VLANs 10 and 30 (matching instance 1), CORE2 is active for VLANs 20 and 99.
VLANs 10 and 30 also need an IPv6 gateway using HSRP, with the virtual address derived automatically from the link-local address.
If the active core loses both uplinks to HQ-R1 and HQ-R2, the other core must become active within 3 seconds. When the uplinks recover, the original core must take the role back.
Authenticate HSRP using MD5 with key string TrxHsrp.
Show solution
Tracking "both uplinks lost" uses a boolean or track list: the object only goes down when every member is down.
CORE2 is configured the same way with priority 100 for VLANs 10 and 30 and priority 110 plus tracking for VLANs 20 and 99.
Trap: the IPv4 and IPv6 groups need different group numbers on the same interface. Priority 110 minus 20 gives 90, lower than the other core's 100, so failover happens. The 250/750 ms timers give sub-second failover, within the 3-second requirement. preempt delay lets OSPF converge before the role is taken back. The IPv6 gateway also needs router advertisements: HSRP for IPv6 sends RAs with the virtual address automatically.
Verification:
show standby brief
show standby vlan 10
show track 10
! Test: shut down Gi1/0/10 and Gi1/0/11 on CORE1, VLAN 10 moves to CORE2
Task 4
Troubleshoot: HQ OSPF
4 points
OSPF process 1 must use Loopback0 as router ID. Area 0 contains L1 to L5, Loopback0 and the SVIs. Area 10 is an NSSA containing L6 and L7.
All /30 links must run as point-to-point. Adjacencies must only form on links between routers.
Authenticate area 0 using HMAC-SHA-256, key chain OSPF-KC, key 1, key string TrxOspf256.
Currently CORE2 and HQ-R1 are stuck in EXSTART, and HQ-R2 is FULL with CORE2 but HQ-R2 has no routes learned from CORE2. Find and fix the problems.
Show solution
Two pre-seeded faults: HQ-R1 Gi3 has ip mtu 1400 while CORE2 uses 1500, so the DBD exchange stops at EXSTART/EXCHANGE. HQ-R2 Gi2 has ip ospf network point-to-point while CORE2 Gi1/0/10 is broadcast. Both sides use a 10-second hello so the adjacency reaches FULL, but the type 1 LSAs on each side describe the link differently (one as a transit network requiring a DR, one as point-to-point), the two-way check in SPF fails and no routes are installed.
Fix the MTU (or temporarily use ip ospf mtu-ignore, but fixing the MTU addresses the root cause):
HQ-R1(config)# interface GigabitEthernet3
HQ-R1(config-if)# no ip mtu 1400
Common configuration (sample from CORE1, the other routers are similar):
key chain OSPF-KC
key 1
key-string TrxOspf256
cryptographic-algorithm hmac-sha-256
!
router ospf 1
router-id 10.1.255.1
passive-interface default
no passive-interface GigabitEthernet1/0/3
no passive-interface GigabitEthernet1/0/10
no passive-interface GigabitEthernet1/0/11
no passive-interface GigabitEthernet1/0/12
area 10 nssa
!
interface range GigabitEthernet1/0/3, GigabitEthernet1/0/10 - 11
ip ospf 1 area 0
ip ospf network point-to-point
ip ospf authentication key-chain OSPF-KC
interface GigabitEthernet1/0/12
ip ospf 1 area 10
ip ospf network point-to-point
interface Loopback0
ip ospf 1 area 0
interface range Vlan10, Vlan20, Vlan30, Vlan99
ip ospf 1 area 0
Trap: authentication here is per interface on the area 0 links and is not enabled on L6 and L7, because the task only asks for area 0 (enabling it there also violates the requirement). Every router in area 10 needs area 10 nssa, otherwise the N bit in the hello does not match and no adjacency forms. passive-interface default keeps the SVIs and loopbacks from sending hellos.
Verification:
show ip ospf neighbor ! every neighbor FULL/ -
show ip ospf interface brief ! P2P on /30 links
show ip ospf interface Gi1/0/10 | include authentication|key
show ip route ospf
debug ip ospf adj ! only if you need to see MTU or authentication errors
Task 5
OSPFv3 for IPv6
3 points
Run OSPFv3 using the IPv6 address family on CORE1, CORE2, HQ-R1 and HQ-R2, area 0, with the same router ID as OSPFv2.
The links between devices must use link-local addresses only. Do not configure global IPv6 addresses on L1 to L5.
Advertise Loopback0, VLAN 10 and VLAN 30. HQ-R1 must be able to ping the CORE1 VLAN 10 address 2001:db8:1:10::2.
Show solution
ipv6 unicast-routing
!
router ospfv3 1
router-id 10.1.255.1
address-family ipv6 unicast
passive-interface default
no passive-interface GigabitEthernet1/0/3
no passive-interface GigabitEthernet1/0/10
no passive-interface GigabitEthernet1/0/11
exit-address-family
!
interface range GigabitEthernet1/0/3, GigabitEthernet1/0/10 - 11
ipv6 enable
ospfv3 1 ipv6 area 0
ospfv3 network point-to-point
interface Loopback0
ipv6 address 2001:DB8:1::1/128
ospfv3 1 ipv6 area 0
interface range Vlan10, Vlan30
ospfv3 1 ipv6 area 0
Trap: ipv6 enable creates a link-local address without a global address, and OSPFv3 runs entirely on link-local addresses. On Catalyst 9000, forgetting ipv6 unicast-routing means the switch does not route IPv6 even though OSPFv3 neighbors come up. OSPFv3 authentication, if required, uses IPsec (ospfv3 authentication ipsec spi ...). The task does not require it.
Verification:
show ospfv3 neighbor
show ipv6 route ospf
ping 2001:DB8:1:10::2 source Loopback0
Task 6
EIGRP named mode over DMVPN
3 points
Related: requires Tunnel100 from task t13.
HQ-R2, BR1 and BR2 run EIGRP named mode TRX, AS 100, on Tunnel100 and the branch LANs. DC-R2 does not run EIGRP.
The branches are stubs and advertise connected networks only.
The hub must send only two routes to the branches: the default route 0.0.0.0/0 and 10.0.0.0/8.
Use a 5-second hello and 15-second hold time on the tunnel. Authenticate with HMAC-SHA-256 using TrxEigrp.
Trap: the summary creates a Null0 route on the hub with AD 5. With a 0.0.0.0/0 summary, when HQ-R2's static default route (AD 1, task t24) is removed because the Internet is down, the AD 5 Null0 route overrides the OSPF default from HQ-R1 (AD 110) and HQ-R2 becomes a black hole. Avoid this by giving the default summary a high AD. Classic mode has ip summary-address eigrp 100 0.0.0.0 0.0.0.0 250, named mode uses summary-metric ... distance under topology base. With DMVPN phase 3, summarization at the hub still lets spokes talk directly thanks to NHRP redirect and shortcut (t13).
show eigrp address-family ipv4 neighbors
BR1# show ip route eigrp ! only 0.0.0.0/0 and 10.0.0.0/8
HQ-R2# show ip route 0.0.0.0 ! still the real default, not Null0
show eigrp address-family ipv4 interfaces detail Tunnel100
Task 7
Redistribution into OSPF
4 points
Related: t04, t06, t08.
HQ-R2 must redistribute EIGRP into OSPF, only the branch LANs (not the tunnel subnet), as a single summary 10.20.0.0/14, type E1, tag 100.
HQ-R1 and HQ-R2 must redistribute the DC BGP route (10.30.0.0/16) into OSPF as type E1 with tag 65020. While the L3VPN path is healthy, every OSPF router at headquarters must reach the DC through HQ-R1. When the L3VPN fails, traffic must move to HQ-R2 without manual intervention.
Do not redistribute OSPF into BGP.
Show solution
HQ-R2:
ip prefix-list BR-LAN seq 10 permit 10.21.0.0/16 le 24
ip prefix-list BR-LAN seq 20 permit 10.22.0.0/16 le 24
route-map EIGRP-TO-OSPF permit 10
match ip address prefix-list BR-LAN
set metric-type type-1
set tag 100
!
ip prefix-list DC seq 10 permit 10.30.0.0/16
route-map BGP-TO-OSPF permit 10
match ip address prefix-list DC
set metric-type type-1
set tag 65020
!
router ospf 1
redistribute eigrp 100 route-map EIGRP-TO-OSPF
redistribute bgp 65001 route-map BGP-TO-OSPF
summary-address 10.20.0.0 255.252.0.0 tag 100
HQ-R1 only needs the BGP part.
The main trap is in item 2: while the L3VPN is healthy, HQ-R2 learns 10.30.0.0/16 from HQ-R1 over iBGP (local preference 200 in t08) and selects that iBGP route. By default IOS does not redistribute iBGP routes into an IGP, so only HQ-R1 injects the DC route into OSPF, exactly as required. When the L3VPN fails, HQ-R2's best path becomes the eBGP route over DMVPN and HQ-R2 redistributes it automatically. Do not add bgp redistribute-internal: HQ-R2 would then also inject the iBGP route into OSPF, and if the next hop resolves through OSPF this can create a loop.
The tag on the summary must be set in summary-address itself, the tags of the component routes are not inherited by the summary.
Verification:
CORE1# show ip route 10.20.0.0 255.252.0.0 ! O E1, tag 100
CORE1# show ip route 10.30.0.0 ! O E1 via HQ-R1, tag 65020
CORE1# show ip ospf database external 10.30.0.0
! Test: shut down HQ-R1 Gi1, the DC route moves to HQ-R2
Task 8
HQ and DC BGP
4 points
Related: t12 (PE-CE), t13 (tunnel).
HQ-R1 and HQ-R2 run iBGP in AS 65001 using Loopback0. DC-R1 and DC-R2 run iBGP in AS 65020 using Loopback0.
eBGP over DMVPN: HQ-R2 (10.100.0.1) with DC-R2 (10.100.0.32). The eBGP sessions with PE1 and PE2 belong to task t12.
Headquarters advertises a single route 10.1.0.0/16, the DC advertises a single route 10.30.0.0/16.
Ensure that traffic between headquarters and the DC uses the L3VPN in both directions. DMVPN must only be used when the L3VPN is down. Do not use MED.
Show solution
HQ-R1 (network ... mask requires an exact match in the RIB, so create a Null0 route for the aggregate):
The DC side is symmetric: DC-R1 sets local preference 200 on routes received from PE2, and DC-R2 prepends toward HQ-R2.
Trap: over the L3VPN, the DC route arrives at headquarters with AS path 65100 65020, over DMVPN it is only 65020. Without local preference, headquarters prefers DMVPN because of the shorter AS path. The same applies toward the DC, so the DC side must be done as well. Prepending on HQ-R2 makes the DC choose correctly even before it sets local preference, and shows every other AS that the backup path is worse. The Null0 route for the aggregate does not black-hole traffic because the more specific routes are always preferred. The eBGP session over DMVPN is one hop, so ebgp-multihop is not needed.
Verification:
show bgp ipv4 unicast summary
show bgp ipv4 unicast 10.30.0.0 ! best via 172.16.11.1, LocPrf 200
DC-R1# show bgp ipv4 unicast 10.1.0.0
traceroute 10.30.10.1 source Loopback0
Task 9
Multicast at headquarters
3 points
Enable multicast on CORE1, CORE2, HQ-R1 and HQ-R2. Run PIM sparse mode on L1 to L5, VLAN 10 and VLAN 30.
The RP for 239.10.0.0/16 must be learned through BSR. The RP candidates are Loopback1 on CORE1 (10.1.255.101/32, preferred) and Loopback1 on CORE2 (10.1.255.102/32, backup). CORE1 and CORE2 are both BSR candidates.
The 232.0.0.0/8 range runs SSM. Hosts in VLAN 10 must receive the (10.1.30.50, 232.1.1.1) stream from a camera in VLAN 30.
HQ-R1 and HQ-R2 must only accept joins for 239.10.0.0/16 when the RP is one of the two addresses above.
Show solution
CORE1 (CORE2 is similar with Loopback1 10.1.255.102 and a worse priority):
ip multicast-routing
!
interface Loopback1
ip address 10.1.255.101 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface range GigabitEthernet1/0/3, GigabitEthernet1/0/10 - 11, Vlan10, Vlan30
ip pim sparse-mode
interface Vlan10
ip igmp version 3
!
ip access-list standard RP-RANGE
permit 239.10.0.0 0.0.255.255
ip pim rp-candidate Loopback1 group-list RP-RANGE priority 10
ip pim bsr-candidate Loopback1 0 200
ip pim ssm default
CORE2 uses priority 20 (for RP candidates, the lower value is preferred) and bsr-candidate ... 0 100.
HQ-R1 and HQ-R2: ip multicast-routing, ip pim sparse-mode on the links to the cores, ip pim ssm default, and accept only the two valid RPs for the range:
ip access-list standard RP-RANGE
permit 239.10.0.0 0.0.255.255
ip pim accept-rp 10.1.255.101 RP-RANGE
ip pim accept-rp 10.1.255.102 RP-RANGE
Trap: with BSR, the RP candidate priority prefers the lower value, while the BSR candidate priority prefers the higher value, and they are easy to swap. SSM requires IGMPv3 on the receiver side, so VLAN 10 needs ip igmp version 3. On Catalyst 9000, IGMP snooping is enabled by default and needs no extra configuration. Loopback1 must be in OSPF for the RPF check toward the RP.
Verification:
show ip pim rp mapping ! 239.10.0.0/16 -> 10.1.255.101, learned via BSR
show ip pim bsr-router
show ip mroute 232.1.1.1 ! (10.1.30.50, 232.1.1.1) with Vlan10 in the OIL
show ip igmp groups Vlan10
Section 2. Transport: MPLS, L3VPN, DMVPN15 points
Task 10
Troubleshoot: LDP in the carrier core
3 points
The carrier core (PE1, P1, PE2) already runs OSPF 100 area 0 on L10, L11 and the loopbacks.
Enable MPLS LDP on L10 and L11. The LDP router ID must be Loopback0 on each router.
Allocate labels only for /32 loopbacks, not for link subnets.
PE1 and P1 currently do not establish an LDP session even though show mpls interfaces shows LDP running. Find and fix the problem.
Ensure that traceroute mpls ipv4 10.200.255.2/32 from PE1 succeeds.
Show solution
Pre-seeded fault: P1 does not advertise Loopback0 into OSPF 100. LDP hellos (UDP 646, multicast) are still exchanged on the link so LDP discovery sees the neighbor, but the TCP session must be opened to the transport address, which defaults to the LDP router ID (P1 Loopback0). PE1 has no route to 10.200.255.3, so TCP never comes up.
P1(config)# interface Loopback0
P1(config-if)# ip ospf 100 area 0
Configuration on all three routers:
mpls label protocol ldp
mpls ldp router-id Loopback0 force
ip access-list standard LOOPBACKS
permit 10.200.255.0 0.0.0.255
no mpls ldp advertise-labels
mpls ldp advertise-labels for LOOPBACKS
!
interface GigabitEthernet1
mpls ip
Trap: you need no mpls ldp advertise-labels followed by advertise-labels for <acl> to actually restrict advertisement. Adding only the for line without disabling the default still advertises every prefix. Another option on IOS-XE is mpls ldp label with allocate global host-routes, which gives a similar result (labels only for /32s). force changes the router ID immediately, and existing LDP sessions restart.
Verification:
show mpls ldp discovery detail ! transport address 10.200.255.3
show mpls ldp neighbor
show mpls forwarding-table ! only /32 entries
traceroute mpls ipv4 10.200.255.2/32
Task 11
Troubleshoot: VRF and MP-BGP VPNv4
4 points
On PE1 and PE2 create VRF TRX, RD 65100:10, route target import and export 65100:10. Assign Gi2 on PE1 and PE2 to the VRF.
PE1 and PE2 run iBGP in AS 65100 using Loopback0 and exchange VPNv4 only. P1 does not run BGP.
The DC routes already reach PE1, but the headquarters routes are missing from the VRF on PE2. Find and fix the problem.
Show solution
Pre-seeded fault: the VRF on PE2 imports the wrong RT 65100:100. The headquarters routes are exported by PE1 with RT 65100:10, and PE2 does not import them, so they never enter the VRF table even though they are received in the VPNv4 table (received and then dropped).
Trap: applying vrf forwarding removes the IP address from the interface, so it must be configured again. send-community extended is required so that the RTs travel with the routes (recent IOS-XE adds it automatically when VPNv4 is activated, but always verify). After fixing the RT, clear bgp vpnv4 unicast * soft in may be needed for PE2 to re-evaluate.
Verification:
show bgp vpnv4 unicast all summary
show bgp vpnv4 unicast vrf TRX
show ip route vrf TRX
show bgp vpnv4 unicast all 10.1.0.0/16 ! Extended Community: RT:65100:10
Task 12
PE-CE sessions
4 points
Related: t08, t11.
PE1 runs eBGP with HQ-R1 in VRF TRX, and PE2 runs eBGP with DC-R1. The CEs use the link addresses (L9, L12).
BFD with a 300 ms interval and multiplier 3 on both PE-CE sessions. BGP must go down as soon as BFD reports a failure.
PE1 must only accept prefixes within 10.1.0.0/16 with a length up to /24 from HQ-R1. PE2 does the same for the DC with 10.30.0.0/16.
Each PE-CE session accepts at most 100 prefixes. When the limit is exceeded, the session must recover automatically after 5 minutes.
Trap: BFD must be configured both on the interface (bfd interval) and in BGP (fall-over bfd), missing either one means no BFD session. On the PE, the PE-CE session lives under address-family ipv4 vrf, not at the global BGP level. maximum-prefix ... restart 5 is in minutes. The inbound prefix list needs le 24: with only permit 10.1.0.0/16 the more specific prefixes are blocked.
Verification:
show bfd neighbors details
show bgp vpnv4 unicast vrf TRX summary
show bgp vpnv4 unicast vrf TRX neighbors 172.16.11.2 | include Maximum|BFD
HQ-R1# show bgp ipv4 unicast 10.30.0.0 ! AS path 65100 65020
Task 13
Troubleshoot: DMVPN phase 3 with IPsec
4 points
HQ-R2 is the hub, BR1, BR2 and DC-R2 are spokes. Tunnel100 uses Gi1 as source, tunnel key 100, NHRP network ID 100, NHRP authentication TrxNhrp.
Protect the tunnel with IPsec using IKEv2 with pre-shared key TrxIke!26, ESP AES-GCM 256, transport mode.
Run phase 3: traffic from BR1 to BR2 must go directly after the first few packets.
Avoid fragmentation for TCP: IP MTU 1400, MSS 1360.
BR2 currently cannot register with the hub even though the IKEv2 SA is up. Find and fix the problem.
Show solution
Pre-seeded fault: BR2 has tunnel key 1000. IPsec still builds the SA (IKE does not care about the GRE key), but the hub drops GRE packets with a different key, so BR2's NHRP registration never arrives. Change it to tunnel key 100.
IKEv2 and IPsec (identical on every router):
crypto ikev2 keyring DMVPN-KR
peer ANY
address 0.0.0.0 0.0.0.0
pre-shared-key TrxIke!26
crypto ikev2 profile DMVPN-IKEV2
match identity remote address 0.0.0.0
authentication remote pre-share
authentication local pre-share
keyring local DMVPN-KR
crypto ipsec transform-set TS-GCM esp-gcm 256
mode transport
crypto ipsec profile DMVPN-IPSEC
set transform-set TS-GCM
set ikev2-profile DMVPN-IKEV2
Hub HQ-R2:
interface Tunnel100
ip address 10.100.0.1 255.255.255.0
ip mtu 1400
ip tcp adjust-mss 1360
ip nhrp authentication TrxNhrp
ip nhrp network-id 100
ip nhrp map multicast dynamic
ip nhrp redirect
tunnel source GigabitEthernet1
tunnel mode gre multipoint
tunnel key 100
tunnel protection ipsec profile DMVPN-IPSEC
Spoke BR1 (BR2 and DC-R2 are similar with their own addresses):
interface Tunnel100
ip address 10.100.0.21 255.255.255.0
ip mtu 1400
ip tcp adjust-mss 1360
ip nhrp authentication TrxNhrp
ip nhrp network-id 100
ip nhrp nhs 10.100.0.1 nbma 203.0.113.2 multicast
ip nhrp shortcut
tunnel source GigabitEthernet1
tunnel mode gre multipoint
tunnel key 100
tunnel protection ipsec profile DMVPN-IPSEC
Trap: phase 3 needs bothip nhrp redirect on the hub and ip nhrp shortcut on the spokes. Spokes use gre multipoint to build tunnels to other spokes. The NHRP authentication string is limited to 8 characters. The network ID is only locally significant, but keep it identical for readability. Spokes need a default route toward the Internet (Gi1) to reach the hub NBMA address and those of other spokes.
Verification:
show dmvpn
show ip nhrp
show crypto ikev2 sa
show crypto ipsec sa | include peer|encaps|decaps
BR1# traceroute 10.22.10.1 source GigabitEthernet2 ! first via 10.100.0.1, then directly via 10.100.0.22
BR1# show ip route next-hop-override ! NHRP shortcut routes
Section 3. SD-WAN and SD-Access25 points
Task 14
Troubleshoot: onboarding the cEdges
4 points
SDW-HQ, SDW-BR3 and SDW-BR4 must have control connections to vManage and vSmart over both colors, biz-internet (Gi1) and lte (Gi2).
System parameters follow the addressing table. The lte color is a backup path, used only when biz-internet is down.
SDW-BR4 currently has no control connections at all, and show sdwan control connection-history reports an error related to the organization name. SDW-BR3 has connections over biz-internet but none over lte.
Show solution
Two pre-seeded faults: SDW-BR4 has organization-name TRX-LAB-El (lowercase l instead of capital I), which does not match the controller certificates. SDW-BR3 is missing tunnel-interface under Gi2, so Gi2 is not a TLOC.
System and tunnel configuration (in vManage these are the System and VPN 0 Interface feature templates, below is the equivalent CLI generated on the cEdge, for example SDW-BR4):
system
system-ip 1.1.1.4
site-id 400
organization-name TRX-LAB-EI
vbond 192.0.2.20
!
interface GigabitEthernet1
ip address 203.0.113.26 255.255.255.252
interface GigabitEthernet2
ip address 198.51.100.14 255.255.255.252
ip route 0.0.0.0 0.0.0.0 203.0.113.25
ip route 0.0.0.0 0.0.0.0 198.51.100.13
!
sdwan
interface GigabitEthernet1
tunnel-interface
encapsulation ipsec
color biz-internet
allow-service dhcp
allow-service dns
allow-service icmp
allow-service netconf
allow-service sshd
interface GigabitEthernet2
tunnel-interface
encapsulation ipsec
color lte
last-resort-circuit
Trap: the organization name must match character for character and is case sensitive. When changing the organization name on a cEdge that is already configured, edit it in the template (the device is managed by vManage), or, if the device cannot join yet, fix it in the CLI and let the template overwrite it later. Also check the clock: a wrong time breaks certificate validation as well. The task requires control connections "over both colors", so do not set max-control-connections 0 on lte.
Verification:
show sdwan control local-properties ! organization-name, system-ip, site-id
show sdwan control connections ! vsmart, vmanage over both biz-internet and lte
show sdwan control connection-history ! error code of previous attempts
show sdwan bfd sessions
show clock
Task 15
Templates and service VPNs
4 points
Related: t04 (area 10), t14.
Use feature templates and device templates in vManage. Both warehouses share one device template, with the differences (addresses, system IP, site ID) as variables.
At the warehouses: VPN 10 on Gi3, VPN 20 on Gi4, VPN 30 on Gi5, with the gateway at .1 of each subnet from the addressing table. VPN 30 provides DHCP to guests (.100 to .200), DNS 192.0.2.53.
On SDW-HQ: VPN 10 on Gi3 and Gi4 runs OSPF area 10 NSSA with CORE1 and CORE2. VPN 20 on Gi5 (10.1.120.1/24).
All connected networks in the service VPNs must be advertised into OMP.
Show solution
In vManage: create Cisco VPN feature templates for VPNs 10, 20 and 30, Cisco VPN Interface Ethernet templates for each LAN, a Cisco DHCP Server template for VPN 30 and a Cisco OSPF template for VPN 10 on SDW-HQ. Attach them to device templates DT-WH (for BR3 and BR4) and DT-HQ. Set addresses, system IP, site ID and hostname to Device Specific and fill them in with a CSV file when attaching the template.
router ospf 10 vrf 10
router-id 1.1.1.100
area 10 nssa
interface GigabitEthernet3
vrf forwarding 10
ip address 10.1.0.22 255.255.255.252
ip ospf 10 area 10
ip ospf network point-to-point
interface GigabitEthernet4
vrf forwarding 10
ip address 10.1.0.26 255.255.255.252
ip ospf 10 area 10
ip ospf network point-to-point
Trap: OSPF on SDW-HQ must be point-to-point and NSSA to match t04, otherwise there is no adjacency (N bit) or there is a network type mismatch like the fault in t04. When attaching a device template, vManage checks that every variable has a value, one empty field blocks the push. A template that changes VPN 0 connectivity can drop the connection, and vManage rolls back automatically after the rollback timer.
Verification:
show sdwan omp routes vpn 10
show ip route vrf 10
show ip ospf neighbor ! on SDW-HQ, two FULL neighbors
show ip dhcp binding vrf 30
Task 16
VPN 20 through headquarters
4 points
Related: t15.
VPN 10: the warehouses talk directly to each other (full mesh).
VPN 20 (PCI): traffic between the two warehouses and from the warehouses to the PCI servers must go through SDW-HQ. The warehouses must not have any VPN 20 route pointing directly to the other warehouse.
Use a single centralized control policy. Do not modify the cEdge templates.
Show solution
Policy on vSmart (vManage: Configuration > Policies > Centralized Policy, Custom Control). The CLI policy received by vSmart:
vSmart rewrites the next hop (TLOC) of VPN 20 routes originated by the warehouses before sending them to the warehouses, replacing it with the TLOCs of SDW-HQ. SDW-HQ still receives the original routes (the policy is only applied outbound to site list WH), so it knows how to reach the destination warehouse.
Trap: do not reject the warehouse TLOCs to build hub-and-spoke, because that also removes the tunnel between the warehouses for VPN 10, against requirement 1. The policy is applied out to site list WH, not to site 100. The policy must be activated in vManage, and vSmart must be in vManage mode (a template is attached to vSmart) to receive it.
Verification:
SDW-BR3# show sdwan omp routes vpn 20 ! 10.44.20.0/24 with TLOC 1.1.1.100
SDW-BR3# show sdwan omp routes vpn 10 ! 10.44.10.0/24 with TLOC 1.1.1.4
SDW-BR3# traceroute vrf 20 10.44.20.1
vSmart# show running-config policy
vSmart# show omp routes vpn 20 advertised
Task 17
App-aware routing for voice
4 points
Related: t14, t16.
In VPN 10, traffic with DSCP 46 must use biz-internet while that path meets: loss below 1%, latency below 150 ms, jitter below 30 ms.
When biz-internet does not meet the SLA, move to lte. If no path meets the SLA, keep using biz-internet rather than dropping traffic.
Measure the SLA over a 2-minute poll interval with 6 buckets.
Trap: lte on the cEdges is a last-resort-circuit (t14), so BFD tunnels over lte only come up when biz-internet is completely down. When biz-internet merely misses the SLA without failing, AAR has no lte path to move to. For item 2 to work as intended you must remove last-resort-circuit and reduce 4G usage another way (for example a data policy, or AAR that moves only voice to lte). This is the kind of cross-dependency graders like to check: document your choice. The solution keeps last-resort-circuit from t14 and accepts that AAR moves traffic when biz-internet fails. backup-sla-preferred-color is the path used when no path meets the SLA. The poll interval is in milliseconds.
Verification:
show sdwan app-route sla-class
show sdwan app-route stats
show sdwan policy from-vsmart app-route-policy
show sdwan bfd sessions
Task 18
Local Internet breakout for guests
3 points
Related: t15.
VPN 30 at both warehouses must reach the Internet locally through biz-internet (DIA), with NAT to the interface address.
Guests must not reach any RFC 1918 address, including across the overlay.
If NAT on biz-internet is unavailable, guests may go through the overlay to headquarters (fallback).
Show solution
Enable NAT on the transport interface (VPN 0 Interface feature template, NAT section, Interface type). Generated CLI:
interface GigabitEthernet1
ip nat outside
ip nat inside source list nat-dia-vpn-hop-access-list interface GigabitEthernet1 overload
Trap: sequence order matters: block RFC 1918 first, then NAT to the Internet. The from-service direction is traffic coming from the LAN into the cEdge. "nat fallback" means that when DIA NAT is unavailable, packets follow the VPN 30 routing table (through the overlay), so headquarters needs an Internet path for VPN 30 if the fallback is to work in practice.
Verification:
show sdwan policy from-vsmart data-policy
show ip nat translations
show sdwan policy data-policy-filter
Task 19
OMP and OSPF on SDW-HQ
3 points
Related: t04, t07, t15.
The warehouse OMP routes in VPN 10 must enter the headquarters OSPF domain with tag 200.
The warehouses must receive through OMP: the headquarters networks and a default route provided by headquarters. No specific DC or DMVPN branch routes.
Routes carrying tag 200 must not be advertised back into OMP.
Show solution
Because area 10 is an NSSA, type 5 LSAs (DC and branch routes from t07) do not enter area 10. SDW-HQ only sees the internal headquarters routes and needs a default: have CORE1 and CORE2 originate a type 7 default into area 10.
CORE1(config)# router ospf 1
CORE1(config-router)# area 10 nssa default-information-originate
advertise ospf (intra-area and inter-area routes by default) brings the headquarters networks into OMP. advertise ospf external adds the type 7 (N2) default from the two cores. The tag 200 routes are generated by SDW-HQ itself (its own type 7 LSAs), so they do not loop back into OMP. With several cEdges at headquarters, filter by tag (an OMP route policy or site-of-origin) so one cEdge does not reinject OMP routes redistributed by the other back into the overlay.
Trap: removing the NSSA, or configuring nssa no-summary without thinking, gives the warehouses either too many routes or no headquarters routes. Both cores are ABRs, and only one translates type 7 to type 5 (the higher router ID). This does not affect the requirements, but you should recognize it in the database.
Verification:
SDW-HQ# show ip route vrf 10 ospf
SDW-HQ# show sdwan omp routes vpn 10 advertised
SDW-BR3# show ip route vrf 10 ! 0.0.0.0/0 and the 10.1.x networks
CORE1# show ip ospf database nssa-external
CORE1# show ip route 10.43.10.0 ! O N2, tag 200
Task 20
SD-Access Building B
3 points
Related: t04, t21 (ISE).
In Catalyst Center: create fabric site HN-BLDG-B, add FB-BCP as control plane and border, and FB-EDGE as edge.
Create VNs CORP and IOT and assign the IP pools from the addressing table. Enable Layer 2 flooding for the IOT pool.
Border handoff with IP transit to CORE1: VLAN 3001 for CORP, VLAN 3002 for IOT, eBGP AS 65002 with CORE1 in AS 65003. CORE1 places CORP in the global routing table and keeps IOT in VRF IOT.
Hosts in VN CORP must be able to ping 10.1.99.40 (ISE).
Show solution
In Catalyst Center (2.3.7 or later): Provision > Fabric Sites > create HN-BLDG-B, select FB-BCP with the roles Control Plane Node and Border Node (internal and external, IP transit AS 65002, Layer 3 handoff VLAN 3001 for CORP and 3002 for IOT). FB-EDGE gets the Edge Node role. Create the VNs under Policy > Virtual Network, add them to the fabric, and create an Anycast Gateway for pool 10.2.10.0/24 (CORP) and 10.2.50.0/24 (IOT, with Layer 2 Flooding enabled).
Catalyst Center generates the LISP, VXLAN and BGP configuration on FB-BCP. On CORE1 (fusion) configure manually:
Trap: VN CORP is still a VRF (CORP) on the border, and placing VLAN 3001 in the global table on CORE1 is how the VRF is merged into the legacy network. The fabric underlay must reach Catalyst Center and ISE before provisioning. Layer 2 flooding requires a multicast underlay, and LAN automation builds PIM if the multicast option is selected. Pinging from a fabric host requires ISE to assign an SGT and a permitting policy: if the default is deny, it must be opened.
Verification on FB-BCP and FB-EDGE:
show lisp site ! FB-BCP, registered EIDs
show lisp instance-id * ipv4 database ! FB-EDGE
show device-tracking database
show vrf
show bgp ipv4 unicast summary ! CORE1, session with 10.1.3.2
show cts role-based permissions
Section 4. Infrastructure security and services15 points
Task 21
AAA with TACACS+
3 points
Apply to CORE1, CORE2, HQ-R1 and HQ-R2.
SSH logins must authenticate with TACACS+ (ISE 10.1.99.40, key TrxTac!26), sourced from Loopback0. If ISE does not respond, use local users.
Every privilege 15 command must be authorized by ISE and accounted.
The console must use local users only and must not be subject to TACACS+ command authorization.
Allow SSH only from VLAN 99 (10.1.99.0/24).
Show solution
aaa new-model
tacacs server ISE
address ipv4 10.1.99.40
key TrxTac!26
aaa group server tacacs+ TAC
server name ISE
ip tacacs source-interface Loopback0
!
aaa authentication login VTY group TAC local
aaa authentication login CON local
aaa authorization exec VTY group TAC local
aaa authorization commands 15 VTY group TAC local
aaa accounting commands 15 VTY start-stop group TAC
!
ip access-list standard MGMT-ONLY
permit 10.1.99.0 0.0.0.255
line con 0
login authentication CON
line vty 0 15
access-class MGMT-ONLY in
login authentication VTY
authorization exec VTY
authorization commands 15 VTY
accounting commands 15 VTY
transport input ssh
Trap: named method lists (VTY) instead of default keep the console unaffected. However NETCONF and RESTCONF (t26) use the default method lists, so add aaa authentication login default local and aaa authorization exec default local if the APIs must not depend on ISE. local after the group is only used when ISE does not respond, an ISE reject does not fall back to local. Before enabling authorization commands, keep a console or SSH session open so you do not lock yourself out.
Verification:
show tacacs
show aaa servers
test aaa group TAC admin Trx@2026 legacy
show running-config | section aaa|line vty
Task 22
Access port security
4 points
Apply to ACC1 and ACC2.
Ports Gi1/0/5 to Gi1/0/24: 802.1X authentication, falling back to MAB when the host has no supplicant. One computer (VLAN 10) and one IP phone (VLAN 20) share each port. RADIUS is ISE 10.1.99.40, key TrxRad!26.
DHCP snooping for VLANs 10 and 20. Only the uplinks to the cores are trusted. The DHCP server sits behind the cores (relay), and hosts must still obtain addresses.
Dynamic ARP Inspection for VLANs 10 and 20.
Block rogue IPv6 router advertisements from user ports.
Show solution
aaa new-model
radius server ISE
address ipv4 10.1.99.40 auth-port 1812 acct-port 1813
key TrxRad!26
aaa group server radius ISE-RAD
server name ISE
aaa authentication dot1x default group ISE-RAD
aaa authorization network default group ISE-RAD
aaa accounting dot1x default start-stop group ISE-RAD
dot1x system-auth-control
!
interface range GigabitEthernet1/0/5 - 24
switchport mode access
switchport access vlan 10
switchport voice vlan 20
authentication host-mode multi-domain
authentication order dot1x mab
authentication priority dot1x mab
authentication port-control auto
authentication periodic
mab
dot1x pae authenticator
dot1x timeout tx-period 10
spanning-tree portfast
!
ip dhcp snooping vlan 10,20
no ip dhcp snooping information option
ip dhcp snooping
ip arp inspection vlan 10,20
interface range GigabitEthernet1/0/1 - 2
ip dhcp snooping trust
ip arp inspection trust
!
ipv6 nd raguard policy HOST
device-role host
interface range GigabitEthernet1/0/5 - 24
ipv6 nd raguard attach-policy HOST
Main trap: by default the switch inserts option 82 with a giaddr of 0 when snooping is enabled, and the relay on the cores (ip helper-address) drops these packets because it does not trust option 82. Hosts then never get an address. The common fixes are no ip dhcp snooping information option on the access switches or ip dhcp relay information trust-all on the cores. multi-domain allows one host in the data domain and one in the voice domain. ISE must return device-traffic-class=voice for the phones. On IOS-XE 17.x the legacy authentication commands still work, and you can convert to IBNS 2.0 with authentication convert-to new-style (a one-way operation).
Verification:
show access-session interface Gi1/0/5 details
show ip dhcp snooping binding
show ip arp inspection statistics vlan 10
show ipv6 nd raguard policy HOST
Task 23
Control plane protection on HQ-R1
2 points
SSH to HQ-R1 is allowed only from VLAN 99, limited to 256 kbps. SSH from any other source is dropped.
BGP and OSPF are not rate limited.
ICMP to the router is limited to 64 kbps.
All other control plane traffic is limited to 512 kbps.
Show solution
ip access-list extended CP-SSH-OK
permit tcp 10.1.99.0 0.0.0.255 any eq 22
ip access-list extended CP-SSH-ALL
permit tcp any any eq 22
ip access-list extended CP-ROUTING
permit tcp any any eq bgp
permit tcp any eq bgp any
permit ospf any any
ip access-list extended CP-ICMP
permit icmp any any
!
class-map match-all CM-ROUTING
match access-group name CP-ROUTING
class-map match-all CM-SSH-OK
match access-group name CP-SSH-OK
class-map match-all CM-SSH-BAD
match access-group name CP-SSH-ALL
class-map match-all CM-ICMP
match access-group name CP-ICMP
!
policy-map PM-COPP
class CM-ROUTING
class CM-SSH-OK
police 256000 conform-action transmit exceed-action drop
class CM-SSH-BAD
drop
class CM-ICMP
police 64000 conform-action transmit exceed-action drop
class class-default
police 512000 conform-action transmit exceed-action drop
!
control-plane
service-policy input PM-COPP
Trap: class order matters: the permitted SSH class must come before the generic SSH class. A class with no action means unlimited. Setting class-default too low drops the BFD sessions (UDP 3784) from t12 because BFD falls into class-default: 512 kbps is enough for 300 ms BFD, but if you lower it further, add a dedicated BFD class.
Verification:
show policy-map control-plane
show policy-map control-plane class CM-SSH-BAD
Task 24
Backup Internet with IP SLA and NAT
3 points
Related: t06, t07, t28.
HQ-R2 is the primary Internet exit and HQ-R1 over LTE is the backup. Both perform NAT overload for 10.0.0.0/8 to their own Internet interface.
HQ-R2 monitors the primary path with ICMP to 192.0.2.53 every 10 seconds through Gi1. After 10 consecutive seconds of failure it fails over, and after 30 consecutive seconds of success it fails back.
Every OSPF router at headquarters uses the HQ-R2 default while the primary path is healthy and moves to HQ-R1 when it fails.
Show solution
HQ-R2:
ip sla 10
icmp-echo 192.0.2.53 source-interface GigabitEthernet1
frequency 10
ip sla schedule 10 life forever start-time now
track 10 ip sla 10 reachability
delay down 10 up 30
!
ip route 192.0.2.53 255.255.255.255 203.0.113.1
ip route 0.0.0.0 0.0.0.0 203.0.113.1 track 10
!
router ospf 1
default-information originate metric 10 metric-type 1
!
ip access-list standard NAT-INSIDE
permit 10.0.0.0 0.255.255.255
interface GigabitEthernet1
ip nat outside
interface range GigabitEthernet2 - 3
ip nat inside
ip nat inside source list NAT-INSIDE interface GigabitEthernet1 overload
HQ-R1:
ip route 0.0.0.0 0.0.0.0 198.51.100.1
router ospf 1
default-information originate metric 100 metric-type 1
interface GigabitEthernet4
ip nat outside
interface range GigabitEthernet2 - 3
ip nat inside
ip nat inside source list NAT-INSIDE interface GigabitEthernet4 overload
Main trap: when track 10 goes down, HQ-R2's static default is removed. Without a host route for 192.0.2.53, the probe follows the OSPF default to HQ-R1, goes out over LTE and succeeds, the track comes back up, the default returns, then fails again: the track flaps forever. The host route 192.0.2.53/32 via 203.0.113.1 (not tracked) keeps the probe on the primary path. default-information originate without always only generates a default when the RIB has a non-OSPF default, so HQ-R2 withdraws its default when the track is down. Also note the EIGRP default summary from t06 (AD 5) can take over when the static route disappears.
Verification:
show ip sla statistics 10
show track 10
CORE1# show ip route 0.0.0.0 ! O*E1 via HQ-R2
show ip nat translations
! Test: shut down the Internet port facing HQ-R2, after about 10 seconds CORE1 moves to HQ-R1
Task 25
NTP, syslog, SNMPv3, Flexible NetFlow
3 points
Apply to HQ-R2 (the other devices are similar, the grader only checks HQ-R2).
NTP to 10.1.99.10 with authentication, key 1 TrxNtp. Do not synchronize with any other source.
Syslog at informational level to 10.1.99.70, sourced from Loopback0, with millisecond timestamps.
Read-only SNMPv3, user nms, SHA authentication TrxSnmpAuth, AES 128 encryption TrxSnmpPriv, polling allowed only from 10.1.99.60. Send traps to 10.1.99.60.
Flexible NetFlow for traffic in and out of Gi1 (classic 5-tuple, input interface, byte and packet counters), exported as NetFlow v9 to 10.1.99.60 UDP 2055, active cache timeout 60 seconds.
Show solution
ntp authentication-key 1 md5 TrxNtp
ntp authenticate
ntp trusted-key 1
ntp server 10.1.99.10 key 1 source Loopback0
!
service timestamps log datetime msec localtime show-timezone
logging source-interface Loopback0
logging trap informational
logging host 10.1.99.70
!
ip access-list standard SNMP-NMS
permit 10.1.99.60
snmp-server view NMS-VIEW iso included
snmp-server group NMS v3 priv read NMS-VIEW access SNMP-NMS
snmp-server user nms NMS v3 auth sha TrxSnmpAuth priv aes 128 TrxSnmpPriv
snmp-server host 10.1.99.60 version 3 priv nms
snmp-server enable traps
!
flow record FR-TRX
match ipv4 source address
match ipv4 destination address
match ipv4 protocol
match transport source-port
match transport destination-port
match interface input
collect counter bytes long
collect counter packets long
collect timestamp absolute first
collect timestamp absolute last
flow exporter FE-NMS
destination 10.1.99.60
source Loopback0
transport udp 2055
export-protocol netflow-v9
flow monitor FM-TRX
record FR-TRX
exporter FE-NMS
cache timeout active 60
interface GigabitEthernet1
ip flow monitor FM-TRX input
ip flow monitor FM-TRX output
Trap: NTP needs all three commands, authentication-key, authenticate and trusted-key. Without trusted-key it never synchronizes. Some IOS-XE releases also offer SHA algorithms (for example hmac-sha2-256), so if SHA is mandatory, check ntp authentication-key 1 ? on the device. SNMPv3 users do not appear in the running configuration, use show snmp user. The NAT from t24 is on Gi1, so in the input direction NetFlow sees addresses already translated back to the inside addresses.
Verification:
show ntp associations detail
show ntp status
show logging | include Trap|10.1.99.70
show snmp user
show flow monitor FM-TRX cache
show flow exporter statistics
Section 5. Automation and programmability15 points
Task 26
NETCONF and RESTCONF on CORE1
3 points
Related: t21.
Enable NETCONF (port 830) and RESTCONF (HTTPS) on CORE1, authenticated with local users, without depending on ISE.
Use RESTCONF to retrieve the configuration of Gi1/0/10 using the ietf-interfaces model, in JSON.
Use RESTCONF to change the description of Gi1/0/10 to Link to HQ-R1 without touching any other configuration on the interface.
Show solution
aaa authentication login default local
aaa authorization exec default local
netconf-yang
restconf
ip http secure-server
ip http authentication local
no ip http server
Retrieve the configuration (the / in the interface name must be encoded as %2F):
Trap: NETCONF and RESTCONF use the default method lists. t21 used a named method list for the VTYs, so add default as local here so the APIs do not need ISE. The user must have privilege 15. Using PUT instead of PATCH deletes other interface attributes (for example the IP address) if they are not in the payload. A 204 No Content response means success.
Verification:
show netconf-yang status
show platform software yang-management process ! confd, nesd, nginx all running
show running-config interface Gi1/0/10
Task 27
Python: BGP state over RESTCONF
3 points
Related: t08, t26 (enable RESTCONF the same way on HQ-R1 and HQ-R2).
Write a Python 3 script using the requests library that:
Reads the router list from ROUTERS = ["10.1.255.11", "10.1.255.12"].
For each router, retrieves BGP operational data over RESTCONF (model Cisco-IOS-XE-bgp-oper) and prints a table: router, neighbor, state, received prefixes.
Exits with code 1 if any neighbor is not in the established state.
Show solution
#!/usr/bin/env python3
import sys
import requests
import urllib3
urllib3.disable_warnings()
ROUTERS = ["10.1.255.11", "10.1.255.12"]
AUTH = ("admin", "Trx@2026")
HDR = {"Accept": "application/yang-data+json"}
URL = "https://{}/restconf/data/Cisco-IOS-XE-bgp-oper:bgp-state-data/neighbors"
bad = 0
print(f"{'Router':<14}{'Neighbor':<16}{'State':<14}{'PfxRcvd':>8}")
for r in ROUTERS:
try:
resp = requests.get(URL.format(r), auth=AUTH, headers=HDR, verify=False, timeout=10)
resp.raise_for_status()
except requests.RequestException as e:
print(f"{r:<14}ERROR: {e}")
bad += 1
continue
nbrs = resp.json().get("Cisco-IOS-XE-bgp-oper:neighbors", {}).get("neighbor", [])
for n in nbrs:
state = n.get("connection", {}).get("state", "unknown")
pfx = n.get("prefix-activity", {}).get("received", {}).get("current-prefixes", 0)
print(f"{r:<14}{n.get('neighbor-id', '?'):<16}{state:<14}{pfx:>8}")
if state != "established":
bad += 1
sys.exit(1 if bad else 0)
Trap: field names in operational models change between IOS-XE releases, so pull a sample with curl first (or browse it in YANG Suite) before writing the script, and use .get() so the script does not crash on missing fields. Do not use verify=False outside a lab. You can also run the script on the device with Guest Shell (guestshell run python3 bgp.py), using the internal management address.
Verification: run the script and compare with show bgp ipv4 unicast summary on HQ-R1 and HQ-R2. Shut down the DMVPN session on DC-R2, the script must print idle or active and return 1 (echo $?).
Task 28
EEM on Internet failover
3 points
Related: t21, t24.
On HQ-R2, when track 10 goes down: log a syslog message at warnings level PRIMARY INTERNET DOWN, CLEARING NAT, then clear all dynamic NAT translations.
When track 10 comes back up: log a syslog message at notifications level PRIMARY INTERNET RESTORED.
Save the configuration every day at 23:00.
The applets must work even though commands are authorized through TACACS+ (t21).
Trap: with aaa authorization commands enabled, commands run by EEM are also sent for authorization. event manager session cli username eem binds the applets to an authorized user (local, or a user permitted on ISE). Stale NAT translations through HQ-R2 keep sessions on the failed path until they time out, so they must be cleared on failover. clear ip nat translation * does not prompt for confirmation, if a command prompts, add pattern to the action.
Verification:
show event manager policy registered
show event manager history events
show logging | include INTERNET
! Test: shut down the Internet port facing HQ-R2, after about 10 seconds the log shows PRIMARY INTERNET DOWN
! A cron applet cannot be run manually with "event manager run" (only "event none" applets can)
Task 29
Model-driven telemetry
3 points
HQ-R2 must send the 5-second CPU utilization and the Gi1 counters every 10 seconds to 10.1.99.60 port 57500, gRPC dial-out without TLS, kvGPB encoding.
Trap: update-policy periodic is in centiseconds, so 1000 is 10 seconds. Dial-out telemetry requires netconf-yang to be enabled (t26 does it on CORE1, here it must be enabled on HQ-R2). The source must have a route to the collector, and if the collector is in another VRF, add source-vrf.
Verification:
show telemetry ietf subscription 101 detail
show telemetry ietf subscription all
show telemetry connection all ! Active state toward 10.1.99.60:57500
show telemetry internal connection
Task 30
Calling the vManage API
3 points
Write a Python 3 script using the vManage REST API at https://192.0.2.10 that:
Logs in as apiuser (password read from the environment variable VMANAGE_PW) and retrieves the anti-CSRF token.
Prints the list of cEdges: hostname, system IP, site ID, reachability.
Prints the number of BFD sessions that are up for each cEdge.
Logs out when finished.
Show solution
#!/usr/bin/env python3
import os
import requests
import urllib3
urllib3.disable_warnings()
BASE = "https://192.0.2.10"
s = requests.Session()
s.verify = False
r = s.post(f"{BASE}/j_security_check",
data={"j_username": "apiuser", "j_password": os.environ["VMANAGE_PW"]})
if r.status_code != 200 or "<html" in r.text.lower():
raise SystemExit("Login failed")
s.headers["X-XSRF-TOKEN"] = s.get(f"{BASE}/dataservice/client/token").text
s.headers["Content-Type"] = "application/json"
devices = s.get(f"{BASE}/dataservice/device").json()["data"]
for d in devices:
if d.get("device-type") != "vedge":
continue
sid = d["system-ip"]
bfd = s.get(f"{BASE}/dataservice/device/bfd/sessions", params={"deviceId": sid}).json()["data"]
up = sum(1 for b in bfd if b.get("state") == "up")
print(f"{d['host-name']:<12}{sid:<12}site {d['site-id']:<6}{d['reachability']:<12}BFD up {up}")
s.get(f"{BASE}/logout")
Trap: vManage returns the HTML login page with status 200 when the password is wrong, so check the content, not only the status code. Since 19.2, every POST, PUT and DELETE requires the X-XSRF-TOKEN header. In the API, IOS-XE cEdges still have device-type set to vedge. Do not hard-code passwords in the script. Log out so the session is not kept open: vManage limits the number of concurrent sessions per user.
Verification: run the script and compare with Monitor > Devices in vManage and show sdwan bfd sessions on each cEdge.