1752670 Members
5739 Online
108789 Solutions
New Discussion

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 9
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.