< -- BuySellAds Ad Code ALLEN -->
  • Home
  • HP Procurve
  • How To Disable and Enable Ports on the E-Series and A-Series Switches from HP

How To Disable and Enable Ports on the E-Series and A-Series Switches from HP

Below you will find commands on how to disable and enable ports on the HP procurve E-series and the A-series. This can be done on individual ports, ranges or you can actually disable or enable all of the ports.

Disable And Enable Ports On The A Series Switch

First to disable a single port on the a series switch we use the command below. These commands must be ran in system mode.

interface g1/0/1 shutdown

or go into the port by entering the interface context..

int g1/0/1

then

sh

Those commands will shutdown port g1/0/1 To enable it again we use the command below.

interface g1/0/1 no shutdown

or go into the interface again and run

undo sh

If we need to shutdown all of the ports on the switch then we create a port group.When we do so we give the group a name. in this example we will call it “off”

port-group manual off

So we are now in the off port group. We now add ports to be members with the command below.

group-member g1/0/1 to g1/0/24

that has added ports 1 to 24 to the off group. We now simply use the SH command when we are in the group to disable all the ports.

sh

Again to enable the ports again issue the no shutdown command.

undo sh

Disable And Enable Ports On The E Series Switch

This to me is a lot more simple on the e series than the a. Again to disable a single port use the command below.

int x disable

Where x is the ports you would like to shutdown.To disable multiple ports then use the command below.

 int 1,2,7,4,11,6 disable

Notice the comma`s between the ports. To disable contiguous ports use the – command.

int 1-20 disable

That will disable all ports from one to 20. To enable ports again, simply replace “disable” with enable.

int 1-20 enable

Allen White

Allen is an IT Consultant and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5, 6 and HP ASE, AIS - Network Infrastructure.

Leave a comment

Categories

Vote!

What Web Browser Do You Use?

View Results

Loading ... Loading ...

Vote!

What do you prefer..VMware or Hyper-V?

View Results

Loading ... Loading ...