![Cisco 7940G Скачать руководство пользователя страница 73](http://html.mh-extra.com/html/cisco/7940g/7940g_administration-manual_65391073.webp)
5-3
Cisco Unified IP Phone 7960G and 7940G Administration Guide for Release 8.0 (SIP)
OL-7890-01
Chapter 5 Monitoring Cisco SIP IP Phones
How to Use the Command-Line Interface to Monitor Phones
debug
command keywords (continue)
•
sip-task
—SIP task.
•
sip-state
—SIP state machine.
•
sip-trx
—SIP transaction manager.
•
sip-messages
—SIP messaging.
•
sip-reg-state
—SIP registration state machine.
•
dns
—DNS command-line interface (CLI) configuration;
allows you to clear the cache and set servers.
•
config
—Output for the
config system
command.
•
sntp
—Simple Network Time Protocol (SNTP).
•
sntp-packet
—Full SNTP packet data.
•
http
—HTTP requests and responses.
•
arp-broadcast
—ARP broadcast messages.
•
xml-events
—XML events that are posted to the XML
application chain.
•
xml-deck
—XML requests for XML cards and decks.
•
xml-vars
—XML content variables.
•
xml-post
—XML post strings.
Note
Do not use the
debug all
command because it can
cause the phone to become inoperable. This command
is for use only by Cisco TAC personnel.
Note
To turn the debugging off, use the
undebug
command
(works just as does the
no debug
command).
SIP Phone>
dns
{
-p
|
-c
|
-s
ip-address
|
-b
ip-address
|
hostname
}
Manipulates the DNS. Keywords and arguments are as
follows:
•
-p
—Prints the DNS cache table.
•
-c
—Clears the DNS cache table.
•
-s
ip-address
—Sets the primary DNS server.
•
-b
ip-address
—Sets the first backup server.
•
hostname
—perform a DNS lookup for server indicated.
SIP Phone>
erase protflash
Erases the protocol area of flash memory. Forces the phone to
reset its IP stack and request its configuration files again. This
command can be used only if the telnet_level parameter is set
to allow privileged commands to be executed.
SIP Phone>
exit
Exits the Telnet or console session.
Table 5-1
CLI Commands (continued)
Command
Purpose