enjay Posted May 28, 2015 Posted May 28, 2015 I'm not that familiar with VLANs and switch config, so hopefully this is a nice simple question... On a switch, ports 14-47 are untagged to VLAN180, I want to change 16 to VLAN88, but can't work out how. If I untag it to VLAN88 nothing happens, presumably because it is untagged in VLAN180 already, but I can't see how to untag it from VLAN180. I tried "no untagged 16", but that didn't work (although it didn't give any error code, either) so I tried "no untagged 14-47" (with the intention of the re-untagging 14-15 and 17-47) but that didn't work, saying it would have orphaned the ports. So, how do I change port 16 so it is no longer untagged in VLAN180 but is untagged in VLAN88 instead?
GeekyPete Posted May 28, 2015 Posted May 28, 2015 HP Switch? Try VLAN180 no untagged 16 VLAN88 untagged 16
howartp Posted May 28, 2015 Posted May 28, 2015 On HP you shouldn't need to 'no' untag anything. As a port can only be untagged in one vlan, just untagging it in the new vlan is enough. (This wouldn't be true for tagging, but it is for untagging) Vlan 88 Untagged 16 Exit
enjay Posted May 29, 2015 Author Posted May 29, 2015 The switches are HP Procurve 2510. I tried the commands you both suggest, and neither worked.
howartp Posted May 29, 2015 Posted May 29, 2015 can you type: "show run" and paste the output here, or in a pm? (I don't think this exposes anything security wise) Peter
enjay Posted May 29, 2015 Author Posted May 29, 2015 That's strange. I've just logged back in to the switch to do the "show run" for Peter, and the config is now correct. Would my changes not have shown up until a logout?
howartp Posted May 29, 2015 Posted May 29, 2015 No, everything should change and go live as soon as you press enter. The switch will be running from the config in RAM at this point, and any change you make is instantly live. When you reboot the switch, it will revert back to the config stored on disk/rom/whatever is inside the switch. This is by design in case you make a bad config choice - rebooting the switch will revert it to what was previously working before you made changes. Therefore when you have tested the change and are happy with it, you need to type 'write mem' to commit it to disk - this will then be stored and used if you reboot the switch at any time. Peter
enjay Posted May 29, 2015 Author Posted May 29, 2015 Do "show run" and "show conf" do different things? After making the changes, I checked them with "show conf", and it didn't appear to have done anything. Should I have done "show run" to check instead?
howartp Posted May 29, 2015 Posted May 29, 2015 "show run" is the running config in RAM. "show conf" is the stored config on disk. Once you do "write mem" they should both match. Peter
howartp Posted May 29, 2015 Posted May 29, 2015 So yes, when you are testing and making changes, you should mainly use 'show run'. The only time I use 'show conf' is if I want to see what effect a change has made, between the running and stored configs.
howartp Posted May 29, 2015 Posted May 29, 2015 Also make sure your in config mode by running conf t The vlan commands would be erroring if he wasn't already in config mode. Peter
enjay Posted May 29, 2015 Author Posted May 29, 2015 So yes, when you are testing and making changes, you should mainly use 'show run'. See? I said it would probably be a simple thing! Thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now