- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- Purge VLAN-Config on one Port
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2013 03:55 PM
07-20-2013 03:55 PM
Purge VLAN-Config on one Port
Hello,
i am looking for an easy way to configure a port with a given set of vlans. Background is that I configure the switches via a script using SSH. On Cisco i just set the new VLANs as a per-port-setting, but on my hps (ProCurve 2848 / 2824) using the latest firmware i need to set the tagging per-vlan, so i would need to read which vlans are tagged on one port and unset them on that port using the no-prefix. Thats hard work and i do not like hard (and fuzzy) work.
Related: Can I advise the switch to do some kind of commit? e.g. let me write my new config and applies it after all lines are recieved?
Thank you,
prauscher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2013 09:26 PM
07-20-2013 09:26 PM
Re: Purge VLAN-Config on one Port
Hi prauscher,
If you're working mostly with untagged (access) ports, the story is good: you simply go to the VLAN you want the port to be in, tell it the VLAN is untagged on that port, and it removes it from all the other VLANs. e.g. If port 1 is in VLAN 10 and needs to be in VLAN 20:
vlan 20
untagged 1
If you're dealing with tagged (trunk) ports, it's a lot more complex. You need to remove the tag on one VLAN and add to the other. e.g. If port 1 is tagged in VLAN 10 and needs to be tagged in VLAN 20 instead:
vlan 10
no tagged 1
vlan 20
tagged 1
This is the way the VLAN tagging model works with ProCurve. If you want more Cisco-like behaviour, choose Comware switches instead.
I wrote a set of scripts ot help me with port-to-VLAN assignments on ProCurve. You can find them at https://github.com/paulgear/procurve-rancid
Paul