> # Adding, Editing, Re-discovering, Purging and Removing LAN, LAN Tasks and Switch

> Cisco DCNM Web Client reports information obtained by the Cisco DCNM-LAN devices.

> This section contains the following:

> - Adding LAN Devices
> - Editing LAN Devices
> - Purging LAN
> - Removing LAN Devices
> - Edit LAN Task
> - Re-discover LAN Task
> - Re-discover a Switch
> - Moving LAN Devices Under a Task
> - Remove LAN Task/Switch
> - Delete a Switch
> - Toggle between Task and Device view

> ## Adding LAN Devices

> 1. From the menu bar, choose Admin > General > Data Sources.

> You see the list of LAN devices in the Name column.

> 2. Click Add LAN Task to add LAN.

> You see the Add LAN dialog box.

> 3. Select Hops from Seed Switch, Switch List or FWSM. The fields vary depending on your selection.
> 4. Enter the Seed Switch IP address for the fabric.
> 5. The options vary depending on the discovery type selected. For example; If you select SNMPV1 or SNMPV3/CLI check box varied fields are displayed.
> 6. Select the switch group and specify the Scan Time-out.
> 7. Specify the user credentials and the Optional Enable Password.
> 8. Use the drop-down to select the switch group.
> 9. Click Next to begin the Shallow Discovery.
> 10. In the Shallow LAN Discovery window, you can select all switches by using the checkbox next to the switch name column or select individual switches. Click Previous to go back and edit the parameters.

> Note In the Status column, if the switch status is Time-out or Cannot be contacted, these switches cannot be added.

> 11. Select a switch and click Add to add a switch to the switch group.

> If the seed switch(es) are not reachable, it will be shown as "unknown" on the shallow Discovery window.

> ## Editing LAN Devices

> You can modify a LAN from Cisco DCNM Web Client.

> 1. From the menu bar, choose Admin > General > Data Sources.
> 2. Select the check box next to the LAN that you want to edit and click Edit LAN by CDP Seed.

> You see the Edit LAN dialog box.

> 3. Enter the User Name and Password.
> 4. Select the LAN status as Managed or Unmanaged.
> 5. Select the Candidate Switches for Deep Discovery.

> Note You can hold the Ctrl key on your keyboard to select multiple candidate switches.

> 6. Click Apply to save the changes.

> ## Purging LAN

> 1. From the menu bar, choose Admin>General>Datasources.
> 2. Click the Purge unreachable devices or dead links in selected LAN icon.
> 3. Click Yes in the pop-up window to purge the LAN device.

> Note In case of a Federation set-up, you will have to select the LAN to purge.

> ## Removing LAN Devices

> You can remove a LAN from Cisco DCNM Web Client.

> 1. From the menu bar, choose Admin > General > Data Sources.
> 2. Select the check box next to the LAN that you want to remove and click the Remove LAN by CDP Seed icon to remove the switches and all their data.
> 3. Click Yes to review the LAN device.

> You can also remove an individual LAN Switch

> 1. From the menu bar, choose Admin > General > Data Sources.
> 2. Click the arrow next to the DCNM Server check box to expand the field.
> 3. In the Switch column, click Delete Switch icon to delete a switch connected to the DCNM server.

> ## Edit LAN Task

> 1. From the menu bar, choose Admin>General>Datasources
> 2. In the Discovery Task column, click the Edit LAN Task icon.
> 3. In the Edit LAN Task dialog box, specify the user credentials and the Optional Enable Password.
> 4. Use the radio button to select the Status.
> 5. Click Apply to save the changes.

> ## Re-discover LAN Task

> 1. From the menu bar, choose Admin>General>Datasources.
> 2. In the Discovery Task column, click the Re-discover LAN icon.
> 3. Click Yes in the pop-up window to re-discover the LAN.

> ## Re-discover a Switch

> You can also rediscover an individual switch connected to a DCNM Server

> 1. From the menu bar, choose Admin > General > Data Sources.
> 2. In the Switch column, click Rediscover Switch to rediscover a switch connected to the DCNM server.
> 3. In the notification dialog box, click OK to continue.

> ## Moving LAN Devices Under a Task

> You can move LAN devices under a task to a different server using Cisco DCNM Web Client. This feature is available only in the federation setup and the Move LAN is displayed in the federation setup screen.

> You can move the LAN from a sever that is down to an active server. The management state remains the same.

> 1. From the menu bar, choose Admin > General > Data Sources.
> 2. Choose the LAN from the LAN table. Click Move LAN Tasks to another Federated Server.
> 3. In the Move LAN Tasks to another DCNM Server dialog box, enter the LAN tasks that need to be moved and specify the DCNM server. All the LAN devices under the selected tasks will be moved.

> ## Remove LAN Task/Switch

> 1. From the menu bar, choose Admin > General > Data Sources.
> 2. In the Discovery Task column, click the Remove LAN Task icon.
> 3. In the confirmation dialog box, click Yes to remove the LAN task.

> ## Delete a Switch

> You can also delete an individual switch connected to a DCNM Server.

> - From the menu bar, choose Admin > General > Data Sources.
> - In the Switch column, click the Delete Switch icon.
> - In the confirmation dialog box, click Yes to delete the switch

> ## Toggle between Task and Device view

> 1. From the menu bar, choose Admin > General > Data Sources.
> 2. Click the Toggle between Task and Device view icon.

> By default, the Device view is displayed.

> 3. In the Device view:
> - In the Group column, use the drop-down to select the LAN group.
> - Click the Add LAN Task icon to add a LAN. For more information see the Adding LAN Devices section.
> - In the Discovery Task column, click the Edit LAN Task icon to edit the LAN task. For more information, see the Editing LAN Devices section.
> - In the Discovery Task column, click the Re-discover LAN icon to rediscover the LAN. For more information see the Purging LAN section.
> - In the Discovery Task column, click the Remove LAN Task icon to delete the LAN task. For more information, see the Removing LAN Devices section.
> - In the Switch column, click Re-discover Switch icon to rediscover the switch.
> - In the Switch column, click the Delete Switch icon to delete the switch.
> - Click the Toggle between Task and Device view icon to toggle to the task view
> 4. In the Task view:
> - Under Discovery Task, use the checkbox to select the task.
> - Click the Add LAN Task icon to add a LAN. For more information see the Adding LAN Devices section.
> - Use the checkbox to select the task and then click the Edit LAN Task icon at the upper-right corner above the table to edit the LAN task. For more information, see the Editing LAN Devices section.
> - Use the checkbox to select the task and then click the Remove LAN Task icon at the upper-right corner above the table to delete the LAN task. For more information, see the Removing LAN Devices section.
> - Use the checkbox to select the task and then click the Re-discover LAN icon at the upper-right corner above the table to rediscover the LAN. For more information see the Purging LAN section.
> - Click the Refresh icon to refresh the LAN table.
> - Click the Purge unreachable devices or dead links in selected LAN icon to purge the LAN. For more information see the Purging LAN section.
> - Click the Toggle between Task and Device view icon to toggle to the device view.
> - Click Re-discover Switch icon to rediscover the switch.
> - Click the Delete Switch icon to delete the switch.
> - In the Group column, use the drop-down to select the LAN group.

> Copyright 2010-2015, Cisco Systems, Inc. All rights reserved.