Kevin Murphy | Hey Jayant,
You made two mistakes that I see. First you are missing a > ending your <fabricVlan> tag. Secondly, by my understanding if you use "configConfMos" instead of "configConfMo" then you need to use the <pair> tags. I have two working examples below:
invoke-xmlcommand -xmlstringlist "<configConfMo inHierarchical='no'><inConfig><fabricVlan dn='fabric/lan/net-TEST2' id='2' name='TEST2'></fabricVlan></inConfig></configConfMo>"
or if you use configConfMos:
invoke-xmlcommand -xmlstringlist "<configConfMos inHierarchical='no'><inConfigs><pair key='fabric/lan/'><fabricVlan dn='fabric/lan/net-TEST2' id='2' name='TEST2'></fabricVlan></pair></inConfigs></configConfMos>"
If any one has anything to say I am interested to hear more on the differences. The second example is how I created VLANs before the toolkit.
Maniacmurphy Community Supporter |
| Please sign in to flag this as inappropriate. |