SV-220618r521267_rule
V-220618
SRG-APP-000516-NDM-000340
CISC-ND-001410
CAT II
10
Configure the Cisco switch to send the configuration to a TFTP or an FTP server when a configuration change occurs as shown in the example below:
SW4(config)#event manager applet BACKUP_CONFIG
SW4(config-applet)#event syslog pattern "%SYS-5-CONFIG_I"
SW4(config-applet)#action 1 cli command "enable"
SW4(config-applet)#action 2 info type switchname
SW4(config-applet)#action 3 cli command "copy run tftp" pattern "remote host"
SW4(config-applet)#action 4 cli command "x.x.x.x" pattern "filename"
SW4(config-applet)#action 5 cli command "$_info_switchname-config"
SW4(config-applet)#action 6 syslog priority informational msg "Configuration backup was executed"
SW4(config-applet)#end
Review the Cisco switch configuration to verify that it backs up the configuration when changes occur. The example configuration below will send the configuration to a TFTP server when a configuration change occurs:
event manager applet BACKUP_CONFIG
event syslog pattern "%SYS-5-CONFIG_I"
action 1 info type switchname
action 2 cli command "enable"
action 3 cli command "copy run tftp" pattern "remote host"
action 4 cli command "x.x.x.x" pattern "filename"
action 5 cli command "$_info_switchname-config"
action 6 syslog priority informational msg "Configuration backup was executed"
If the Cisco switch is not configured to conduct backups of the configuration when changes occur, this is a finding.
V-220618
False
CISC-ND-001410
Review the Cisco switch configuration to verify that it backs up the configuration when changes occur. The example configuration below will send the configuration to a TFTP server when a configuration change occurs:
event manager applet BACKUP_CONFIG
event syslog pattern "%SYS-5-CONFIG_I"
action 1 info type switchname
action 2 cli command "enable"
action 3 cli command "copy run tftp" pattern "remote host"
action 4 cli command "x.x.x.x" pattern "filename"
action 5 cli command "$_info_switchname-config"
action 6 syslog priority informational msg "Configuration backup was executed"
If the Cisco switch is not configured to conduct backups of the configuration when changes occur, this is a finding.
M
4069