cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
523
Views
0
Helpful
6
Replies

Vlan issues

dconstantino
Level 4
Level 4

I feel dumb about asking but I can not figure this one out I have done 100 of these I am drawing a blank.

I have attached my 3725 config and 3560-48.

I am configuring 2 vlan 1 data and 1 voice.

I can not ping my CCM Servers on Vlan 2 from the router and I can not ping the router from my CCM servers.

Router#sh run

!

!

!

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

!

interface FastEthernet0/0.1

encapsulation dot1Q 1 native

ip address 172.20.20.254 255.255.0.0

no ip redirects

!

interface FastEthernet0/0.2

encapsulation dot1Q 2

ip address 172.21.1.254 255.255.255.0

no ip redirects

ip classless

ip route 0.0.0.0 0.0.0.0 FastEthernet0/0

Switch#sh run

!

!

interface FastEthernet0/17

Description Phone 1

switchport trunk encapsulation dot1q

switchport mode trunk

switchport voice vlan 2

no ip address

no logging event link-status

no snmp trap link-status

no mdix auto

spanning-tree portfast

!

interface FastEthernet0/18

Description Phone 2

switchport trunk encapsulation dot1q

switchport mode trunk

switchport voice vlan 2

no ip address

no logging event link-status

no snmp trap link-status

no mdix auto

spanning-tree portfast

!

!

interface FastEthernet0/21

description Uplink to Router

switchport trunk encapsulation dot1q

no ip address

no logging event link-status

duplex full

speed 100

no snmp trap link-status

no mdix auto

spanning-tree portfast

!

interface FastEthernet0/22

description Unity VLAN 1

no ip address

duplex full

speed 100

no mdix auto

!

interface FastEthernet0/23

description CCM Publisher VLAN 2

switchport voice vlan 2

no ip address

duplex full

speed 100

no mdix auto

spanning-tree portfast

!

interface FastEthernet0/24

description CCM Subscrider VLAN 2

switchport voice vlan 2

no ip address

duplex full

speed 100

no mdix auto

spanning-tree portfast

interface Vlan1

ip address 172.20.20.150 255.255.0.0

!

ip default-gateway 172.20.20.254

6 Replies 6

a.awan
Level 4
Level 4

No question is a dumb question. I think the problem in your config is that you have configured your ports connected to the Call Managers on a voice VLAN 2. Configured these ports with the command:

switchport mode access

switchport access vlan 2

I know how to assign a a VLAN to a port Vlan 2 is a voice vlan so to seperate the voice and dataI hae to do that Voice vlan config.

I agree that VLAN 2 is the voice VLAN in your network but you explicitly use the command switchport voice vlan on ports connected to IP phones as you need to assigne another VLAN to that particular port (Data). For call managers you just assign them to the voice vlan using the command switchport access vlan 2.

scottmac
Level 10
Level 10

I believe you have defined your default route (on the router) on fa0/0.2 to the fa0/0 interface, which has no IP address and is a dot1q trunk port.

Did you mean fa0/1.1? or some other destination?

I havn't played with VLANs much lately, but that's the only thing I saw that looks fishy.

FWIW

Scott

Its not on the Fastethernet0/0.2. The bang ! sign probably got missed out while copying and pasting.

aashish.c
Level 4
Level 4

Hi,

As per the configs, kindly cehck following:

1. try to apply "switchport access vlan 2" on ports connected to CCM servers. I agree that "voice vlan" is used when voice traffic is supposed to come.

2. paste the output of "sh int fa0/21 switchport"

3. i think u must b able to ping the router from unity which is in vlan, confirm this?

Kindly update .....

aashish C