how to change ip address on existing vlan interface on s8 ?(Syntax)

  • 0
  • 1
  • Question
  • Updated 5 months ago
  • Answered
I have to change the IP Address of an existing vlan interface on S8.
How to do it?
Photo of Alexandra

Alexandra

  • 172 Points 100 badge 2x thumb

Posted 5 months ago

  • 0
  • 1
Photo of Daniel Coughlin

Daniel Coughlin, Employee

  • 2,702 Points 2k badge 2x thumb
Alexandra,
For example I have an interface such as:

!
 interface vlan.0.202
  ip address 10.202.1.1 255.255.255.0 primary management
  no shutdown
  exit

I will change it to 10.202.1.2 as follows

enter configuration mode :

S3 Chassis(su)->configure
S3 Chassis(su-config)->int vlan.0.202
S3 Chassis(su-config-intf-vlan.0.202)->shutdown
S3 Chassis(su-config-intf-vlan.0.202)->no  ip address 10.202.1.1 255.255.255.0
S3 Chassis(su-config-intf-vlan.0.202)->ip address 10.202.1.2 255.255.255.0
S3 Chassis(su-config-intf-vlan.0.202)->no shutdown
S3 Chassis(su-config-intf-vlan.0.202)->

Of course you want to make sure that you are not using the interface that you are changing.