-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Notebooks Archive
- How to configure a protected port for HP 2520G switch?

Create an account on the HP Community to personalize your profile and ask a question

07-31-2012 09:01 AM
As the question stated.
I've read the description of protected port from the features
"Protected ports: prevents designated ports from communicating with each other while allowing access to unprotected ports"
What's the procedure of configuring it?
07-31-2012 10:00 AM
Hi,
this command on the switch solves:
Syntax: [no] protected-ports <port-list>
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02563912/c02563912.pdf
Page 336 - Configuring Protected Ports
07-31-2012 10:09 AM - edited 07-31-2012 10:12 AM
Configuring Protected Ports
There are situations where you want to provide internet access to users but prevent them from accessing each other. To achieve this control, you can use the protected-ports command.The command applies per-port, and filters the outbound traffic from a port. This allows the configuration of two port groups on a switch—protected ports and unprotected ports. The ports have these characteristics:
- Traffic from protected ports is not forwarded to other protected ports.
- Protected ports can communicate with unprotected ports, but not with each other.
- Unprotected ports can communicate with all ports.
- The protected-ports command applies to logical ports (trunks as well as untrunked ports)
Note: you must configure a minimum of 2 ports on these switches.
Syntax:
[no] protected-ports <port-list>
Prevents the selected ports from communicating with each other. You must configure two or more ports.
no protected-ports all
Clears the protection from all ports; all ports can now communicate with each other.
Figure 9-20. Example of Protected Ports Command
To display information about which ports have been configured as protected ports, enter this command:
ProCurve(config)# show protected-ports
Figure 9-21. Example Showing Protected Ports and Unprotected Ports
If you display the running config file (show running-config) you will see the ports that have been selected as protected ports.
Figure 9-22. Example of Running Config File Showing Protected Ports
In the example in Figure 9-23, ports 1 through 8 are protected. Port 2 connects
to Room 2 and Port 4 connects to Room 4. Ports 9 and 10 are unprotected and
provide access to the internet. Ports 2 and 4 are able to access the internet,
but are not able to communicate with each other or any of the other rooms
that are connected to protected ports.
Figure 9-23. Example With Ports 1-8 Protected and Ports 9 and 10 Unprotected
Full guide here: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02563879/c02563879.pdf
