10-12-2021 03:38 AM - edited 10-13-2021 12:58 AM
Hello,
I have new Cisco Switch CBS250, and I have Cisco 6921 phone.
I'm trying to enable the switch port for voice vlan but the phone is not getting IP and hence stays not registered.
I have the following configs on the switch:
voice vlan oui-table add 7c95f3 Cisco-IPT
voice vlan id 110
voice vlan state oui-enabled
and on the phone interface
interface GigabitEthernet8
spanning-tree portfast
switchport access vlan 9
voice vlan enable
of course interface trunk is allowing voice vlan
LAB2(config-if)#do show cdp nei g8 det
---------------------------------------------
Device-ID: SEP7C95F33FE92C
Advertisement version: 2
Platform: Cisco IP Phone 6921
Capabilities: Host Phone TwoPortRelay
Interface: gi8, Port ID (outgoing port): Port 1
Holdtime: 150
Version: SCCP 9.4.1.3.SR3
Duplex: full
Power drawn: 6000 milliwatts
Addresses:
Tried different configuration modes (auto or manual) but the phone is not getting IP address at all.
Solved! Go to Solution.
10-20-2021 04:19 AM
I apologize for unmarking the solution that suggested using trunk, even though it is working but general mode should be the one.
this is the configs I used:
interface GigabitEthernet29
description DESKTOP
port security max 2
port security discard
switchport mode general
switchport general allowed vlan add 110 tagged
switchport general allowed vlan add 9 untagged
switchport general pvid 9
no macro auto smartport
VLAN 110 is voice, vlan 9 is user vlan.
10-12-2021 03:59 AM - edited 10-12-2021 04:01 AM
Hi,
you can set trunk port. then tag and allow the normal VLAN for PC and untag voice vlan and allow in port. you can easily do this in GUI. i am not sure exact CLI generated. and check vice versa tagging and untagging if first option not worked.
rate this and mark as answer if this resolved your concern
10-12-2021 04:53 AM - edited 10-12-2021 04:54 AM
Make sure voice vlan has DHCP reachability.
interface GigabitEthernet8
spanning-tree portfast
switchport access vlan 9
voice vlan enable <---- this should work.
or you try old testest method
interface GigabitEthernet8
spanning-tree portfast
switchport access vlan 9
switchport voice vlan X
10-12-2021 04:56 AM
This command is not available on this switch, it is new software and has lots of changes.
voice vlan enable is there but phone will get the ip of the access vlan
I tried using trunk and it worked directly
another thing is the old model phones will not work on this switch! 6921 did not work, I used a bit newer model 7945 and it worked rightaway
10-13-2021 01:00 AM
Turned out the phone has a problem. what a hassle, been trying to figure out this issue for two days
10-20-2021 04:19 AM
I apologize for unmarking the solution that suggested using trunk, even though it is working but general mode should be the one.
this is the configs I used:
interface GigabitEthernet29
description DESKTOP
port security max 2
port security discard
switchport mode general
switchport general allowed vlan add 110 tagged
switchport general allowed vlan add 9 untagged
switchport general pvid 9
no macro auto smartport
VLAN 110 is voice, vlan 9 is user vlan.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide