link

Description                                                    Link the “startup-config” token to the specified configuration profile. By default, “startup-con­fig” is linked to “default”, which means the configuration profile stored in the image area from which the ACOS device most recently rebooted.

Syntax                                                                  link startup-config {default | profile-name} [primary | secondary]

Parameter

Description

default

Links “startup-config” to the configuration profile stored in the image area from which the ACOS device was most recently rebooted.

profile-name

Links “startup-config” to the specified configuration profile.

primary | second­ary

Specifies the image area. If you omit this option, the image area last used to boot is selected.

Default                                                                The “startup-config” token is linked to the configuration profile stored in the image area from which the ACOS device was most recently rebooted.

Mode                                                                   Configuration mode

Usage                                                                  This command enables you to easily test new configurations without replacing the configu­ration stored in the image area.

The profile you link to must be stored on the boot device you select. For example, if you use the default boot device (hard disk) selection, the profile you link to must be stored on the hard disk. If you specify cf, the profile must be stored on the compact flash. (To display the profiles stored on the boot devices, use the show startup-config all command. See show startup-config.)

After you link “startup-config” to a different configuration profile, configuration management commands that affect “startup-config” affect the linked profile instead of affecting the configuration stored in the image area. For example, if you enter the write memory command without specifying a profile name, the command saves the running-config to the linked profile instead of saving it to the configuration stored in the image area.

Likewise, the next time the ACOS device is rebooted, the linked configuration profile is loaded instead of the configuration that is in the image area.

To relink “startup-config” to the configuration profile stored in the image area, use the default option (link startup-config default).

Example                                                            The following command links configuration profile “slbconfig3” with “startup-config”:

ACOS(config)# link startup-config slbconfig3

 

Example                                                            The following command relinks “startup-config” to the configuration profile stored in the image area from which the ACOS device was most recently rebooted”:

ACOS(config)# link startup-config default

Table of Contents

Index

Glossary

-Search-

Back