HPE Aruba Networking & ProVision-based
1830627 Members
2578 Online
110015 Solutions
New Discussion

Vlan Issues Cisco 6509 and HP 2920

 
Drew Virgili
Occasional Visitor

Vlan Issues Cisco 6509 and HP 2920

Hello all,

 

I need help getting my HP switch to work with my Cisco 6509. The 6509 is our core switch and does all of our routing and it currently has somewhere around 15-20 VLAN's setup on it. What I want to do is setup the HP switch with the same VLAN's that are on our core switch and just have all traffic go to the core switch for the routing. 

 

Current HP Config: 

 

HP-2920-48G-POE+# sh run

 

Running configuration:

 

; J9729A Configuration Editor; Created on release #WB.15.13.0005

; Ver #05:08.e3.ff.35.0d:29

 

hostname "HP-2920-48G-POE+"

module 1 type j9729a

ip default-gateway 172.17.1.253

snmp-server community "public" unrestricted

oobm

   ip address dhcp-bootp

   exit

vlan 1

   name "DEFAULT_VLAN"

   no untagged 1

   untagged 2-47,A1-A2,B1-B2

   tagged 48

   no ip address

   exit

vlan 10

   name "VLAN10"

   untagged 1

   tagged 48

   ip address 172.17.1.143 255.255.252.0

   exit

HP-2920-48G-POE+#

 

Current Cisco config for the port that the HP plugs into:

 

Core_Switch#sh run int gi3/18

Building configuration...

 

Current configuration : 409 bytes

!

interface GigabitEthernet3/18

 switchport

 switchport trunk encapsulation dot1q

 switchport trunk native vlan 10

 switchport mode trunk

 wrr-queue cos-map 2 1 1 2

 wrr-queue cos-map 3 5 3 4

 wrr-queue cos-map 3 7 6 7

 rcv-queue cos-map 1 2 1

 rcv-queue cos-map 1 3 2

 rcv-queue cos-map 1 4 3

 rcv-queue cos-map 1 5 4

 rcv-queue cos-map 1 6 5

 rcv-queue cos-map 1 7 6

 rcv-queue cos-map 1 8 7

end

 

Core_Switch#

 

I put the HP switch on VLAN 10 which is where we have all of our current switchs on. When I plug a laptop into port 1on the HP switch I cannot ping the core switch or anything else on that VLAN 10. Any ideas are greatly appreciated.

8 REPLIES 8
EckerA
Respected Contributor

Re: Vlan Issues Cisco 6509 and HP 2920

Hi,
the Uplinkport is port 48 on the HP switch?
If it is, then in VLAN 10 you should untagg the port, coz switchport trunk native vlan 10 means that you have it untagged in that vlan...

hth
Alex
Chrisd131313
Trusted Contributor

Re: Vlan Issues Cisco 6509 and HP 2920

Change your native vlan on the Cisco to VLAN 1 so it marries up with your native VLAN on the HP and then you can add VLAN 10 to the uplink port with the following command...

 

Switchport trunk allow vlan 10

 

then the connection between the two switch will pass tagged VLAN 10 traffic.

 

HTH

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.
Drew Virgili
Occasional Visitor

Re: Vlan Issues Cisco 6509 and HP 2920

Thanks for the replies guys! Unfortunately it still doesn't work. Here's the latest configs:

 

HP:

 

HP-2920-48G-POE+# sh run

Running configuration:

 

; J9729A Configuration Editor; Created on release #WB.15.13.0005

; Ver #05:08.e3.ff.35.0d:29

 

hostname "HP-2920-48G-POE+"

module 1 type j9729a

trunk 48 trk1 trunk

ip default-gateway 172.17.1.253

snmp-server community "public" unrestricted

oobm

   ip address dhcp-bootp

   exit

vlan 1

   name "DEFAULT_VLAN"

   no untagged 1

   untagged 2-47,A1-A2,B1-B2,Trk1

   no ip address

   exit

vlan 10

   name "VLAN10"

   untagged 1

   ip address 172.17.1.143 255.255.252.0

   exit

primary-vlan 10

spanning-tree Trk1 priority 4

 

HP-2920-48G-POE+#

 

Cisco:

 

Core_Switch#sh run int gi3/18

Building configuration...

 

Current configuration : 443 bytes

!

interface GigabitEthernet3/18

 switchport

 switchport trunk encapsulation dot1q

 switchport trunk native vlan 10

 switchport trunk allowed vlan 10

 switchport mode trunk

 wrr-queue cos-map 2 1 1 2

 wrr-queue cos-map 3 5 3 4

 wrr-queue cos-map 3 7 6 7

 rcv-queue cos-map 1 2 1

 rcv-queue cos-map 1 3 2

 rcv-queue cos-map 1 4 3

 rcv-queue cos-map 1 5 4

 rcv-queue cos-map 1 6 5

 rcv-queue cos-map 1 7 6

 rcv-queue cos-map 1 8 7

end

 

Core_Switch#

 

If you need more of the Cisco config please let me know.

Drew Virgili
Occasional Visitor

Re: Vlan Issues Cisco 6509 and HP 2920

I actually figured it out. Once I created the trunk group I never added it to the vlan. I added it to VLAN 10 and all seems to be working now. Thanks for your help!!!

Chrisd131313
Trusted Contributor

Re: Vlan Issues Cisco 6509 and HP 2920

Hi,

 

If you want to use VLAN #10 as your native and primary VLAN then you need to remove "switchmode trunk allowed valn 10" from the Cisco.  But as you have trk1 as untaged on VLAN #1 on the HP that will be an issue as you can't have two VLANs untagged on the same port.

 

I you are not bothered about having native/primary on the same VLAN then I would do teh following..

 

On the HP...

 

vlan 10 tagged trk1

no primary-vlan 10

 

On the Cisco

 

switchmode trunk allowed vlan 10

no switchmode trunk native vlan 10

 

Then connecting a device to HP port 1 on the HP switch should be able to communicate with any devices you have attached to VLAN 10 on the Cisco - aslong as the port is set to access "switchpot mode access".

 

If you want to have the primary/native VLAN as 10 then trk1 on the HP switch will need to be untagged in VLAN #10 not VLAN #1 as you currently have it.

 

HTH

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.
Chrisd131313
Trusted Contributor

Re: Vlan Issues Cisco 6509 and HP 2920

Cool, glad ya got it sorted.

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.
Drew Virgili
Occasional Visitor

Re: Vlan Issues Cisco 6509 and HP 2920

Just one more quick question actually. When I create more VLAN's should I also untag the trk1 in those vlans? I created a vlan 116 and set port 2 as untagged and trk1 as tagged. I then plugged my laptop into it and I'm not getting a dhcp address like I should be.

Chrisd131313
Trusted Contributor

Re: Vlan Issues Cisco 6509 and HP 2920

If you have set VLAN 10 as native/primary then VLAN #116 will have to be tagged on the HP switch and allowed on the Cisco.

 

Ifteh DHCP server is on a specific VLAN you will then need to setup a DHCP helper entry in the router so it knows where to send DHCP client requests to. Out of curiosity, what device are you using to route between the VLANs (Layer3 routing)?

 

Without a Layer3 routing device you will not be able to communicate across VLANs, they will be logically seperate from each other.

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.