Patton electronic SmartNode 4110 Series ユーザーズマニュアル
Filtering debug monitor output
626
SmartWare Software Configuration Guide
52 • VoIP debugging
Filtering debug monitor output
The output of the debug monitors can be filtered using the following command to let the terminal only print
important information. The specified expression is a regular expression, which is used by the filter to select
important lines.
important information. The specified expression is a regular expression, which is used by the filter to select
important lines.
Mode: Configure
The following example activates a filter, which causes the debug monitors to print only lines containing the
word ERROR on the terminal:
word ERROR on the terminal:
terminal monitor-filter .*ERROR
Note
Only one filter expression can be active at a time. If you enter the command
a second time, the new filter expression will replace the old one.
a second time, the new filter expression will replace the old one.
The following command will disable the filter completely:
no terminal monitor-filter
Verifying IP connectivity
This procedure describes how to use the
ping
command to test IP connectivity. It verifies that your SmartNode
can communicate with such hosts as a gatekeeper, and IP phone, a registrar, and other VoIP gateways.
Use Telnet to access your SmartNode, then use the
ping
command to verify that an IP packet can be sent to,
and received from, all hosts with which the SmartNode should be able to communicate (e.g. Gatekeeper, IP
phone, Registrar, other VoIP gateways).
phone, Registrar, other VoIP gateways).
Mode: Administrator execution
Example: Verify IP connectivity
The following example uses the
ping
command to test connections to remote hosts 192.195.23.10 and
172.16.40.122. The results show an unsuccessful attempt to contact host 192.195.23.10 (as indicated by the “No
Step
Command
Purpose
1
[name](cfg)# [no] terminal monitor-filter
<expression>
<expression>
Enables the monitor filter using the
specified expression.
specified expression.
Step
Command
Purpose
1
unit#ping ipaddress [number-of-packets]
[timeout seconds]
[timeout seconds]
Determines whether an IP host can be contacted.