27.10.2013 Views

2.5.2 - Force10 Networks

2.5.2 - Force10 Networks

2.5.2 - Force10 Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Applying a configuration script on a machine with certain previously configured features may result in an<br />

error. This is because the syntax for entering the configuration mode that allows for editing the feature may<br />

be different than the syntax that exists in the configuration (and was used to create the feature initially).<br />

There are several such features.<br />

For example, the command to create a class-map called “cm-1” is class-map match-all cm-1, while the<br />

command to edit cm-1 later is class-map cm-1 (For more on class-map, see Using Differentiated Services<br />

(DiffServ) on page 185.) Attempting to apply an unmodified config script containing cm-1 to a machine<br />

that already has a class-map called cm-1 results in an error similar to the following example (see Figure 37<br />

on page 73).<br />

class-map match-all cm-1<br />

This Diffserv class already exists.<br />

Error in configuration script file at line number 33.<br />

CLI Command :: class-map match-all cm-1.<br />

Aborting script.<br />

Execution of configuration script 'test.scr' could not be completed.<br />

WARNING:<br />

The running configuration may not be the desired configuration.<br />

You might want to reload the saved configuration.<br />

Figure 37 Example of a Scripting Error<br />

Failure to apply a config script can be resolved by one of the following solutions:<br />

• Issue the clear config command before applying the script.<br />

Note: Do not issue the clear config command if you telnet into the system, otherwise you<br />

will lose contact with the system. This command should be issued at the console port.<br />

• Edit the script to use the proper syntax to edit the structure (ACL, map etc.).<br />

• Edit the script by adding the no form of a command to delete a feature, then add a command to<br />

reconfigure the same feature.<br />

SFTOS Configuration Guide, Version <strong>2.5.2</strong>.0 73

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!