cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1917
Views
5
Helpful
3
Replies

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

 

1 Accepted Solution

Accepted Solutions

JAMES THOMAS
Level 1
Level 1

Did you ever get this working?

View solution in original post

3 Replies 3

JAMES THOMAS
Level 1
Level 1

Did you ever get this working?

it still not works.. i stopped to search and i used notepad++ extract the conf, change the conf and deploy the conf ...switch by switch

Still no answer for this?