For example, the command to create a class-map called "cm-1" is
the command to edit cm-1 later is
Services (DiffServ) on page 177
machine that already has a class-map called cm-1 results in an error similar to the following example (see
Figure 3-37 on page
Figure 3-37. Example of a Scripting Error
class-map match-all cm-1
This Diffserv class already exists.
Error in configuration script file at line number 33.
CLI Command :: class-map match-all cm-1.
Aborting script.
Execution of configuration script 'test.scr' could not be completed.
WARNING:
The running configuration may not be the desired configuration.
You might want to reload the saved configuration.
Failure to apply a config script can be resolved by one of the following solutions:
•
Issue the
Note: Do not issue the clear config command if you telnet into the system, otherwise you will
lose contact with the system. This command should be issued at the console port.
•
Edit the script to use the proper syntax to edit the structure (ACL, map etc.).
•
Edit the script by adding the
reconfigure the same feature.
Listing Configuration Scripts
The
script list
Figure 3-38. Using the script list Command
Force10 #script list
Configuration Script Name
-------------------------------- -----------
test.scr
1 configuration script(s) found.
2045 Kbytes free.
Force10 #
64
|
Getting Started
class-map cm-1
.) Attempting to apply an unmodified config script containing cm-1 to a
64).
command before applying the script.
clear config
no
form of a command to delete a feature, then add a command to
command lists the configured scripts in a system:
Size(Bytes)
class-map match-all cm-1
(For more on class-map, see
2689
, while
Using Differentiated