clone

Creates a replica of an existing object or device. The configuration of the new object or device is an exact copy of the existing object or device configuration. Use this command to copy existing configurations and then modifying only the required parameters.

Supported on the following devices:

Syntax

clone [TLO|device]
clone TLO <EXISTING-OBJECT-NAME> <NEW-OBJECT-NAME>
clone device <EXISTING-DEVICE-MAC/NAME> <NEW-DEVICE-MAC>

Parameters

clone TLO <EXISTING-OBJECT-NAME> <NEW-OBJECT-NAME>
TLO <EXISTING-OBJECT-NAME> <NEW-OBJECT-NAME> Creates a new TLO by cloning an existing top-level object. The new object has the same configuration as the cloned object.
  • <EXISTING-OBJECT-NAME> – Specify the existing object‘s (to be cloned) name
  • <NEW-OBJECT-NAME> – Provide the new object‘s name.
Note: Enter clone and press Tab to list objects available for cloning.
clone device <EXISTING-DEVICE-MAC/NAME> <NEW-DEVICE-MAC>
device <EXISTING-DEVICE-MAC/NAME> <NEW-DEVICE-MAC> Configures a new device based on an existing device configuration
  • <EXISTING-DEVICE-MAC/NAME> – Specify the existing device‘s name or MAC address (the device to be cloned)
  • <NEW-DEVICE-MAC> – Provide the new device‘s MAC address.
Note: Enter clone > device and press Tab to list devices available for cloning.

Examples

nx9500-6C874D(config)#clone rf_domain TechPubs Cloned_TechPubs2
nx9500-6C874D(config)#show context
!
! Configuration of NX9500 version 7.1.0.0-010D
!
!
version 2.6
!
................................................................................
rf-domain TechPubs
 location SanJose
 timezone America/Los_Angeles
 country-code us
!
rf-domain Cloned_TechPubs2
 location SanJose
--More--
nx9500-6C874D(config)#