Tools

Config reference audit

Runs in your browser. Nothing you enter is sent anywhere, and the page’s security policy stops it from contacting other sites.

Paste a full Cisco IOS-XE or NX-OS configuration. Every ACL, prefix-list, route-map, class-map, VRF and other named object is matched with the lines that use it, so you can see what is missing, what nothing uses and where an object is used before you change it.

What it reads, and what the findings mean

Findings

Missing: a line uses an object the configuration does not define. What the router does then depends on the command and the platform, so the tool only says that it is missing. Different case: the object exists, but its name is spelled with different capitals; names are case-sensitive, except interface names.Wrong kind: the name exists as another kind of list, for examplematch ip address CUSTOMERS where CUSTOMERS is a prefix-list (that line needs match ip address prefix-list CUSTOMERS).Unused: nothing in the paste uses the object. It may still be used by a line that was not pasted.

VXLAN (NX-OS): each VLAN maps to its own VNI with vn-segment; each L2 VNI is a member of the nve interface and has a vni … l2 entry underevpn; a VRF’s L3 VNI has a VLAN, an SVI, and an nve member line withassociate-vrf.

What it reads

IPv4 and IPv6 ACLs (named and numbered), prefix-lists, route-maps, AS-path and community lists, object-groups, class-maps, policy-maps, VRFs, key chains, track objects, IP SLA operations, interfaces, VLANs, VNIs, OSPF processes, and BGP peer-groups and templates. They are matched with the lines that use them: interface ACLs and policies, access-class, route-mapmatch and set lines, BGP neighbors and redistribution, PBR, NAT, SNMP and NTP ACLs, vrf member, vrf forwarding and use-vrf, source interfaces, switchport VLANs, channel-group, HSRP and static route tracking, nve members and evpn. Other lines are not read.

Removing unused objects

The commands remove, in steps, the objects nothing uses and then the objects only those used: a route-map first, then a prefix-list only that route-map used. An object is not offered when its name appears on any other line, even a description, since that line may use it in a way this tool does not read; when a line in it has a fault; or when a line refers to a missing object of the same kind, which may be a misspelling of this one. Some objects are listed to be removed by hand, where the tool has no command form it is sure of.

The commands are shown only when you confirm the paste is the whole running-config of one device: in a partial paste, objects used outside it look unused. Each step comes with the original lines, to put the objects back. Save a copy of the configuration before you change it.

Left out on purpose

Interfaces, VLANs and OSPF processes are never reported as unused: they work without any line naming them. On NX-OS the default and management VRFs exist without being defined, VLAN 1 always exists, and channel-group creates its port-channel. A VLAN allowed on a trunk but not created is a warning, not a fault.

The configuration is read in your browser, in a separate worker. It is not sent anywhere, kept on this device or put in the address bar.