R3----------------------------------e0/10--------------------------PCC
192.168.13.1 192.168.13.2;gw:192.168.13.1
R3:
system-view
sysname R3
display clock
quit
clock datetime 10:20:33 12/25/2012
system
display clock
display current-configuration 显示正在运行的配置
---------------------------------注释----------------------
current ['k?r?nt] n. (水、气、电)流,趋势
a. 流通的,现在的,最近的
---------------------------------注释----------------------
display saved-configuration 显示保存的配置信息
save
undo sysname
-------------------------telnet------------------------------
telnet:
system-view
sysname R3
int e0/1/0
ip address 192.168.13.1 255.255.255.0
undo shutdown
quit
user-interface vty 0 4
authentication-mode password
set authentication password simple 123
user privilege level 3
quit
telnet server enable
-------------------------debugging-----------------------------
terminal debugging
debugging ip icmp
system-view
sysname R3
int e0/1/0
ip address 192.168.13.1 255.255.255.0
undo shutdown
quit
在PCC上,ping192.168.13.1
在R3上显示的ICMPdebugging 信息如下:
Dec 25 11:09:37:484 2012 H3C IPDBG/7/debug_icmp:
ICMP Receive: echo(Type=8, Code=0), Src = 192.168.13.2, Dst = 192.168.13.1
*Dec 25 11:09:37:484 2012 H3C IPDBG/7/debug_icmp:
ICMP Send: echo-reply(Type=0, Code=0), Src = 192.168.13.1, Dst = 192.168.13.2
*Dec 25 11:09:38:484 2012 H3C IPDBG/7/debug_icmp:
ICMP Receive: echo(Type=8, Code=0), Src = 192.168.13.2, Dst = 192.168.13.1
*Dec 25 11:09:38:484 2012 H3C IPDBG/7/debug_icmp:
ICMP Send: echo-reply(Type=0, Code=0), Src = 192.168.13.1, Dst = 192.168.13.2
*Dec 25 11:09:39:484 2012 H3C IPDBG/7/debug_icmp:
ICMP Receive: echo(Type=8, Code=0), Src = 192.168.13.2, Dst = 192.168.13.1
*Dec 25 11:09:39:484 2012 H3C IPDBG/7/debug_icmp:
ICMP Send: echo-reply(Type=0, Code=0), Src = 192.168.13.1, Dst = 192.168.13.2
*Dec 25 11:09:40:484 2012 H3C IPDBG/7/debug_icmp:
ICMP Receive: echo(Type=8, Code=0), Src = 192.168.13.2, Dst = 192.168.13.1
*Dec 25 11:09:40:484 2012 H3C IPDBG/7/debug_icmp:
ICMP Send: echo-reply(Type=0, Code=0), Src = 192.168.13.1, Dst = 192.168.13.2
然后使用<R3>undo debugging all 结束调试信息输出
--------------------------------------------设置登录信息--------------------------------------------
H3C]header login
header login
Please input banner content, and quit with the character '%'.
welcome to here!I am xiaoxiao!%
在客户端测试:
telnet 192.168.13.1
现象如下:
******************************************************************************
* Copyright (c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
welcome to here!I am xiaoxiao!
Login authentication
Password:
% Password: timeout expired!
现象如上。。。。。