01认识-华为路由器配置

 


## 修改时间是在 用户视图下配置
<Huawei>clock timezone ?
  STRING<1-32>  Name of time zone
<Huawei>clock timezone loca	
<Huawei>clock timezone local add 08:00:00	
<Huawei>clock datetime 12:00:00 2016-03-11
<Huawei>dis clo	
<Huawei>display clock 
2016-03-11 12:00:03
Friday
Time Zone(local) : UTC+08:00

##进入 系统视图
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
##修改名称
[Huawei]sysname R1
[R1]

##配置console 口参数

[Huawei]user-interface console 0
	
[Huawei-ui-console0]authentication-mode password 
Please configure the login password (maximum length 16):admin

[Huawei-ui-console0]set authentication password cipher Huayun#123
[Huawei-ui-console0]id	
[Huawei-ui-console0]idle-timeout 20
[Huawei-ui-console0]quit
###对接口进行配置
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip address 10.0.13.1 24
[R1-GigabitEthernet0/0/0]description This interface connects to R3-G0/0/3
[R1-GigabitEthernet0/0/0]di this
[V200R003C00]
#
interface GigabitEthernet0/0/0
 description This interface connects to R3-G0/0/3
 ip address 10.0.13.1 255.255.255.0 
#
return
[R1-GigabitEthernet0/0/0]

###在用户视图 下执行dir
 <R3>dir
Directory of flash:/

  Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName 
    0  drw-              -  May 07 2020 06:01:18   dhcp
    1  -rw-        121,802  May 26 2014 09:20:58   portalpage.zip
    2  -rw-          2,263  May 07 2020 06:00:44   statemach.efs
    3  -rw-        828,482  May 26 2014 09:20:58   sslvpn.zip
    4  -rw-            205  May 07 2020 06:05:01   private-data.txt
    5  -rw-            555  May 07 2020 06:05:00   vrpcfg.zip

1,090,732 KB total (784,456 KB free)
<R3>
##查看保存的文件
<R3>display saved-configuration 
[V200R003C00]
#
 sysname R3
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
 
 ###查看运行的文件
 <R3>display current-configuration 
[V200R003C00]
#
 sysname R3
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent
 
 ##查看下次启动的文件
 <R3>display startup 
MainBoard: 
  Startup system software:                   null
  Next startup system software:              null
  Backup system software for next startup:   null
  Startup saved-configuration file:          flash:/vrpcfg.zip
  Next startup saved-configuration file:     flash:/vrpcfg.zip
  
### reset 重置文件

<R3>reset saved-configuration 
This will delete the configuration in the flash memory.

The device configuratio
ns will be erased to reconfigure.

Are you sure? (y/n)[n]:y
 Clear the configuration in the device successfully

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

石兴稳

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值