11-23-2014 10:51 PM
Dear all,
I want to create a template for replacing vlan on some interface on lot of switch.
i ve done this one :
#foreach ($interfacename in $interfaces)
interface $interfacename
#if ($Vlanid == $Vlanidold)
no switchport access vlan $Vlanidold
switchport access vlan $VlanidNew
#end
#end
that doesn t work..:-(
the test for the vlanid doesn t work.
Could you give me some help
Thanks by advance
Solved! Go to Solution.