Troubleshooting guide

20
CLI Interface
Default Configuration:
ip dhcp pool "LAN_pool"
tftp-server tftp://10.10.20.1
ip dhcp pool "VoIP_pool"
tftp-server tftp://10.10.20.1
Modified Configuration:
ip dhcp pool "LAN_pool"
tftp-server ftp://polycomftp:password@10.10.10.1/Polycom
ip dhcp pool "VoIP_pool"
tftp-server ftp://polycomftp:password@10.10.20.1/Polycom
Enabling the Debug Commands
On occasion, debug commands may need to be used in order to determine why a phone did not receive an IP address, or
download its configuration files.
1. Log into the NetVanta 7000 CLI using Telnet, secure shell (SSH), or the Console port.
2. Log into the CLI using the proper user name/password and/or enable password.
3. Enter debug ip tftp server events and debug ip ftp-server to view Trivial File Transfer Protocol (TFTP) and
FTP events.
4. Plug in the phone and monitor the debug output to see which files the phone is downloading.
5. If the phone fails to download a file, note the file name and verify it exists on the NetVanta 7000 Series product.
Interpreting the Debug Output
Verify a phone is requesting and able to receive an IP address.
#debug ip dhcp-server
2008.05.15 23:50:43 DHCP.SERVER Processing Discover Message (Xid = 443f4c02) on
10.10.10.0/255.255.255.0 from 00:A0:C8:00:9a:63
2008.05.15 23:50:43 DHCP.SERVER Offering IP Address 10.10.10.2 to 00:A0:C8:00:9a:63
2008.05.15 23:50:43 DHCP.SERVER Server sent an Offer to the client
2008.05.15 23:50:48 DHCP.SERVER Processing Request Message (Xid = 353f4c02) on
10.10.10.0/255.255.255.0 from 00:A0:C8:00:9a:63
2008.05.15 23:50:48 DHCP.SERVER Server sent an Ack to the client
2008.05.15 23:52:26 DHCP.SERVER Processing Discover Message (Xid = c6394c02) on
10.10.20.0/255.255.255.0 from 00:A0:C8:00:9a:63
2008.05.15 23:52:26 DHCP.SERVER Offering IP Address 10.10.20.3 to 00:A0:C8:00:9a:63
2008.05.15 23:52:26 DHCP.SERVER Server sent an Offer to the client
2008.05.15 23:52:31 DHCP.SERVER Processing Request Message (Xid = b9394c02) on
10.10.20.0/255.255.255.0 from 00:A0:C8:00:9a:63
2008.05.15 23:52:31 DHCP.SERVER Server sent an Ack to the client
Verify the correct files are being requested.
NV7100# debug ip tftp-server events (date and timestamps removed)
Note that TFTP is only used on the initial boot of a new phone and during the initial boot. The phone learns to use FTP
and download its files from a folder on CFLASH.
TFTP.SERVER EVENTS Read Request for "bootrom.ld" from 10.10.10.3:1025 failed. File does not exist
TFTP.SERVER EVENTS Read Request for "0004f210dfae.cfg" from 10.10.10.3:1026 failed. File does not exist
TFTP.SERVER EVENTS Successfully transmitted "000000000000.cfg" to 10.10.10.3:1027, 462 bytes transferred