STP is enabled on ports 8 and 9 : you must disable it at least on these two.
Original Message:
Sent: Aug 20, 2024 05:40 AM
From: raul
Subject: HP 1920 divided into two switches
Hi frmeunier.
I use webgui, but I can try via CLI too.
Below I attach the configuration file
# version 5.20.99, Release 1121# sysname HPE# domain default enable system # ipv6# telnet server enable # ssl version ssl3.0 disable# web idle-timeout 999# password-recovery enable#vlan 1#vlan 21 description VLAN 0021 test#domain system access-limit disable state active idle-cut disable self-service-url disable #user-group system group-attribute allow-guest#local-user admin password cipher ..... authorization-attribute level 3 authorization-attribute user-profile admin service-type lan-access service-type ssh telnet terminal service-type ftp service-type web# stp mode rstp stp enable#interface NULL0#interface Vlan-interface1 ip address 192.168.74.254 255.255.255.0 #interface GigabitEthernet1/0/1 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/2 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/3 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/4 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/5 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/6 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/7 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/8 port link-type hybrid port hybrid vlan 1 21 tagged port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/9 port link-type hybrid port hybrid vlan 1 21 tagged port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/10 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/11 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/12 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/13 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/14 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/15 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/16 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/17 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/18 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/19 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/20 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/21 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/22 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/23 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/24 port access vlan 21 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/25 stp edged-port enable#interface GigabitEthernet1/0/26 stp edged-port enable#interface GigabitEthernet1/0/27 stp edged-port enable#interface GigabitEthernet1/0/28 stp edged-port enable# ip route-static 0.0.0.0 0.0.0.0 192.168.74.1 preference 70# undo info-center logfile enable# ntp-service unicast-server 20.101.57.9# ssh server enable sftp server enable# ip https enable # load xml-configuration #user-interface aux 0 authentication-mode schemeuser-interface vty 0 15 authentication-mode scheme#return
Original Message:
Sent: Aug 14, 2024 03:26 AM
From: frmeunier
Subject: HP 1920 divided into two switches
please give the config you "tried to do" on the 1920 switch.(as what you gave in first post is not valid)
Are you using the webgui or CLI to manage the 1920 ?
------------------------------
Frederic
(kudos welcome)
Original Message:
Sent: Aug 14, 2024 01:20 AM
From: raul
Subject: HP 1920 divided into two switches
Hi frmeunier.
That's what I tried to do. I managed to do it on HP 1920S. But I can't do it on 1920. It looks like there are some configuration features in the old firmware. Any ideas on what to do?
Original Message:
Sent: Aug 07, 2024 09:37 AM
From: frmeunier
Subject: HP 1920 divided into two switches
Hi
So, you want to split a switch in 2, and have a "physical" interconnect between them ?
Strange (1920 is capable of routing) but nevermind :
the only way to do it is :
- disable spanning-tree (if you need STP, you're quite dead) or any other loop protection function.
- don't use hybrid ports for 1/0/8 and 1/0/9 : only access (untagged)
- 1/0/8 access vlan 1
- 1/0/9 access vlan 21
------------------------------
Frederic
(kudos welcome)
Original Message:
Sent: Jun 27, 2024 12:38 AM
From: raul
Subject: HP 1920 divided into two switches
Hello,
There is an HP 1920 switch with 24 ports, and it needs to be divided into two separate virtual switches. For example, port 1-8 is vlan 1, and port 9-24 is vlan 21. Both Vlans must use the same subnet, for example 10.0.0.1/24. Gateway 10.0.0.1 is plugged into port 1, computer 10.0.0.21 is plugged into port 21. Access of computer 10.0.0.21 to gateway 10.0.0.1 should appear only if both vlan-based virtual switches are connected via port 8 - 9.
#vlan 1#vlan 21 description VLAN 0021 test#interface GigabitEthernet1/0/1 - 7 port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/8 port link-type hybrid port hybrid vlan 1 21 tagged port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/9 port link-type hybrid port hybrid vlan 1 21 tagged port auto-power-down stp edged-port enable#interface GigabitEthernet1/0/10 - 24 port access vlan 21 port auto-power-down stp edged-port enable#