Change IP on interface VLAN remote

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
Is it an easy way to change a interface VLAN remote?
As far as I see it is not possible to set more than one IP an a interface...
Photo of Nobel

Nobel

  • 282 Points 250 badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of Tommy

Tommy

  • 342 Points 250 badge 2x thumb
Official Response
You can make a script that does it for you, something like:

unconfig default ipaddress
config default ipaddress x.x.x.x/xx

That should do it.
(Edited)
Photo of Tommy

Tommy

  • 342 Points 250 badge 2x thumb
Official Response
Sorry should have written that too :)

You can make the script directly on the switch with the command :

edit script "script_name"

You will then use the builtin VI editor to make the script, and then you can load that script with the command :
Load script "script_name.xsf"

You can also make the script in notepad++ or what ever text editor you use, and save it as a .xsf file and upload into the switch with the command:
tftp get x.x.x.x vr vr-xx "filename.xsf"

That should get you the file onto the switch and you can again load the script as mentioned before.
(Edited)