1.清空配置文件

reset saved-configuration

2.进入和退出接口视图

[AR1] interface Ethernet 0/0/0

[AR1-Ethernet0/0/0]

[AR1-Ethernet0/0/0]quit

[AR1]

3.为设备命名

[Huawei]sysname AR1

[AR1]

4.设置telnet密码

[AR1]user-interface vty 0 4

[AR1-ui-vty0-4]authentication-mode password

[AR1-ui-vty0-4]set authentication password cipher yeslab

[AR1-ui-vty0-4]user privilege level 3

5.显示系统运行配置信息

[AR1]displaycurrent-configuration

#

sysname R1

#

6.配置IP地址

[AR1] interface Ethernet0/0/0

[AR1-Ethernet0/0/0]ip address 12.1.1.1 255.255.255.0

[AR2] interface Ethernet0/0/0

[AR2-Ethernet0/0/0]ip address 12.1.1.2 255.255.255.0

7.显示接口状态

[AR1]display interface Ethernet 0/0/0

Ethernet0/0/0 current state : UP

Line protocol current state : UP

Last line protocol up time : 2013-05-14 11:47:52 UTC-08:00

Description:

Route Port,The Maximum Transmit Unit is 1500

Internet Address is 12.1.1.1/24

Broadcast: 1 packets

Output:

Unicast: 11 packets, Multicast: 0 packets

Broadcast: 0 packets

Input bandwidth utilization : 0%

Output bandwidth utilization : 0%

8.测试网络连通性

[AR1]ping 12.1.1.2

9.跟踪路径

[AR1]tracert 12.1.1.2

traceroute to  12.1.1.2(12.1.1.2), max hops: 30 ,packet length: 40,press CTRL_C to break

1 12.1.1.2 30 ms  50 ms  30 ms

10.查看路由表

[AR1]display ip routing

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Tables: Public

Destinations : 4        Routes : 4

11.设置空闲超时时间为20分钟,默认为10分钟。

[R1]user-interface console 0

[R1-ui-console0]authentication-mode password

[R1-ui-console0]set authentication password simple huawei

[R1-ui-console0]idle-timeout 20 0

12.使用display this命令检查配置结果.

[R1-ui-console0]display this

[V200R001C01SPC300]#

user-interface con 0

authentication-mode password

set authentication password simple huaweiidle-timeout 20 0

13.使用display interface命令查看接口详细信息。

[R1-Serial1/0/0]display interface Serial1/0/0

14.从R1使用Telnet方式登录到R2。

<R1>telnet 10.0.12.2

Press CTRL_]to quit telnet mode

Trying 10.0.12.2 ...

Connected to 10.0.12.2 ...

Login authentication

Username:huawei

Password:

15.R2配置为FTP服务器。在R2上启用FTP服务器功能。

[R2]ftp server enable

Info:Succeeded in starting the FTP server

[R2]set default ftp-directory sd1:/

[R2]aaa

[R2-aaa]local-user ftpuser password cipher huawei

[R2-aaa]local-user ftpuser service-type ftp

[R2-aaa]local-user ftpuser privilege level 15

尝试从R1用FTP工具登录到R2。

<R1>ftp 10.0.12.2

Trying 10.0.12.2 ...

Press CTRL+K to abort

Connected to 10.0.12.2.220

FTP service ready.

User(10.0.12.2:(none)):ftpuser

331 Password required for ftpuser.

Enter password:

230 User logged in.[R1-ftp]

15.将文件“file-from-r1.bak”从R2下载到R1,并更名为“file-from-r2.bak”。

[R1-ftp]get file-from-r1.bak file-from-r2.bak200 Port command okay.

16.删除R2上的文件“file-from-r1.bak”。

<R2>delete /unreserved file-from-r1.bak

17.保存当前的配置文件。

<R1>save

18.显示以保存的配置文件。

<R1>display saved-configuration

[V200R001C01SPC300]

19.显示当前生效的配置信息。

<R1>display current-configuration

[V200R001C01SPC300]

#sysname R1

#

board add 0/1 1SA

board add 0/2 1SA

board add 0/3 2FE

······output omit······

20.清除存储的配置文件。

<R1>reset saved-configuration

This will delete the configuration in the flash memory.The device configurations will be erased to reconfigure.Are you sure? (y/n)[n]:y

Clear the configuration in the device successfully.

<R1>

21.使用reboot命令重启路由器。

<R1>reboot

华为交换机常用功能配置相关推荐

  1. 华为交换机linux版本号,Cisco和华为交换机常用配置命令总结

    Cisco和华为交换机常用配置命令总结 一.调试命令 思科: Switch#show  run  显示所有配置命令 Switch#show  ip  inter  brief  显示所有接口状态 Sw ...

  2. 华为交换机dhcp功能怎么配置

    首先,登录华为交换机,进入配置模式,使用命令"system-view"进入系统视图:然后,使用"ip dhcp pool name"命令,创建一个DHCP池:接 ...

  3. 华为交换机命令_华为交换机常用命令

    华为交换机常用命令: 1.display current-configuration 显示当前配置 2.display interface GigabitEthernet 1/1/4 显示接口信息 3 ...

  4. 华为交换机关闭接口命令_华为交换机常用命令及技巧

    如果这篇文章对您有帮助,请关注并点赞,感谢您的支持,如果还有其他问题,请私信给我 前几期讲解了华为交换机的一些配置,今天讲解一些简单的命令和一些技巧,主要是显示华为交换机配置的一些命令,这些命令对于网 ...

  5. enable 华为交换机ntdp_华为交换机常用命令

    http://hi.baidu.com/sosofa/blog/item/7a595ccf270e503bf9dc6150.html 华为交换机常用命令 2008-10-07 15:45 dis vl ...

  6. 华为交换机端口镜像配置

    文章目录 1 端口镜像 2 配置举例 2.1 一对一本地端口镜像(一个监控设备监控一个端口) 2.2 多对一端口本地端口镜像(多个监控设备同时监控一个端口) 2.3 一对多端口镜像配置(一个监控设备监 ...

  7. 华为交换机端口不配置access_华为交换机的配置及:access、trunk、hybird端口详解...

    原标题:华为交换机的配置及:access.trunk.hybird端口详解 很多人朋友多次问到华为交换机的配置,确实用的比较多,上次我们有单独提到h3c交换机的配置,今天我们来了解下华为交换机的配置, ...

  8. 华为交换机关闭网口_华为交换机常用命令 - 系统管理 - 最新IT资讯_电脑知识大全_网络安全教程 - 次元立方网...

    总结了一下常用的华为交换机常用命令如下: 1.查看Linux下查看端口状态 root@root:~# netstat -an|grep -E "6002|6003" 2.华为交换机 ...

  9. 计算机路表配置命令,计算机、华为交换机、路由器配置命令表

    计算机.华为交换机.路由器配置命令表 (7页) 本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找使用更方便哦! 15.9 积分 华为路由器配置命令表计算机命令~~~~~~~~ ...

最新文章

  1. 106页的《Python进阶》中文版(附下载)!
  2. Oracle CBO 与 RBO
  3. javascript继承的实现
  4. 4.状态间的六种转换情况
  5. mysql table combine_Mysql系列-性能优化神器EXPLAIN使用介绍及分析
  6. MAKEWPARAM 宏 及MAKELONG ,MAKELPARAM,MAKELRESULT
  7. 【已解决】单片机串口通讯中RXD与TXD如何连线?
  8. IsWindow,findwindow
  9. C++中的两个知识点
  10. ArcMap增加图标
  11. 【转】其他人的BUG
  12. KbmMW 4.30.00 发布
  13. u盘dos启动盘制作工具 v9.36正式版
  14. 求内切圆半径的c语言编程,数学内切圆半径公式
  15. oracle12c的特点,Oracle12c新特点详述
  16. word行距设置教程
  17. 苹果硬改手机底层udid无限新机技术
  18. java 编码app_智慧职教mooc的APPJava编码技术(四川交通职业技术学院)答案搜题公众号...
  19. jtable 表头 透明_日本艺术家携手岡本打造了一对“拥薄透明人”!为情侣们定制了一份专属浪漫!这个七夕,一起拥抱爱吧!...
  20. 二叉树的基本概念 结点、度、层、森林、前辈(总结性,易理解)

热门文章

  1. Oracle回滚当前循环,oracle查看回滚段
  2. Vue3项目生成并下载二维码,关于vue-qr.vue与qrcode.vue插件之间的区别
  3. 智能驾驶数据网络时间同步(PTP时钟服务器)分析
  4. Python深度学习(11):GAN生成青蛙图片
  5. 关于分布式存储系统中-CAP原则(CAP定理)与BASE理论比较
  6. 树莓派安装java jdk8
  7. As3 一些设计手法笔记
  8. 2022-2028全球与中国家用智能健身房市场现状及未来发展趋势
  9. 华夏时报:腾讯QQ如何监视你的?
  10. 用《王者荣耀》游戏玩家信息管理操作教会使用hbase