Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Using the Examples in This Manual

 

If you want to use the examples in this manual, you can use the load merge or the load merge relative command. These commands cause the software to merge the incoming configuration into the current candidate configuration. The example does not become active until you commit the candidate configuration.

If the example configuration contains the top level of the hierarchy (or multiple hierarchies), the example is a full example. In this case, use the load merge command.

If the example configuration does not start at the top level of the hierarchy, the example is a snippet. In this case, use the load merge relative command. These procedures are described in the following sections.

Merging a Full Example

Merging a Full Example

To merge a full example, follow these steps:

  1. From the HTML or PDF version of the manual, copy a configuration example into a text file, save the file with a name, and copy the file to a directory on your routing platform.

    For example, copy the following configuration to a file and name the file ex-script.conf. Copy the ex-script.conf file to the /var/tmp directory on your routing platform.

  2. Merge the contents of the file into your routing platform configuration by issuing the load merge configuration mode command:

Merging a Snippet

Merging a Snippet

To merge a snippet, follow these steps:

  1. From the HTML or PDF version of the manual, copy a configuration snippet into a text file, save the file with a name, and copy the file to a directory on your routing platform.

    For example, copy the following snippet to a file and name the file ex-script-snippet.conf. Copy the ex-script-snippet.conf file to the /var/tmp directory on your routing platform.

  2. Move to the hierarchy level that is relevant for this snippet by issuing the following configuration mode command:
  3. Merge the contents of the file into your routing platform configuration by issuing the load merge relative configuration mode command:

For more information about the load command, see CLI Explorer.