Link to home
Start Free TrialLog in
Avatar of iTeam HelpDesk
iTeam HelpDesk

asked on

VLAN Issue - Cisco 2960/HP 2520G

So here is my issue.  I have a NEC VOIP phone that uses VLAN 7 for communication and passes untagged traffic to the computer.
This Phone is plugged into a Brand New Cisco Catalyst 2960 that is behind a ProCurve Switch 2520.  The Procurve is setup with VLAN on the Fiber Port going to the Cisco SFP Fiber Port 28.  I need to enable VLAN 7 on all ports.  This is what I have tried so far on all ports.  What am I missing?

switchport access vlan 7
 switchport trunk allowed vlan 1,7
 switchport mode trunk
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

The way you configured it, you enabled VLAN 7 on port as tagged traffic, however VLAN 1 is untagged by default, I guess that should not be issue, but I don't know what NEC phone expect (maybe data traffic should also be tagged?).
Maybe you are looking in wrong direction is VLAN 7 enabled on trunk. What is your real issue?
ASKER CERTIFIED SOLUTION
Avatar of Lopo Pegado
Lopo Pegado

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
Avatar of iTeam HelpDesk
iTeam HelpDesk

ASKER

Here is the current configuration.  I made the changes that you suggested Lopo.  These phones work fine on the HP but not on the cisco attached to the HP.  Port 28 is my SFP Fiber coming from the HP.  Port 22 is the phone.  I can ping the gateway for the phone just fine.  But the NEC InaSet 320C is setup to communicate on VLAN 7 and pass untagged to the PC.

!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname 17-1-4
!
boot-start-marker
boot-end-marker
!
enable secret 5
enable password 7
!
no aaa new-model
clock timezone UTC -7 0
switch 1 provision ws-c2960x-24ps-l
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
!
!
vlan internal allocation policy ascending
!
!
!
!
!
!
interface FastEthernet0
 no ip address
 shutdown
!
interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
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
 switchport voice vlan 7
 mls qos trust dscp
 spanning-tree portfast
!
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 Vlan1
 ip address 172.31.149.125 255.255.0.0
!
ip default-gateway 172.31.150.218
ip http server
ip http secure-server
!
!
!
!
line con 0
line vty 0 4
 password 7
 login
line vty 5 15
 password 7
 login
!
end
You did not configure trunk to other switch. You have only access ports beside that one.
On interface that is connected to HP switch you should configure trunk the same way as that port to be able to comunicate with VLAN 7 devices on HP switch (also HP switch should have tagged interface on port on the other side for VLAN 7.
if you issue
#sh vlan
you will see that all ports are access ports in VLAN 1
# sh int trunk
Will list you only port gi1/0/22 as a trunk.
THis is what I see right now.

17-1-4#sh vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi1/0/1, Gi1/0/2, Gi1/0/3
                                                Gi1/0/4, Gi1/0/5, Gi1/0/6
                                                Gi1/0/7, Gi1/0/8, Gi1/0/9
                                                Gi1/0/10, Gi1/0/11, Gi1/0/12
                                                Gi1/0/13, Gi1/0/14, Gi1/0/15
                                                Gi1/0/16, Gi1/0/17, Gi1/0/18
                                                Gi1/0/19, Gi1/0/20, Gi1/0/21
                                                Gi1/0/22, Gi1/0/23, Gi1/0/24
                                                Gi1/0/25, Gi1/0/26, Gi1/0/27
                                                Gi1/0/28
7    phones                           active    Gi1/0/22
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
7    enet  100007     1500  -      -      -        -    -        0      0

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 tr    101003     1500  -      -      -        -    -        0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trnet 101005     1500  -      -      -        ibm  -        0      0

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

17-1-4#sh int trunk
17-1-4#
Yap, there is no trunk on interface to HP switch, you need to configure it.

And this port configuration may not work with your phone, maybe you will need to configure port like in the first post

interface GigabitEthernet1/0/22
 switchport voice vlan 7
 mls qos trust dscp
 spanning-tree portfast

Maybe it will, but there is no guaranties. Configure trunk like you did in the first post on interfaces that conects this switch to HP switch. Also port on HP switch should be tagged for VLAN 7, and untagged VLAN 1.
Hi iTeam,

Kindly confirm if the above suggestions by the expert were implemented.
Below should be the layman exhibit of your network.User generated image
SOLUTION
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
The following configuration worked great.  I was originally confused because this was what I had done before except the portfast.  BUT the portfast had made a quick discovery on the original issue.  See, with portfast you CANNOT have more than one Router to Router port.  Anything more than that will cause a loop and it kept crashing the HP switch.  This had shown me that we had a loop on our fiber network which we had though were going to separate switches. We were wrong of course.  Can't wait to start our fiber mapping.  I quickly remedied and all was well again.  Thank you for all your EE Team.

switchport access vlan 1  
switchport voice vlan 7
mls qos trust dscp
spanning-tree portfast
Thank you Lopo and PredRag.  Lopo was right on the money in his post.  Predrag, I appreciate your input as you had done the same thing I did a couple days ago.  What I found out with enabling trunk though is it doesn't work so well with our configuration for some reason.  The phones would still not work.  Once I change all the switches to Cisco's, you solution is more viable.  Thanks again guys.
Once I change all the switches to Cisco's, you solution is more viable.
No. There is no need for that. I thought that those phones will not work with current configuration (switchport voice), that was the only reason for that configuration. All phones should work with trunk configuration... (Cisco's implementation is not available on other vendors devices). Cisco actually has 4 configuration templates for IP phones, and your current implementation is preferred...
Since you have mix of HP and Cisco switches you should configure MSTP instead STP or RSTP (compatibility reasons).