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

Who Me Too'd this topic

Changing vlan on interface with Cisco Prime Infrastructure 2.0

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

 

Who Me Too'd this topic