Command line configuration of HP V1910

Hello,

I am needing to configure HP V1910-24G switch. I realised its web based  but is there a way to configure it using command line.

Port 1-2 LACP Trunk 1from SW 1
Port 3-4 LACP Trunk 2 from SW 2
Port 5-6 LACP Trunk 2 from SW 2

and do some basic routing or acl.

Any advise?

london-net.png
SYN ACKSnr Analyst Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JustInCaseCommented:
Try this articles.
HP v1910 Secret Commando list ( how to enable it )
HP V1910 - How to Enable Full Command Line Access for SSH or Telnet Management
I did not need it, so I did not try it, so I hope that it helpful.
SYN ACKSnr Analyst Author Commented:
I know v1910 can export and import config. Below is the what I am currently working on.

One of my HP 2620 config is below (only showing relevant parts)

trunk 49-50 trk1 lacp

interface 49
   name "LACP Link to Main SW SW01"
   exit
interface 50
   name "LACP Link to Main SW SW01"
   exit

vlan 1
   name "DEFAULT_VLAN"
   untagged 1-46,49-52,Trk1
   ip address 172.31.70.2 255.255.254.0
   exit
vlan 10
   name "RAIL"
   tagged 49-50,Trk1
   no ip address ; to be decided.
   exit


All 3 x 2620

I simply need two switch to communicate and pass vlan info.

I am getting all nervous because I am running behind.

I am not sure or understand active and dynamic and static LACP too and is confusing and also if STP should be enabled for this? v1910 ports 1-2, 3-4, 5-6 are uplinks from 3x2620.

#
 version 5.20, Release 1513P99
#
 sysname lon-sw-01
#
 domain default enable system
#
 ip ttl-expires enable
#
 password-recovery enable
#
vlan 1
 description VLAN 1
#
vlan 10
 description VLAN 10
#
domain system
 access-limit disable
 state active
 idle-cut disable
 self-service-url disable
#
user-group system
#
local-user admin
 authorization-attribute level 3
 service-type ssh telnet terminal
 service-type web
#
 stp mode rstp
 stp enable
#
interface Bridge-Aggregation1
 link-aggregation mode dynamic
#
interface Bridge-Aggregation2
 link-aggregation mode dynamic
#
interface Bridge-Aggregation3
 link-aggregation mode dynamic
#
interface NULL0
#
interface Vlan-interface1
 ip address 172.31.70.2 255.255.254.0
#
interface GigabitEthernet1/0/1
 port link-type trunk
 port trunk permit vlan 1 10
 poe enable
 stp edged-port enable
 port link-aggregation group 1
#
interface GigabitEthernet1/0/2
 port link-type trunk
 port trunk permit vlan 1 10
 poe enable
 stp edged-port enable
 port link-aggregation group 1
#
interface GigabitEthernet1/0/3
 port link-type trunk
 port trunk permit vlan 1
 poe enable
 stp edged-port enable
 port link-aggregation group 2
#
interface GigabitEthernet1/0/4
 port link-type trunk
 port trunk permit vlan 1
 poe enable
 stp edged-port enable
 port link-aggregation group 2
#
interface GigabitEthernet1/0/5
 port link-type trunk
 port trunk permit vlan 1
 poe enable
 stp edged-port enable
 port link-aggregation group 3
#
interface GigabitEthernet1/0/6
 port link-type trunk
 port trunk permit vlan 1
 poe enable
 stp edged-port enable
 port link-aggregation group 3
#
interface GigabitEthernet1/0/7
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/8
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/9
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/10
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/11
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/12
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/13
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/14
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/15
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/16
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/17
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/18
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/19
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/20
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/21
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/22
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/23
 poe enable
 stp edged-port enable
#
interface GigabitEthernet1/0/24
 poe enable
 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
#
user-interface aux 0
 authentication-mode scheme
user-interface vty 0 15
 authentication-mode scheme
#
return
JustInCaseCommented:
Link Aggregation and LACP basics.
Static Link Aggregation

With a static link aggregate, all configuration settings will be setup on both participating LAG components.
Comment: VMware ESX 4.0 exclusive supports static link aggregation.[7]

Dynamic Link Aggregation: Link Aggregation Control Protocol (LACP)

Link Aggregation Control Protocol (LACP) allows the exchange of information with regard to the link aggregation between the two members of said aggregation. This information will be packetized in Link Aggregation Control Protocol Data Units (LACDUs).

Each individual port can be configured as an active or passive LACP using the control protocol.

- Passive LACP: the port prefers not transmitting LACPDUs. The port will only transmit LACPDUs when its counterpart uses active LACP (preference not to speak unless spoken to).
- Active LACP: the port prefers to transmit LACPDUs and thereby to speak the protocol, regardless of whether its counterpart uses passive LACP or not (preference to speak regardless).
If both sides are passive it will not form trunk between switches.

I guess that you want to run STP (or MSTP) on those ports, otherwise if something is wrong with configuration what will stop network loops. I remeber that I read some article how to interconnect Cisco and HP switches with LACP running STP, since STP is differently calculated by vendors.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Architecture

From novice to tech pro — start learning today.