Zhone 5100 참조 매뉴얼

다운로드
페이지 186
CHAPTER 1
System commands
22    
Vpacket 5100/6100 Series Reference Manual
Using ping to check connectivity
You can set the 5100/6100 VDR to send ICMP echo request packets to a network node by 
issuing the ping command. 
Syntax: ping <host IP address or name> [-l <packet size in bytes (1-2000) default 64>] [-n 
<number of requests to send>]
Example:
In this example, the 5100/6100 VDR sent 64 bytes of data (default) to the IP address 
172.16.1.231 four times. All four echo packets were received.
Creating a script for future execution
With the record feature, you are able to record command line entries into a file for later execution. 
The commands are interpreted by the command line interface to determine if the command is 
correctly formatted; however, the content of specific fields is not examined.
record comment
You can record a comment string into a script file being generated by issuing the record 
comment command. This comment will not be interpreted when the script is executed. It will be 
displayed if the file is executed with the echo enabled.
Syntax: record comment <comment string>
Argument:
comment string a message that you want to record for later review. Comments must be 
enclosed with quotations marks.
VPacket# ping 172.16.1.231
Pinging 172.16.1.231 with 64 bytes of data:
Ping # 1 to 172.16.1.231 response received in 0 milliseconds.
Ping # 2 to 172.16.1.231 response received in 0 milliseconds.
Ping # 3 to 172.16.1.231 response received in 0 milliseconds.
Ping # 4 to 172.16.1.231 response received in 0 milliseconds.
Ping results pinging 172.16.1.231
************
Total pings transmitted : 4
Total pings received    : 4
Total pings duplicated  : 0
Last round trip time    : 0
Maximum round trip time : 0
Minimum round trip time : 0
Average round trip time : 0
Total round trip time   : 0
VPacket#