- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: Scripting in HP Procurve Switch
Switches, Hubs, and Modems
1753373
Members
5252
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО11-10-2004 07:36 AM
тАО11-10-2004 07:36 AM
Hi,
I'd like to write a script to assigning security per port in a Procurve. The situation is: in my company we activate the security per each port, and is configured to allow only 1 device with its MAC. When a PC is changed we have to use the web interface to delete the old MAC and we are looking some solution to automate the process. Can I execute scripts in a Procurve? How?
Thanks
I'd like to write a script to assigning security per port in a Procurve. The situation is: in my company we activate the security per each port, and is configured to allow only 1 device with its MAC. When a PC is changed we have to use the web interface to delete the old MAC and we are looking some solution to automate the process. Can I execute scripts in a Procurve? How?
Thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2004 06:21 PM
тАО11-10-2004 06:21 PM
Solution
Hello,
The firmware of the 2600, 2800, 3400 and 5300 series now support Mac, web and 802.1x authentication. Mac adresses are checked against a radius server (MS IAS, Funk steel belted, Radiator, Free-radius, etc etc) and the authenticated client can dynamicly put in a vlan.
Mac authentication is not a strong security mechanism, its better to move up to 802.1x.
So using radius together with mac authentication you can easily automate your security.
The firmware of the 2600, 2800, 3400 and 5300 series now support Mac, web and 802.1x authentication. Mac adresses are checked against a radius server (MS IAS, Funk steel belted, Radiator, Free-radius, etc etc) and the authenticated client can dynamicly put in a vlan.
Mac authentication is not a strong security mechanism, its better to move up to 802.1x.
So using radius together with mac authentication you can easily automate your security.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2004 07:52 PM
тАО11-11-2004 07:52 PM
Re: Scripting in HP Procurve Switch
I agree with Sietze that moving to a radius solution is better, but if you still need scripting, you can use the cli for that.
Make a script which opens a telnet session, and excutes commands.
There are lots of ways to do that, examples:
- perl with the Net::Telnet module (http://search.cpan.org/~jrogers/Net-Telnet-3.03/lib/Net/Telnet.pm)
- Expect (http://expect.nist.gov/)
- VBscripting (example: http://www.vandyke.com/support/crt/scripts/connect_telnet_vbs.txt)
Also. You can use ProCurve Manager Plus for executing CLI commands to multiple switches at once. Only drawback is the lack of variables.
Make a script which opens a telnet session, and excutes commands.
There are lots of ways to do that, examples:
- perl with the Net::Telnet module (http://search.cpan.org/~jrogers/Net-Telnet-3.03/lib/Net/Telnet.pm)
- Expect (http://expect.nist.gov/)
- VBscripting (example: http://www.vandyke.com/support/crt/scripts/connect_telnet_vbs.txt)
Also. You can use ProCurve Manager Plus for executing CLI commands to multiple switches at once. Only drawback is the lack of variables.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP