CIS Cisco IOS 17 Benchmark

Secure configuration guidelines for Cisco IOS and IOS XE network devices

v2.1.0 November 2024

Overview

▶

This CIS Benchmark provides prescriptive guidance for establishing a secure configuration posture for Cisco IOS and IOS XE version 17 network devices. Recommendations span the management, control, and data planes, covering AAA, SSH, SNMP, routing protocol authentication, access lists, and service hardening.

~160Recommendations
6Sections
2Profile Levels
SectionAreaFocus
1Management PlaneAAA, authentication, banners, password policies
2Control PlaneSSH, NTP, syslog, SNMP
3Data PlaneRouting protocol auth, interface security
4Access ListsStandard and extended ACLs, VTY protection
5ServicesDisable unused services, DHCP, DNS
6IOS HardeningPassword encryption, memory protection

Profile Definitions

▶
ProfileDescriptionIntended Use
L1Level 1 — Cisco IOS Router / SwitchEssential security settings applicable to all Cisco IOS devices without significant operational impact.
L2Level 2 — Cisco IOS Router / SwitchDefense-in-depth settings that may restrict functionality or require additional planning.

1 — Management Plane

▶

1.1 Local Authentication

▶
1.1.1 Ensure 'enable secret' Is Set (Automated)
L1 Auto
Description
The enable secret command secures privileged EXEC mode access using a strong, salted hash (type 8/9 scrypt). It replaces the deprecated enable password.
Rationale

Failure to 'enable secret' Is Set may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include enable secret
Remediation
enable algorithm-type scrypt secret <STRONG_PASSWORD>
1.1.2 Ensure 'enable password' Is Not Set (Automated)
L1 Auto
Description
The enable password command stores the password with weak or no encryption (type 0/7). It should be removed in favor of enable secret.
Rationale

Failure to 'enable password' Is Not Set may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include enable password
Remediation
no enable password
1.1.3 Ensure Local User Accounts Use Scrypt Hashing (Automated)
L1 Auto
Description

This recommendation verifies that local User Accounts Use Scrypt Hashing on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to local User Accounts Use Scrypt Hashing may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include username

Verify all local accounts use algorithm-type scrypt (type 9 hash).

Remediation
username <USER> algorithm-type scrypt secret <PASSWORD>
1.1.4 Ensure Password Minimum Length Is 14+ Characters (Automated)
L1 Auto
Description

This recommendation verifies that password Minimum Length Is 14+ Characters on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to password Minimum Length Is 14+ Characters may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include security passwords
Remediation
security passwords min-length 14

1.2 AAA Services

▶
1.2.1 Ensure AAA New-Model Is Enabled (Automated)
L1 Auto
Description
The AAA new-model enables the Authentication, Authorization, and Accounting framework which provides centralized access control.
Rationale

Without AAA New-Model enabled, the Cisco IOS XE 17 network device may lack critical protections against known attack vectors. Enabling this control mitigates risk and aligns the deployment with industry-accepted security baselines.

Audit
show running-config | include aaa new-model
Remediation
aaa new-model
1.2.2 Ensure AAA Authentication for Login Is Configured (Automated)
L1 Auto
Description

This recommendation addresses the proper configuration of AAA Authentication for Login on the Cisco IOS XE 17 network device. Proper configuration ensures the component operates securely and in accordance with organizational security policies.

Rationale

Misconfiguration of AAA Authentication for Login can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | include aaa authentication login
Remediation
aaa authentication login default group tacacs+ local
aaa authentication login CONSOLE local
1.2.3 Ensure AAA Authentication for Enable Mode Is Configured (Automated)
L1 Auto
Description

This recommendation addresses the proper configuration of AAA Authentication for Enable Mode on the Cisco IOS XE 17 network device. Proper configuration ensures the component operates securely and in accordance with organizational security policies.

Rationale

Misconfiguration of AAA Authentication for Enable Mode can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | include aaa authentication enable
Remediation
aaa authentication enable default group tacacs+ enable
1.2.4 Ensure AAA Accounting for Commands Is Configured (Automated)
L1 Auto
Description

This recommendation addresses the proper configuration of AAA Accounting for Commands on the Cisco IOS XE 17 network device. Proper configuration ensures the component operates securely and in accordance with organizational security policies.

Rationale

Misconfiguration of AAA Accounting for Commands can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | include aaa accounting
Remediation
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
1.2.5 Ensure AAA Session Accounting Is Configured (Automated)
L2 Auto
Description

This recommendation addresses the proper configuration of AAA Session Accounting on the Cisco IOS XE 17 network device. Proper configuration ensures the component operates securely and in accordance with organizational security policies.

Rationale

Misconfiguration of AAA Session Accounting can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | include aaa accounting
Remediation
aaa accounting network default start-stop group tacacs+
aaa accounting connection default start-stop group tacacs+

1.3 Banner & Login

▶
1.3.1 Ensure a Login Banner Is Set (Automated)
L1 Auto
Description

This recommendation verifies that a Login Banner Is Set on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to a Login Banner Is Set may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | section banner login
Remediation
banner login ^
Authorized access only. Unauthorized access is prohibited.
All activity may be monitored and recorded.
^
1.3.2 Ensure a MOTD Banner Is Set (Automated)
L1 Auto
Description

This recommendation verifies that a MOTD Banner Is Set on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to a MOTD Banner Is Set may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | section banner motd
Remediation
banner motd ^
UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED.
^
1.3.3 Ensure Login Block-For Is Configured (Automated)
L1 Auto
Description
Prevents brute-force attacks by blocking login attempts after repeated failures.
Rationale

Misconfiguration of Login Block-For can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | include login block-for
Remediation
login block-for 120 attempts 3 within 60
1.3.4 Ensure Exec Timeout on Console Is ≤ 10 Minutes (Automated)
L1 Auto
Description

This recommendation configures the timeout for Exec on the Cisco IOS XE 17 network device. Appropriate timeout values limit the window of opportunity for attacks and ensure resources are released in a timely manner.

Rationale

Failure to exec Timeout on Console Is ≤ 10 Minutes may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | section line con 0
Remediation
line con 0
 exec-timeout 10 0

2 — Control Plane

▶

2.1 SSH Configuration

▶
2.1.1 Ensure SSH Version 2 Is Enabled (Automated)
L1 Auto
Description

This setting controls whether SSH Version 2 is enabled on the Cisco IOS XE 17 network device. Enabling this feature strengthens the security posture by enforcing the recommended configuration via IOS CLI, running-config, or Cisco DNA Center.

Rationale

Without SSH Version 2 enabled, the Cisco IOS XE 17 network device may lack critical protections against known attack vectors. Enabling this control mitigates risk and aligns the deployment with industry-accepted security baselines.

Audit
show ip ssh

Verify SSH version is 2.

Remediation
ip ssh version 2
2.1.2 Ensure SSH Timeout Is ≤ 60 Seconds (Automated)
L1 Auto
Description

This recommendation configures the timeout for SSH on the Cisco IOS XE 17 network device. Appropriate timeout values limit the window of opportunity for attacks and ensure resources are released in a timely manner.

Rationale

Failure to sSH Timeout Is ≤ 60 Seconds may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show ip ssh
# Verify: SSH timeout ≤ 60
Remediation
ip ssh time-out 60
2.1.3 Ensure SSH Authentication Retries ≤ 3 (Automated)
L1 Auto
Description

This recommendation verifies that sSH Authentication Retries ≤ 3 on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to sSH Authentication Retries ≤ 3 may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show ip ssh
Remediation
ip ssh authentication-retries 3
2.1.4 Ensure Telnet Is Disabled on VTY Lines (Automated)
L1 Auto
Description
Telnet sends data in plaintext. All remote management should use SSH only.
Rationale

Failure to telnet Is Disabled on VTY Lines may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | section line vty
Remediation
line vty 0 15
 transport input ssh
2.1.5 Ensure RSA Key Pair Size ≥ 2048 Bits (Automated)
L1 Auto
Description

This recommendation verifies that rSA Key Pair Size ≥ 2048 Bits on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to rSA Key Pair Size ≥ 2048 Bits may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show crypto key mypubkey rsa
Remediation
crypto key generate rsa modulus 2048

2.2 NTP & Logging

▶
2.2.1 Ensure NTP Authentication Is Enabled (Automated)
L1 Auto
Description

This setting controls whether NTP Authentication is enabled on the Cisco IOS XE 17 network device. Enabling this feature strengthens the security posture by enforcing the recommended configuration via IOS CLI, running-config, or Cisco DNA Center.

Rationale

Without NTP Authentication enabled, the Cisco IOS XE 17 network device may lack critical protections against known attack vectors. Enabling this control mitigates risk and aligns the deployment with industry-accepted security baselines.

Audit
show running-config | include ntp
Remediation
ntp authenticate
ntp authentication-key 1 md5 <KEY>
ntp trusted-key 1
ntp server <NTP_SERVER> key 1
2.2.2 Ensure Timestamps Are Enabled for Logging (Automated)
L1 Auto
Description

This recommendation verifies that timestamps Are Enabled for Logging on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to timestamps Are Enabled for Logging may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include service timestamps
Remediation
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
2.2.3 Ensure Logging to a Central Syslog Server (Automated)
L1 Auto
Description

This recommendation verifies that logging to a Central Syslog Server on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to logging to a Central Syslog Server may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include logging host
Remediation
logging host <SYSLOG_SERVER_IP>
logging trap informational
2.2.4 Ensure Logging Buffered Is Configured (Automated)
L1 Auto
Description

This recommendation addresses the proper configuration of Logging Buffered on the Cisco IOS XE 17 network device. Proper configuration ensures the component operates securely and in accordance with organizational security policies.

Rationale

Misconfiguration of Logging Buffered can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | include logging buffered
Remediation
logging buffered 65536 informational
2.2.5 Ensure Logging Console Is Limited (Automated)
L1 Auto
Description

This setting ensures that Logging Console is limited on the Cisco IOS XE 17 network device. Restricting this capability limits potential abuse and enforces the principle of least privilege across the environment.

Rationale

Unrestricted Logging Console could allow unauthorized users or processes to perform actions beyond their intended scope. Applying least-privilege principles to the Cisco IOS XE 17 network device is essential for defense in depth.

Audit
show running-config | include logging console
Remediation
logging console critical

2.3 SNMP

▶
2.3.1 Ensure SNMPv3 with Encryption Is Used (Automated)
L1 Auto
Description
SNMPv1 and v2c use community strings in plaintext. All SNMP should use SNMPv3 with authPriv.
Rationale

Failure to sNMPv3 with Encryption Is Used may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show snmp group
show snmp user
Remediation
snmp-server group SNMPV3GROUP v3 priv
snmp-server user SNMPV3USER SNMPV3GROUP v3 auth sha256 <AUTH_PW> priv aes 256 <PRIV_PW>
2.3.2 Ensure SNMP Community Strings Are Not 'public' or 'private' (Automated)
L1 Auto
Description

This recommendation verifies that sNMP Community Strings Are Not 'public' or 'private' on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to sNMP Community Strings Are Not 'public' or 'private' may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include snmp-server community
Remediation
no snmp-server community public
no snmp-server community private
2.3.3 Ensure SNMP ACLs Are Applied (Automated)
L2 Auto
Description

This recommendation verifies that sNMP ACLs Are Applied on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to sNMP ACLs Are Applied may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include snmp-server community

Verify an ACL number or name is specified for each community string.

Remediation
snmp-server community <STRING> RO <ACL_NAME>
2.3.4 Ensure SNMP Traps Are Configured (Automated)
L1 Auto
Description

This recommendation addresses the proper configuration of SNMP Traps on the Cisco IOS XE 17 network device. Proper configuration ensures the component operates securely and in accordance with organizational security policies.

Rationale

Misconfiguration of SNMP Traps can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | include snmp-server host
Remediation
snmp-server host <MGMT_SERVER> version 3 priv <USER>
snmp-server enable traps

3 — Data Plane

▶

3.1 Routing Protocols

▶
3.1.1 Ensure OSPF Authentication Is Configured (Automated)
L1 Auto
Description
OSPF neighbor authentication prevents unauthorized routers from injecting routes into the network.
Rationale

Misconfiguration of OSPF Authentication can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show ip ospf interface
Remediation
interface GigabitEthernet0/0
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 <KEY>
!
router ospf 1
 area 0 authentication message-digest
3.1.2 Ensure EIGRP Authentication Is Configured (Automated)
L1 Auto
Description

This recommendation addresses the proper configuration of EIGRP Authentication on the Cisco IOS XE 17 network device. Proper configuration ensures the component operates securely and in accordance with organizational security policies.

Rationale

Misconfiguration of EIGRP Authentication can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | section key chain
show running-config | section interface
Remediation
key chain EIGRP-KEY
 key 1
  key-string <SECRET_KEY>
!
interface GigabitEthernet0/0
 ip authentication mode eigrp <ASN> md5
 ip authentication key-chain eigrp <ASN> EIGRP-KEY
3.1.3 Ensure BGP Neighbor Authentication Is Configured (Automated)
L2 Auto
Description

This recommendation addresses the proper configuration of BGP Neighbor Authentication on the Cisco IOS XE 17 network device. Proper configuration ensures the component operates securely and in accordance with organizational security policies.

Rationale

Misconfiguration of BGP Neighbor Authentication can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | section router bgp
Remediation
router bgp <ASN>
 neighbor <PEER_IP> password <SECRET>
3.1.4 Ensure RIPv2 Authentication Is Configured (Automated)
L2 Auto
Description

This recommendation addresses the proper configuration of RIPv2 Authentication on the Cisco IOS XE 17 network device. Proper configuration ensures the component operates securely and in accordance with organizational security policies.

Rationale

Misconfiguration of RIPv2 Authentication can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show running-config | section interface
# Verify: ip rip authentication mode md5
Remediation
key chain RIP-KEY
 key 1
  key-string <SECRET_KEY>
!
interface GigabitEthernet0/0
 ip rip authentication mode md5
 ip rip authentication key-chain RIP-KEY

3.2 Interface Security

▶
3.2.1 Ensure Unused Interfaces Are Disabled (Manual)
L1 Manual
Description

This setting controls whether Unused Interfaces is disabled on the Cisco IOS XE 17 network device. Disabling this feature reduces the attack surface by removing unnecessary functionality that could be exploited by an attacker.

Rationale

Leaving Unused Interfaces enabled when it is not required unnecessarily expands the attack surface. An attacker could leverage this feature to gain unauthorized access or escalate privileges on the Cisco IOS XE 17 network device.

Audit
show ip interface brief | include down
Remediation
interface <UNUSED_IF>
 shutdown
3.2.2 Ensure Port-Security Is Enabled on Access Ports (Automated)
L2 Auto
Description

This recommendation verifies that port-Security Is Enabled on Access Ports on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to port-Security Is Enabled on Access Ports may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show port-security interface <IF>
Remediation
interface GigabitEthernet0/1
 switchport mode access
 switchport port-security
 switchport port-security maximum 2
 switchport port-security violation restrict
3.2.3 Ensure IP Source Guard Is Enabled (Automated)
L2 Auto
Description

This setting controls whether IP Source Guard is enabled on the Cisco IOS XE 17 network device. Enabling this feature strengthens the security posture by enforcing the recommended configuration via IOS CLI, running-config, or Cisco DNA Center.

Rationale

Without IP Source Guard enabled, the Cisco IOS XE 17 network device may lack critical protections against known attack vectors. Enabling this control mitigates risk and aligns the deployment with industry-accepted security baselines.

Audit
show ip verify source
Remediation
interface GigabitEthernet0/1
 ip verify source
3.2.4 Ensure uRPF Is Enabled on External Interfaces (Automated)
L2 Auto
Description
Unicast Reverse Path Forwarding (uRPF) verifies the source address of incoming packets to prevent IP spoofing.
Rationale

Failure to uRPF Is Enabled on External Interfaces may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config interface <EXTERNAL_IF>
Remediation
interface GigabitEthernet0/0
 ip verify unicast source reachable-via rx

4 — Access Lists

▶

4.1 Standard ACLs

▶
4.1.1 Ensure VTY Lines Require an ACL (Automated)
L1 Auto
Description

This recommendation verifies that vTY Lines Require an ACL on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to vTY Lines Require an ACL may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | section line vty
Remediation
ip access-list standard VTY-ACCESS
 permit <MGMT_SUBNET> <WILDCARD>
 deny any log
!
line vty 0 15
 access-class VTY-ACCESS in
4.1.2 Ensure Console Access Is Restricted (Manual)
L1 Manual
Description

This setting ensures that Console Access is restricted on the Cisco IOS XE 17 network device. Restricting this capability limits potential abuse and enforces the principle of least privilege across the environment.

Rationale

Unrestricted Console Access could allow unauthorized users or processes to perform actions beyond their intended scope. Applying least-privilege principles to the Cisco IOS XE 17 network device is essential for defense in depth.

Audit
show running-config | section line con 0
Remediation
line con 0
 login authentication CONSOLE
 exec-timeout 5 0

4.2 Extended ACLs

▶
4.2.1 Ensure ACLs Deny IP Addresses from RFC 1918 on External Interfaces (Automated)
L1 Auto
Description

This recommendation verifies that aCLs Deny IP Addresses from RFC 1918 on External Interfaces on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to aCLs Deny IP Addresses from RFC 1918 on External Interfaces may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show access-lists
Remediation
ip access-list extended EXTERNAL-IN
 deny ip 10.0.0.0 0.255.255.255 any
 deny ip 172.16.0.0 0.15.255.255 any
 deny ip 192.168.0.0 0.0.255.255 any
 deny ip 127.0.0.0 0.255.255.255 any
 permit ip any any
!
interface GigabitEthernet0/0
 ip access-group EXTERNAL-IN in
4.2.2 Ensure ACLs Contain Explicit 'deny any' at the End (Automated)
L1 Auto
Description

This recommendation verifies that aCLs Contain Explicit 'deny any' at the End on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to aCLs Contain Explicit 'deny any' at the End may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show access-lists
Remediation
# Add explicit deny with logging at end of each ACL:
 deny ip any any log
4.2.3 Ensure SNMP Traffic Is Restricted by ACL (Automated)
L2 Auto
Description

This recommendation verifies that sNMP Traffic Is Restricted by ACL on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to sNMP Traffic Is Restricted by ACL may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include snmp-server community
Remediation
ip access-list standard SNMP-ACCESS
 permit host <SNMP_MGMT_IP>
 deny any log
!
snmp-server community <STRING> RO SNMP-ACCESS

5 — Services

▶

5.1 Disable Unused Services

▶
5.1.1 Ensure CDP Is Disabled on External Interfaces (Automated)
L1 Auto
Description
CDP can expose device details to adjacent devices. Disable on untrusted or external interfaces.
Rationale

Failure to cDP Is Disabled on External Interfaces may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show cdp interface
Remediation
interface GigabitEthernet0/0
 no cdp enable
5.1.2 Ensure LLDP Is Disabled if Not Required (Automated)
L1 Auto
Description

This setting enforces that LLDP Is Disabled if Not is required on the Cisco IOS XE 17 network device. Making this mandatory ensures consistent security policy enforcement across the environment.

Rationale

Failure to lLDP Is Disabled if Not Required may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show lldp
Remediation
no lldp run
5.1.3 Ensure HTTP Server Is Disabled (Automated)
L1 Auto
Description

This setting controls whether HTTP Server is disabled on the Cisco IOS XE 17 network device. Disabling this feature reduces the attack surface by removing unnecessary functionality that could be exploited by an attacker.

Rationale

Leaving HTTP Server enabled when it is not required unnecessarily expands the attack surface. An attacker could leverage this feature to gain unauthorized access or escalate privileges on the Cisco IOS XE 17 network device.

Audit
show running-config | include ip http
Remediation
no ip http server
no ip http secure-server
5.1.4 Ensure TCP/UDP Small Servers Are Disabled (Automated)
L1 Auto
Description

This setting controls whether TCP/UDP Small Servers is disabled on the Cisco IOS XE 17 network device. Disabling this feature reduces the attack surface by removing unnecessary functionality that could be exploited by an attacker.

Rationale

Leaving TCP/UDP Small Servers enabled when it is not required unnecessarily expands the attack surface. An attacker could leverage this feature to gain unauthorized access or escalate privileges on the Cisco IOS XE 17 network device.

Audit
show running-config | include small-servers
Remediation
no service tcp-small-servers
no service udp-small-servers
5.1.5 Ensure IP Source Routing Is Disabled (Automated)
L1 Auto
Description

This setting controls whether IP Source Routing is disabled on the Cisco IOS XE 17 network device. Disabling this feature reduces the attack surface by removing unnecessary functionality that could be exploited by an attacker.

Rationale

Leaving IP Source Routing enabled when it is not required unnecessarily expands the attack surface. An attacker could leverage this feature to gain unauthorized access or escalate privileges on the Cisco IOS XE 17 network device.

Audit
show running-config | include ip source-route
Remediation
no ip source-route
5.1.6 Ensure Finger Service Is Disabled (Automated)
L1 Auto
Description

This setting controls whether Finger Service is disabled on the Cisco IOS XE 17 network device. Disabling this feature reduces the attack surface by removing unnecessary functionality that could be exploited by an attacker.

Rationale

Leaving Finger Service enabled when it is not required unnecessarily expands the attack surface. An attacker could leverage this feature to gain unauthorized access or escalate privileges on the Cisco IOS XE 17 network device.

Audit
show running-config | include service finger
Remediation
no service finger
no ip finger
5.1.7 Ensure IP Directed Broadcasts Are Disabled (Automated)
L1 Auto
Description

This setting controls whether IP Directed Broadcasts is disabled on the Cisco IOS XE 17 network device. Disabling this feature reduces the attack surface by removing unnecessary functionality that could be exploited by an attacker.

Rationale

Leaving IP Directed Broadcasts enabled when it is not required unnecessarily expands the attack surface. An attacker could leverage this feature to gain unauthorized access or escalate privileges on the Cisco IOS XE 17 network device.

Audit
show running-config | section interface
Remediation
interface GigabitEthernet0/0
 no ip directed-broadcast
5.1.8 Ensure Proxy ARP Is Disabled (Automated)
L1 Auto
Description

This setting controls whether Proxy ARP is disabled on the Cisco IOS XE 17 network device. Disabling this feature reduces the attack surface by removing unnecessary functionality that could be exploited by an attacker.

Rationale

Leaving Proxy ARP enabled when it is not required unnecessarily expands the attack surface. An attacker could leverage this feature to gain unauthorized access or escalate privileges on the Cisco IOS XE 17 network device.

Audit
show ip interface
Remediation
interface GigabitEthernet0/0
 no ip proxy-arp

5.2 DHCP & DNS

▶
5.2.1 Ensure BOOTP Is Disabled (Automated)
L1 Auto
Description

This setting controls whether BOOTP is disabled on the Cisco IOS XE 17 network device. Disabling this feature reduces the attack surface by removing unnecessary functionality that could be exploited by an attacker.

Rationale

Leaving BOOTP enabled when it is not required unnecessarily expands the attack surface. An attacker could leverage this feature to gain unauthorized access or escalate privileges on the Cisco IOS XE 17 network device.

Audit
show running-config | include ip bootp
Remediation
no ip bootp server
5.2.2 Ensure DNS Resolution Is Configured Securely (Automated)
L1 Auto
Description

This recommendation verifies that dNS Resolution Is Configured Securely on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to dNS Resolution Is Configured Securely may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
show running-config | include ip name-server
Remediation
ip name-server <TRUSTED_DNS_1> <TRUSTED_DNS_2>
ip domain lookup
5.2.3 Ensure DHCP Snooping Is Enabled (Automated)
L2 Auto
Description
DHCP snooping prevents rogue DHCP servers from distributing incorrect IP configuration.
Rationale

Without DHCP Snooping enabled, the Cisco IOS XE 17 network device may lack critical protections against known attack vectors. Enabling this control mitigates risk and aligns the deployment with industry-accepted security baselines.

Audit
show ip dhcp snooping
Remediation
ip dhcp snooping
ip dhcp snooping vlan <VLAN_RANGE>
!
interface <TRUSTED_UPLINK>
 ip dhcp snooping trust
5.2.4 Ensure Dynamic ARP Inspection Is Enabled (Automated)
L2 Auto
Description

This setting controls whether Dynamic ARP Inspection is enabled on the Cisco IOS XE 17 network device. Enabling this feature strengthens the security posture by enforcing the recommended configuration via IOS CLI, running-config, or Cisco DNA Center.

Rationale

Without Dynamic ARP Inspection enabled, the Cisco IOS XE 17 network device may lack critical protections against known attack vectors. Enabling this control mitigates risk and aligns the deployment with industry-accepted security baselines.

Audit
show ip arp inspection
Remediation
ip arp inspection vlan <VLAN_RANGE>
!
interface <TRUSTED_UPLINK>
 ip arp inspection trust

6 — IOS Hardening

▶

6.1 Password Encryption

▶
6.1.1 Ensure 'service password-encryption' Is Enabled (Automated)
L1 Auto
Description

This setting controls whether 'service password-encryption' is enabled on the Cisco IOS XE 17 network device. Enabling this feature strengthens the security posture by enforcing the recommended configuration via IOS CLI, running-config, or Cisco DNA Center.

Rationale

Without 'service password-encryption' enabled, the Cisco IOS XE 17 network device may lack critical protections against known attack vectors. Enabling this control mitigates risk and aligns the deployment with industry-accepted security baselines.

Audit
show running-config | include service password-encryption
Remediation
service password-encryption
6.1.2 Ensure No Type 0 or Type 7 Passwords Exist (Automated)
L1 Auto
Description
Type 0 is plaintext. Type 7 uses weak Vigenère cipher and is trivially reversible. All passwords should use type 8 (PBKDF2) or type 9 (scrypt).
Rationale

The absence of No Type 0 or Type 7 Passwords leaves the Cisco IOS XE 17 network device without an important security control. Verifying its presence ensures the system meets the minimum security baseline required by the CIS benchmark.

Audit
show running-config | include password
# Look for passwords starting with '0 ' or '7 '
Remediation
# Re-create accounts using scrypt:
username <USER> algorithm-type scrypt secret <PASSWORD>
6.1.3 Ensure Password Policy Meets Complexity Requirements (Manual)
L2 Manual
Description

This recommendation verifies that password Policy Meets Complexity Requirements on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to password Policy Meets Complexity Requirements may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
# Review organizational password policy and verify:
# - Minimum 14 characters
# - Mix of upper, lower, numbers, special
# - No dictionary words
Remediation
security passwords min-length 14
# Enforce complexity via AAA server policy

6.2 Memory & Buffer Security

▶
6.2.1 Ensure TCP Keepalives Are Enabled (Automated)
L1 Auto
Description

This setting controls whether TCP Keepalives is enabled on the Cisco IOS XE 17 network device. Enabling this feature strengthens the security posture by enforcing the recommended configuration via IOS CLI, running-config, or Cisco DNA Center.

Rationale

Without TCP Keepalives enabled, the Cisco IOS XE 17 network device may lack critical protections against known attack vectors. Enabling this control mitigates risk and aligns the deployment with industry-accepted security baselines.

Audit
show running-config | include tcp keepalives
Remediation
service tcp-keepalives-in
service tcp-keepalives-out
6.2.2 Ensure Memory Threshold Notifications Are Enabled (Automated)
L1 Auto
Description

This setting controls whether Memory Threshold Notifications is enabled on the Cisco IOS XE 17 network device. Enabling this feature strengthens the security posture by enforcing the recommended configuration via IOS CLI, running-config, or Cisco DNA Center.

Rationale

Without Memory Threshold Notifications enabled, the Cisco IOS XE 17 network device may lack critical protections against known attack vectors. Enabling this control mitigates risk and aligns the deployment with industry-accepted security baselines.

Audit
show running-config | include memory free
Remediation
memory free low-watermark processor 50000
memory free low-watermark IO 25000
6.2.3 Ensure Control Plane Policing Is Configured (Automated)
L2 Auto
Description
Control Plane Policing (CoPP) protects the CPU from excessive traffic directed at the router itself.
Rationale

Misconfiguration of Control Plane Policing can lead to security gaps that may be exploited by attackers. A properly configured Cisco IOS XE 17 network device reduces exposure to both known vulnerabilities and configuration drift.

Audit
show policy-map control-plane
Remediation
policy-map COPP
 class class-default
  police rate 1000 pps burst 250 packets
   conform-action transmit
   exceed-action drop
!
control-plane
 service-policy input COPP
6.2.4 Ensure IOS Image Integrity Is Verified (Manual)
L2 Manual
Description

This recommendation verifies that iOS Image Integrity Is Verified on the Cisco IOS XE 17 network device. Implementing this control strengthens the overall security configuration and reduces exposure to potential threats.

Rationale

Failure to iOS Image Integrity Is Verified may leave the Cisco IOS XE 17 network device vulnerable to attack or non-compliant with organizational security policies. This control helps establish a consistent, hardened configuration baseline.

Audit
verify /md5 <IOS_IMAGE_FILE>
Remediation
# Compare MD5/SHA hash with official Cisco download page
# Ensure Secure Boot is enabled where supported:
secure boot-image