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

Switch dhcp release

shaikh.zaid22
Level 1
Level 1

i have a cat 9704 core which is configured as a dhcp server for out data and voice.

it is configured to provide 10.0 range to PCs and 20.0 range to ip phones. now am having 3 ip phones getting ip address in 10.0 range.

I tried clear ip address binding command as well as clear ip arp. however the phones get the same ip addresses as before.

Also on the access layer switch when i try doing # release ip interface command it gives an error "Interface does not have a DHCP originated address"

However, the address is getting via DHCP only.

Anyone can assist plz...

8 Replies 8

balaji.bandi
Hall of Fame
Hall of Fame

Can you post the relavant configuration, also how your access port configured.

 

here is the access port configuration for reference :

 

interface GigabitEthernet1/0/3
switchport access vlan XXX
switchport mode access
switchport voice vlan YYY
spanning-tree portfast
spanning-tree bpduguard enable

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks balaji

 

The configuration is exactly similar to what you mentioned.

However when i try connecting new ip phone on the same switchport, the new phone gets ip from voice vlan 20.

Next when i connect back the old phone to the same switchport, it gets the same data vlan ip which it gor before.

 

Not sure at this stage why this behaviour, what is OLD Phone and compare to New Phone ( both are cisco ? ) - do yu have CDP or LLDP enabled  on the switch ?

Still, i would like to see the full configuration and where is your DHCP Server?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

This is my config

interface GigabitEthernet3/0/17
switchport access vlan 10
switchport mode access
switchport voice vlan 20
spanning-tree portfast

 

DHCP is on core switch which cisco 9704, Ip phones are yealink phones.

post complete configuration ( issue command show run)

 

DHCP is on core switch which cisco 9704, Ip phones are yealink phones.

which phone working which one not?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

start from the VoIP port, the CDP or LLDP is not config in port so the Phone get the VLAN of Data and hence get the IP form data DHCP VLAN.

Switch# configure terminal
Switch(config)# interface GigabitEthernet 1/1
Switch(config-if)# lldp transmit
Switch(config-if)# lldp receive
Switch(config-if)# end

Also tou need run lldp in global,

Note:- do this config of interface only in 3rd party phone port no need for cisco phone.