|
The problem is, your cfgfiles is matching *.cfg, so it matches both cp-rtr01.cfg and cp-rtrh01.cfg -- however, cp-rtrh01.cfg is a softlink to cp-rtr01.cfg and so effectively you have two identical devices in there.
I'm not sure why you have cp-rtrh01.cfg at all. However, if you have to have it, you'll need to exclude it form your cfgfiles, which might be hard to do as this list is inclusive.
The duplicates cant be eliminated by routers2 because routers2 uniquely identifies by the cfg file name. The description can be anythingm its just text (though it is used for a sort).
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|