华为交换机常见命令

华为交换机常见命令

ID:39118291

大小:335.20 KB

页数:11页

时间:2019-06-25

华为交换机常见命令_第1页
华为交换机常见命令_第2页
华为交换机常见命令_第3页
华为交换机常见命令_第4页
华为交换机常见命令_第5页
资源描述:

《华为交换机常见命令》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、一、清空配置:resetsaved-configuration(清楚下次启动时使 用的配置文件信息)然后重启设备,重启设备室提示保存信息,选择“NO”。resetsaved-configurationWarning:Theactionwilldeletethe savedconfigurationinthedevice.Theconfigurationwillbeerasedto reconfigure.Continue?[Y/N]:yWarning:Nowclearingtheconfigurat

2、ionin thedevice.Info:Succeededinclearingtheconfigurationinthedevice.rebootInfo:Thesystemisnowcomparingtheconfiguration,please wait.Warning:Theconfigurationhasbeenmodified,anditwillbesavedto thenextstartupsaved-configurationfileflash:/vrpcfg.zip.Continue? [Y/N]

3、:n//此处请选择“N”Info:Ifwanttorebootwithsavingdiagnostic information,input'N'andthenexecute'rebootsavediagnostic- information'.Systemwillreboot!Continue?[Y/N]:y二、通过STelnet/Telnet登录交换机设置新的Console口登录密码#以登录用户界面的认证方式为密码认证,密码为Huawei@123为例,配置如下。system-view[HUAWEI]user-in

4、terfaceconsole0[HUAWEI-ui-console0]authentication-modepassword[HUAWEI-ui-console0]setauthenticationpasswordcipherHuawei@123 [HUAWEI-ui-console0]returnsave#以登录用户界面的认证方式为AAA认证,用户名为admin123,密码为Huawei@123为 例,配置如下。system-view[HUAWEI]user-interfaceconsole0[H

5、UAWEI-ui-console0]authentication-modeaaa[HUAWEI-ui-console0]quit[HUAWEI]aaa[HUAWEI-aaa]local-useradmin123passwordirreversible-cipherHuawei@123[HUAWEI-aaa]local-useradmin123service-typeterminal(本地防务终端用户)[HUAWEI-aaa]return(返回)save(保存)三、查看某个接口学习到的MAC地址dis

6、playmac-addressdynamicgigabitethernet1/0/1MACAddressVLAN/VSILearned-FromType -------------------------------------------------------------------------0000-0000-0003300/-GE1/0/1dynamic 0026-6e5c-feac3000/-GE1/0/1dynamic 四、查看某个VLAN学习到的MAC地址displaymac-addressdyn

7、amicvlan10MACAddressVLAN/VSILearned-FromType --------------------------------------------------------------------------0000-0000-000310/-GE1/0/1dynamic 0026-6e5c-feac10/-GE1/0/2dynamic五、查看系统的MAC地址displayinterfacegigabitethernet1/0/1GigabitEthernet1/0/1current

8、state:UP Lineprotocolcurrentstate:UPDescription: SwitchPort,Link-type:access(configured), IPSendingFrames'FormatisPKTFMT_ETH

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。