Getting Started | 63Figure 3-35. Example of a Script Validation Error MessageApplying a Configuration ScriptTo apply a “config script”, use the script apply command, as in the following.Figure 3-36. Using the script apply CommandApplying a configuration script on a machine with certain previously configured features may result in anerror. This is because the syntax for entering the configuration mode that allows for editing the feature maybe different than the syntax that exists in the configuration (and was used to create the feature initially).There are several such features.Command Syntax Command Mode Purposescript apply scriptname.scr Privileged Exec To doConfiguration script validation failed.Following lines in the script may have problem:Line 29:: permit 01:80:c2:00:00:00 any assign-queue 4Line 30:: permit any 01:80:c2:00:00:ff assign-queue 3 redirect 1/0/10Line 31:: permit 01:80:c2:00:00:ee any assign-queue 4Line 36:: match cos 5Line 44:: police-simple 500000 64 conform-action transmit violate-action dropLine 45:: police-simple 500000 64 conform-action transmit violate-action dropTotal error Lines :: 6The file being downloaded has potential problems. Do you want to save this file?Force10 #script apply test.scrAre you sure you want to apply the configuration script? (y/n)yThe system has unsaved changes.Would you like to save them now? (y/n) nConfiguration Not Saved!hostname "Force10"interface managementethernetip address 10.10.1.33 255.255.255.0exitmanagement route default 10.10.1.254interface vlan 11exitexitConfiguration script 'test.scr' applied.