Comware Based
1825795 Members
2181 Online
109687 Solutions
New Discussion

Re: Changing IP address on a VLAN

 
SOLVED
Go to solution

Changing IP address on a VLAN

This question is for version 7 running on a HPE 5900 AF.

i know this sounds like a basic question but I cannot find in the layer2 or layer3 documentation how to do this.

I have a vlan interface with an ip address associated

"interface Vlan-interface10
  ip address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx"

How do I change the ip-address?

Thanks

 

 

2 REPLIES 2
parnassus
Honored Contributor
Solution

Re: Changing IP address on a VLAN

Hi, simply enter VLAN 10 context and execute the ip address n.n.n.n m.m.m.m command where the former (n.n.n.n) is the IP Address you want to assign to that VLAN id and the latter (m.m.m.m) represents its Subnet Mask...or, if the new IP address n.n.n.n overlaps with the existing one you're trying to replace, execute, always inside the VLAN 10 context, first the undo ip address command followed by the ip address n.n.n.n m.m.m.m command.

I'm not an HPE Employee
Kudos and Accepted Solution banner

Re: Changing IP address on a VLAN

Thanks parnassus. Will do