Link to home
Start Free TrialLog in
Avatar of Eprs_Admin
Eprs_AdminFlag for Austria

asked on

Help to move HP config to CISCO

Hi Experts,

now I have a HP switch running -> ProCurve Switch 2510G-48 -> J9280A
We have bought a new switch from CISCO and I have to move the config or create a new config.
The new Switch is -> CISCO 2960-S-48

The basic setup is done and now I need some help with the rest of commands.
Can you assist me here ?
Avatar of James H
James H
Flag of United States of America image

Is the HP just a flat switch or does it have VLAN tagging on it?
Can you post the config to see what needs to be setup on the 2960?
Avatar of Eprs_Admin

ASKER

Yes the HP switch has vlan tagging.

Some ports are tagged -> is this in cisco a trunk port ?
HP Config

vlan 1
   name "DEFAULT_VLAN"
   untagged 1-37,43-44,46-47
   ip address 10.1.2.201 255.255.255.0
   tagged 45
   no untagged 38-42,48
   ip igmp
   exit
vlan 10
   name "SAP"
   untagged 39-42
   no ip address
   ip igmp
   exit
vlan 20
   name "voip"
   untagged 38
   tagged 45
   exit
vlan 953
   name "LWL-WAN"
   untagged 48
   tagged 45
   exit

Open in new window

Avatar of Pete Long
Is port 45 an uplink to another Switch?
I would avoid using VLAN 1, just not recommended.
Creating the other VLAN's are simple enough:

switch# conf t
switch(config)# int vlan (number) <-- no parenthesis. ex. int vlan 953
desc LWL-LAN

This will create the VLAN's in the switch database. Repeat for each VLAN.

Now, it does look like port 45 in an uplink, where does that go?

For each port, from the config prompt:

interface gi1/0/38 (example)
switchport mode access
switchport access vlan 20 (as per your HP switch, port 20 seems to be a VOIP port).
spanning-tree portfast  **Optional but I would add it for safety

to save, either type exit or hit ctrl + z and then type wr mem
yes this port 45 is a link with a fibre cable to another smaller switch.
this port 45 is it a trunk port in cisco,
You see in HP it is a tagged port but not for each vlan.
When I have 4 vlans and a tagged port over 3 vlans, is is a trunk in cisco ?
I used this command in cisco to allow just 3 vlans over the trunk

switchport trunk allow vlan 1,20,953

Right ?
commands:

switchport mode trunk
switchport trunk encap dot1q
switchport trunk allow vlan 1,20,953
ok I will try this. thanks.
ASKER CERTIFIED SOLUTION
Avatar of Pete Long
Pete Long
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

this command is not working on my Cisco switch :

switchport trunk encap dot1q

Do you know why ?
on my cisco I have set

line vty 0 4

But the password is written in plain text in the config. How do I change it ?
I have one HP command : ip igmp

for what is it and do I have to put it on my cisco device ?