Editing devices


This topic provides instructions on editing a single device and editing multiple devices together.

To modify the attributes of previously defined devices, you can choose between the following methods:

Editing a single device

This editing option includes many additional device attributes that are not available when editing multiple devices at once.

On the Network > Spans > Devices page, do the following:

  1. Click Edit Icon_Edit.pngin the Actions icons of the required device.

    Tip

    To find the device that you want to edit, you can click its name and display a summary of device attributes.

    The Edit Device page is displayed.

  2. On the Details tab, specify values as described in Adding-a-device.

    Note

    For instructions on how to add various types of user and system assigned dynamic fields to the device record, see Managing-dynamic-fields.

    When editing a device, system assigned dynamic field values are displayed. You cannot edit these values.

  3. On the Groups tab, select static groups to associate with the device by moving groups from the list of available groups (that is, groups defined in the database) to the list of selected groups.

    Note

    A device cannot be added or removed from an auto group, as this is performed by TrueSight Network Automation based on the device's attributes (for example Model or Location).

    Changes in group membership might require substantial processing and might take some time to be applied. For example, if you save an edit session for a device in which you change the number of groups it belongs to from 100 to 200, the resulting background thread might take 10 minutes to update the device count value for the group. The group list page continues to display a value of 100 during the period until the update thread completes.

  4. On the Configurations tab, you can view current, trusted and historical configuration files associated with the device.
    EditDeviceConfigurations.png

    From the Trail list, select the type of configuration files to be listed, from the menu of trails for which the device has configurations. Note that the menu does not show all possible supported trails for the device type, but the trails this device currently has. A device that has never had a successful snapshot will show no options for selection in the Trail menu.

    You can select a configuration file in the list and perform the following actions:
    • To view or print a report that contains the content of the configuration file, as well as general device information at the top of the report, click View.
    • To add or edit a remark about the configuration file (for example, reason for change), click Edit Annotation.
    • To create a template from the configuration file, select Create Template. For more details see Adding-a-template.
    • To view or edit an assigned target configuration, click View or Edit under the specifications of the target configuration, which appear only if a target has been assigned. You can edit and merge a target configuration to implement a configuration change or restore a configuration.

      Note

      The Target configuration can be assigned by using the Assign Target span action or a Configuration Import task. An Assign Target quick link is also available on the device pop-up window from the Device List.

  5. Select the Status tab to review the device's discrepancy and compliance status, last configuration action status, OS image, and hardware history. Network Automation shows standard and custom span action status, including the detailed Transcript.

    EditDeviceStatus.png

    Note

    To generate a report on hardware inventory history, click a link in the Hardware Inventory History box on the Status tab. This report shows the discovered hardware entities, memory, and flash for Cisco IOS, IOS XR, and Nexus device types. It also shows any imported hardware inventory data (for example, from HP NNM or CiscoWorks RME).

  6. Click Save to save all your changes to the device attributes.

Editing multiple devices together

You can edit multiple devices at once, applying common attributes to all devices.

On the Network > Spans > Devices page, do the following:

  1. Select multiple devices using the check box to the left of each device name in the device list.
    You can use Filter to narrow down the list. Note that you can select devices on a single page only.
  2. Click the Edit menu option above the list of devices.
     The Edit Multiple Devices page is displayed.
  3. Edit the values as required.

    Note

    All fields on this page are optional. Only the fields in which you specify values are applied to the group of devices that you selected for editing. All other fields are not touched in the edited devices.

  4. Click Save.
    The Device Edit Results window confirms whether or not the devices were edited successfully. The Failed section shows the error code and error message for the failure if any of the selected devices could not be edited. The Succeeded section confirms that the devices were edited successfully. When you filter items in this window by a particular string, items that contain the string are also displayed along with the items having the exact string. If you use asterisk (*) in the search string, it is considered as an exact character to be searched for, not as a wildcard character.
  5. Click OK.
Click here to view an example procedure that describes how to change all Cisco IOS Switch or Router devices with Access Mode = Telnet to Access Mode = SSH2.
  1. Filter list by Access Mode = Telnet, Device Type = Cisco IOS Switch/Router.
  2. Set the Show option to 1000.
  3. Select all devices on the page (up to 1000) by clicking the check box located in the upper left hand corner of the device list header.
  4. Click Edit. Set the Access Mode to SSH2. Select Save.
  5. Repeat steps 3-4 for the next page of 1000 devices, until you have finished updating all devices.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*