您的位置:首页 > 其它

H3C 基本配置命令操作二

2010-10-08 12:42 441 查看
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!

现象如上。。。。。

本文出自 “2010网络” 博客,请务必保留此出处http://dnsdhcp.blog.51cto.com/1280638/402192
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: