CJCCIE Journals

How to Safely Decommission a PCI VRF: Change Plan, Backout Plan and Test Plan

Data centerNetwork securityTroubleshooting CCIE journals · November 25, 2026

Removing config is easy; removing it safely in a PCI scope is not. Here's the three-plan approach I use for every decommission.

A cardholder data environment (CDE) was being retired, and its dedicated VRF had to be removed from two switch pairs in two data centers. Deleting a VRF takes one command. Proving to change management and to auditors that you removed everything and broke nothing takes a plan.

How to Safely Decommission a PCI VRF: Change Plan, Backout Plan and Test Plan

1. Discovery: find every reference

A VRF touches far more than vrf instance:

  • SVIs / routed interfaces assigned to the VRF
  • VLANs and VXLAN VNI mappings
  • BGP VRF stanzas, route-targets and route leaking to other VRFs
  • Prefix-lists and route-maps used only by that VRF
  • Static routes, ACLs, DHCP helpers, SNMP/syslog sources
sw-dc1-01 — ssh output (lab recreation)

Before removing anything, confirm the VRF is truly idle: no learned routes, no ARP, no MAC entries, no traffic counters moving.

2. Change plan

  1. Save show running-config and state outputs (routes, ARP, BGP) as evidence.
  2. Remove route-leak imports in other VRFs first, so nothing depends on the PCI VRF.
  3. Remove BGP VRF config, then SVIs, then VLAN/VNI mappings, then the VRF itself.
  4. Clean up orphaned prefix-lists and route-maps.
  5. Do one switch of the pair at a time.

3. Backout plan

A pre-built config snippet that re-adds everything in reverse order, tested in the lab, with the expected route counts written down so you know what "restored" looks like.

4. Test plan

  • Neighboring VRFs: same route counts as the pre-change snapshot
  • BGP EVPN peers: all Established
  • MLAG: config-sanity clean
  • Sample application reachability from the remaining zones

Why this matters for PCI

Auditors want evidence that scope was reduced. The before/after outputs plus the change record are exactly what they ask for. Save them with the ticket.

Note: device names, IP addresses, AS numbers and user names in this post are pseudonyms or lab values. The problem and the fix are real.

CJ

Written by CCIE journals

Network security engineer sharing hands-on notes from the journey to CCIE.

0 Comments

Post a Comment

Ready to level up your networking career?

Meet the Author →

Welcome to my blog, dedicated to network and security engineering enthusiasts. Here, you can learn about various vendors and gain valuable insights and resources to excel in the field of network engineering!