Got it

Can't ping an ip phone from the router.

Created: Mar 15, 2021 11:11:10Latest reply: Aug 17, 2021 02:34:06 859 12 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi guys. I have a problem. I plugged cisco ip phone to the L2 port of huawei router(AR651F-Lite) and configured it to use voice vlan 20. Then a created a virtual interface in vlan 20 and configured it as dhcp server for voice devices. After booting up the ip phone takes an ip adress from dhcp server but not the adress of the tftp server and I can't ping my phone from any interface on that router (including the interface from wich ip phone took its ip). What could be the reason for that?


Featured Answers

Recommended answer

Popeye_Wang
Admin Created Mar 16, 2021 01:24:14

Hi,
The device can encapsulate voice VLAN information into LLDPDUs and send them to connected IP phones. However, IP phones of the C vendor send Cisco Discovery Protocol (CDP) packets. You can run the voice-vlan legacy enable command to enable CDP-compatible function so that the device encapsulates voice VLAN information in CDP packets and sends them to connected IP phones.

Example
# Enable CDP-compatible Voice VLAN function on GigabitEthernet0/0/1.
<Huawei> system-view
[Huawei] interface GigabitEthernet0/0/1
[Huawei-GigabitEthernet0/0/1] voice-vlan 20 enable
[Huawei-GigabitEthernet0/0/1] voice-vlan legacy enable

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100087043&id=EN-US_CLIREF_0177881722&lang=en


If the faulty persists, please try to enable lldp.

<Huawei> system-view

[Huawei] lldp enable

Info: Global LLDP is enabled successfully.

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100087043&id=EN-US_CLIREF_0177886691&lang=en

View more
  • x
  • convention:

NetL95
NetL95 Created Mar 16, 2021 06:53:49 (0) (0)
I tried all that stuff (interface GigabitEthernet0/0/1
voice-vlan 20 enable
voice-vlan mode manual
voice-vlan legacy enable
port hybrid tagged vlan 20)but it can't ping the ip phone. I am using huawei router AR651F-lite.  
NetL95
NetL95 Reply NetL95  Created Mar 16, 2021 06:55:14 (0) (0)
lldp is also enabled  
Popeye_Wang
Popeye_Wang Reply NetL95  Created Mar 16, 2021 08:24:27 (0) (0)
Is the IP phone send packets with VLAN tags? If the IP phone sends packets without a VLAN tag, you should change the configuration to: port hybrid untagged vlan 20  
All Answers
Hello,
We're working on your problem. Please be patient.
View more
  • x
  • convention:

Hello friend,
Can you explain what it means to be able to obtain an IP address from DHCP but not from TFTP? Can you see the IP address obtained by the IP phone?

View more
  • x
  • convention:

NetL95
NetL95 Created Mar 15, 2021 11:41:28 (0) (0)
I mean it obtained ip address from dhcp server but on dhcp server I also specified option 150 (address of tftp server for dhcp clients) and my ip phone did not obtain address of that tftp server from my dhcp server  
NetL95
NetL95 Reply NetL95  Created Mar 15, 2021 11:42:18 (0) (0)
i meant "did't obtain address of that tftp server from my dhcp server "  
jason_hu
jason_hu Reply NetL95  Created Mar 15, 2021 12:02:38 (0) (0)
Friend, you can refer to this, check to see if there is any configuration error, you can also send your configuration.
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100087043&id=EN-US_TASK_0177865573&lang=en

I can show you.  
NetL95
NetL95 Reply jason_hu  Created Mar 15, 2021 14:18:30 (0) (0)
My main problem is that i can't ping an ip phone (even when its ip adress is set manually)from my router (an ip phone is directly attached to the L2 port of my router). Here is the config for that interface
:interface GigabitEthernet0/0/1
interface GigabitEthernet0/0/1
voice-vlan 20 enable
voice-vlan mode manual
port hybrid tagged vlan 20
The attached ip phone is Cisco 3905. Why i can't ping it?  
jason_hu
jason_hu Reply NetL95  Created Mar 15, 2021 14:40:18 (0) (0)
You are missing configuration, you can refer to the link https://support.huawei.com/hedex/hdx.do?docid=EDOC1100087043&id=EN-US_TASK_0177868244&lang=en  

Hi,
The device can encapsulate voice VLAN information into LLDPDUs and send them to connected IP phones. However, IP phones of the C vendor send Cisco Discovery Protocol (CDP) packets. You can run the voice-vlan legacy enable command to enable CDP-compatible function so that the device encapsulates voice VLAN information in CDP packets and sends them to connected IP phones.

Example
# Enable CDP-compatible Voice VLAN function on GigabitEthernet0/0/1.
<Huawei> system-view
[Huawei] interface GigabitEthernet0/0/1
[Huawei-GigabitEthernet0/0/1] voice-vlan 20 enable
[Huawei-GigabitEthernet0/0/1] voice-vlan legacy enable

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100087043&id=EN-US_CLIREF_0177881722&lang=en


If the faulty persists, please try to enable lldp.

<Huawei> system-view

[Huawei] lldp enable

Info: Global LLDP is enabled successfully.

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100087043&id=EN-US_CLIREF_0177886691&lang=en

View more
  • x
  • convention:

NetL95
NetL95 Created Mar 16, 2021 06:53:49 (0) (0)
I tried all that stuff (interface GigabitEthernet0/0/1
voice-vlan 20 enable
voice-vlan mode manual
voice-vlan legacy enable
port hybrid tagged vlan 20)but it can't ping the ip phone. I am using huawei router AR651F-lite.  
NetL95
NetL95 Reply NetL95  Created Mar 16, 2021 06:55:14 (0) (0)
lldp is also enabled  
Popeye_Wang
Popeye_Wang Reply NetL95  Created Mar 16, 2021 08:24:27 (0) (0)
Is the IP phone send packets with VLAN tags? If the IP phone sends packets without a VLAN tag, you should change the configuration to: port hybrid untagged vlan 20  
Well done answer
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.