cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1382
Views
0
Helpful
8
Replies

Trunk and Vlan between Cisco c2960xr and a hp 1920.

erdosain99
Level 1
Level 1

Hi to all.

I want to config trunk and vlan between a cisco catalyst c2960xr and a hp 1920.

I do this:

Cisco

interface GigabitEthernet1/0/48
 switchport trunk native vlan 200
 switchport trunk allowed vlan 6,10,100,151,209
 switchport mode trunk

 

And this in the HP

 

interface GigabitEthernet1/0/9
port link-type trunk
port trunk permit vlan 10 100 151 209
port trunk pvid vlan 200
port auto-power-down
stp edged-port enable
undo ntdp enable

 

And thats all... and... is not working.

Can you give me a hand???

 

Thanks to all.

8 Replies 8

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Not familiar with HP but several questions?

Is the interface between Cisco and HP in up and up mode?

On the Cisco, you have the following line but on the HP side you are missing vlan 6

switchport trunk allowed vlan 6,10,100,151,209

port trunk permit vlan 10 100 151 209

What vlan are you using for testing?

Where is the SVI for that vlan?

Is that vlan in up and up mode?

What IP range are you using for that vlan?

How are you testing and how do you know it is not working?

HTH

 

Hi and thanks
Is the interface between Cisco and HP in up and up mode?
Yes
GigabitEthernet1/0/48 unassigned YES unset up up
The hp too.
On the Cisco, you have the following line but on the HP side you are missing vlan 6
Yes, my mistake (but i change that and nothing change)
What vlan are you using for testing?

Im connected from vlan 6 and doing ping to pc i have connected in each port for vlan 100,151,209.
Where is the SVI for that vlan?
Thi is the all cisco config
interface FastEthernet0
no ip address
shutdown
!
interface GigabitEthernet1/0/1
switchport access vlan 1000
switchport mode access
!
interface GigabitEthernet1/0/2
switchport access vlan 1000
switchport mode access
!
interface GigabitEthernet1/0/3
switchport access vlan 1000
switchport mode access
!
interface GigabitEthernet1/0/4
switchport access vlan 1000
switchport mode access
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
!
interface GigabitEthernet1/0/13
!
interface GigabitEthernet1/0/14
!
interface GigabitEthernet1/0/15
interface GigabitEthernet1/0/16
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
!
interface GigabitEthernet1/0/25
!
interface GigabitEthernet1/0/26
!
interface GigabitEthernet1/0/27
!
interface GigabitEthernet1/0/28
!
interface GigabitEthernet1/0/29
!
interface GigabitEthernet1/0/30
!
interface GigabitEthernet1/0/31
!
interface GigabitEthernet1/0/32
!
interface GigabitEthernet1/0/33
!
interface GigabitEthernet1/0/34
!
interface GigabitEthernet1/0/35
!
interface GigabitEthernet1/0/36
interface GigabitEthernet1/0/37
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/38
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/39
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet1/0/40
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/41
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/42
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet1/0/43
switchport access vlan 151
switchport mode access
!
interface GigabitEthernet1/0/44
switchport access vlan 151
switchport mode access
!
interface GigabitEthernet1/0/45
switchport access vlan 209
switchport mode access
!
interface GigabitEthernet1/0/46
switchport access vlan 209
switchport mode access
!
interface GigabitEthernet1/0/47
switchport access vlan 1000
switchport mode access
!
interface GigabitEthernet1/0/48
switchport trunk native vlan 200
switchport trunk allowed vlan 6,10,100,151,209
switchport mode trunk
!
interface GigabitEthernet1/0/49
!
interface GigabitEthernet1/0/50
!
interface GigabitEthernet1/0/51
!
interface GigabitEthernet1/0/52
!
interface Vlan1
no ip address
!
interface Vlan6
no ip address
shutdown
!
interface Vlan1000
ip address 192.168.1.250 255.255.255.0
!
ip http server
ip http secure-server


The first four port are in the vlan 1000 and that is how is working now. the cable utp that is attached to that port is in another switch, so there is no problem.
and we have another in port 48 that we want to be trunk (that is a fiber throug media converter).

What could be happend?
Thanks for your time.
(sorry i dont speak well english)



And this is not strange??

Switch#show interfaces gigabitEthernet 1/0/48 sw
Name: Gi1/0/48
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 200 (troncales)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: 6,10,100,151,209
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none

Hello,

 

on a side note, the Cisco switch runs PVST+ by default (which is Cisco proprietary), make sure your Cisco and the HP both run something like MSTP. The spanning tree modes need to match...

Hi.

I put spannig tree rapid pvst

and nothing

Another idea??

Thanks

Hello

The Hp config for a trunk doesn't look correct;

 

Can you try:
trunk 9 trk1  <----port 9 into a trunk
vlan 6 tagged trk1
vlan 10 tagged trk1
vlan 151 tagged trk1
vlan 209 tagged trk1
vlan 200 untagged trk1 < for native vlan 200>

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

hi, sorry but, why dosent look correct??

 

the port 9 is trunk mode and the vlan native is 200.

So, i dont get it.

Thanks

Hello 

probably me - been long time I used HP kit

Commands have change I guess

 

what is noticeable iypur  port is set to an STP port edge which in stp speak it isn’t an edge should be P2P 

 

res

paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking products for a $25 gift card