HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Web and Unmanaged
cancel
Showing results for 
Search instead for 
Did you mean: 

VLAN on HP 1920

 
LarryS
Occasional Advisor

VLAN on HP 1920

I am new to VLANs.  We have an HP 1920 Managed Switch.  We defined a VLAN - VLAN 100, tag 100.  We then selected all ports and tagged them for this VLAN.  Now I cannot access the switch to manage it.  I also cannot ping it.  The network is fine - I can ping other devices.  How can I get back into the switch?  Factory reset?

9 REPLIES
Crazy_Diamond
Occasional Advisor

Re: VLAN on HP 1920

Did you assign an IP address to the VLAN100 interface on the switch? You will need to do that to be able to manage the switch

LarryS
Occasional Advisor

Re: VLAN on HP 1920

I assigned a static IP on the switch before I tagged the ports for the
VLAN, so I presume it is part of the default VLAN. I do not know which
port the address is assigned to.. I did not assign an address to VLAN100.

--

Larry Standard
ArchTech Computers
larry@archtechcomputers.com
912-328-4902 Office
912-396-1028 Cellular
LarryS
Occasional Advisor

Re: VLAN on HP 1920

I assigned a static IP on the switch before I tagged the ports for the VLAN, so I presume it is part of the default VLAN.  I do not know which port the address is assigned to..  I did not assign an address to VLAN100. 

LarryS
Occasional Advisor

Re: VLAN on HP 1920

How would I assign an IP address to the VLAN100 interface?  Do you know the CLI commands to do so?

Dunky
Regular Advisor

Re: VLAN on HP 1920

Define the interface...

interface Vlan-interface100

 ip address 192.168.100.2 255.255.255.0

 

then add a route so you can access the switch from other VLANs....

 ip route-static 0.0.0.0 0.0.0.0 Vlan-interface100 192.168.100.1

 

Then control what IP's can access the switch thru http:

acl number 2000

 description HTTP Access to 

 rule 10 permit source 192.168.100.0 0.0.0.255

 rule 20 permit source 10.124.3.0 0.0.0.255

 rule 30 permit source 10.125.3.4 0

 ip http acl 2000

 

 

and if you want access to the CLi via TELNET...

telnet server enable

 

Hope that helps

LarryS
Occasional Advisor

Re: VLAN on HP 1920

Thanks for the help Dunky.  I am sure that will resolve my issue (I currently do not have console access - waiting on a console cable to be attached)..  

Larry

Dunky
Regular Advisor

Re: VLAN on HP 1920

Hi Larry,

Cant you factory reset it and then connect to the Ip address thats printed on the back of the switch?

Connect via Web interface to 169.254.n.n; where n.n is last 6 characters of MAC address.

The default IP address is also printed on the back of the unit.

e.g. 2C-23-3A-7F-FC-06 = 169.254.252.6

LarryS
Occasional Advisor

Re: VLAN on HP 1920

I can do so after hours (this is a production switch) if we need to.  I should be able to log in to the console and then run the commands that you sent once we have a console cable attached.  

Dunky
Regular Advisor

Re: VLAN on HP 1920

Been a while since I configured one from scratch, but I think you should be able to telnet to it once youve given it an ip address/interface via the web gui.  i.e. you shouldnt need a console cable.