cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

334
Views
0
Helpful
2
Replies
Highlighted
Beginner

ncs-netsim delete-network

Hi folks,

how can I remove one single DEVICE from the netsim network without delete the entire configuration?

Regards

Raffo

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: ncs-netsim delete-network

ncs-netsim is using file netsim/.netsiminfo for all operations. Assume you have 8 devices c0,c1,...,c7, now you want to delete only device c5 (which has index [5] in .netsiminfo). First delete the block "##device c5" in .netsiminfo. Now total number of c/c* devices becomes 7: they should be numbered continuously from 0..6. To fix this, just move the last block of "##device 7" to the original position of "##device c5", and rename all index [7] to [5]. Now device c5 is successfully deleted. Optionally delete netsim/c/c5 folder.

View solution in original post

2 REPLIES 2
Cisco Employee

Re: ncs-netsim delete-network

ncs-netsim is using file netsim/.netsiminfo for all operations. Assume you have 8 devices c0,c1,...,c7, now you want to delete only device c5 (which has index [5] in .netsiminfo). First delete the block "##device c5" in .netsiminfo. Now total number of c/c* devices becomes 7: they should be numbered continuously from 0..6. To fix this, just move the last block of "##device 7" to the original position of "##device c5", and rename all index [7] to [5]. Now device c5 is successfully deleted. Optionally delete netsim/c/c5 folder.

View solution in original post

Beginner

Re: ncs-netsim delete-network

The trick is working

Content for Community-Ad
FusionCharts will render here