Jump to content

Recommended Posts

Posted

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?

Posted

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

Posted
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?
Posted

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

Posted
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?
Posted

"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

Posted

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.

Posted
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

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...