您的位置:首页 > 游戏 > 手游 > 天津外包加工网_公司网页设计毕业设计_青岛网站排名提升_深圳网络品牌推广公司

天津外包加工网_公司网页设计毕业设计_青岛网站排名提升_深圳网络品牌推广公司

2024/10/6 0:27:53 来源:https://blog.csdn.net/ZZZCY2003/article/details/142136632  浏览:    关键词:天津外包加工网_公司网页设计毕业设计_青岛网站排名提升_深圳网络品牌推广公司
天津外包加工网_公司网页设计毕业设计_青岛网站排名提升_深圳网络品牌推广公司

简介:

         VRP是Versatile Routing Platform的简称,它是华为公司数据通信产品的通用网络操 作系统。目前,在全球各地的网络通信系统中,华为设备几乎无处不在,因此,学习了 解VRP的相关知识对于网络通信技术人员来说就显得尤为重要。

       VRP系统提供了丰富的命令行视图,包括用户视图、系统视图、接口视图等,用户可以通过相应的命令进入不同的视图进行配置和管理。例如,system-view命令可以进入系统视图,interface命令可以进入接口视图

1、通过Console方式登录Router

2、查看设备基本信息

<Huawei>display version    //查看设备基本信息
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.110 (eNSP V100R001C00)
Copyright (c) 2000-2011 HUAWEI TECH CO., LTD

3、完成基本配置

3.1、修改设备名称

<Huawei>sys	     //TAB键补全
<Huawei>system-view   //进入系统视图
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R1    //将设备命名为R1
[R1]

3.2、进入接口配置IP地址

[R1]interface Serial 0/0/0
[R1-Serial0/0/0]ip address 12.11.10.1 255.255.255.0
[R1-Serial0/0/0]display this  //使用display this可以查看当前视图的运行配置
#
interface Serial0/0/0link-protocol pppip address 12.11.10.1 255.255.255.0
#
return
[R1-Serial0/0/0]

使用display this可以查看当前视图的运行配置

若是忘记命令的作用和用法等等,可以通过 “ 关键字 + ?” 来查看信息

[R1-Serial0/0/0]ip ?address             Set the IP address of an interfacebinding             Enable binding of an interface with a VPN instanceforward-broadcast   Specify IP directed broadcast informationnetstream           Netstream featurepolicy-based-route  Enable policy based routing on the interfacetcp                 Specify TCP(Transmission Control Protocol) configurationinformationtopology            The name of topologyverify              IP verify

3.3、当接口的IP地址配置错误时

        需要先删除当前接口的错误IP地址配置,再重新在其他接口进行配置IP地址,否则会出现地址冲突无法配置。

[R1]interface Serial 0/0/0
[R1-Serial0/0/0]undo ip address
[R1-Serial0/0/0]display this
#
interface Serial0/0/0link-protocol ppp
#
return
[R1-Serial0/0/0]

4、查看设备当前配置

[R1]display current-configuration 
#
sysname R1
#
undo info-center enable
#
aaaauthentication-scheme defaultauthorization-scheme defaultaccounting-scheme defaultdomain defaultdomain default_adminlocal-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#local-user admin service-type http
#
firewall zone Localpriority 16
#
interface Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Serial0/0/0link-protocol ppp
#---- More ----

当执行命令时,显示的信息超过一定数量时,系统会自动暂停输出信息,以方便用户查看。如上图中的---- More ----的字样,此时可通过:

  1. <Ctrl + C>或<Ctrl + Z>,停止或命令执行
  2. 空格键,继续显示下一屏信息
  3. 回车键,继续显示下一行信息

5、保存设备当前配置

[R1]quit       //返回上一视图
<R1>[R1]return     //在任何视图中,返回用户视图
<R1>[R1]           //ctrl+z  在任何视图中,返回用户视图
<R1>

保存命令

<R1>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y      //需要输入y来确认继续
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
Now saving the current configuration to the slot 17.
Save the configuration successfully.
<R1>

6、操作设备的文件系统

<R1>dir 
Directory of flash:/Idx  Attr     Size(Byte)  Date        Time       FileName 0  drw-              -  Aug 07 2015 13:51:14   src1  drw-              -  Sep 11 2024 11:36:01   pmdata2  drw-              -  Sep 11 2024 11:36:04   dhcp3  -rw-            603  Sep 11 2024 12:55:06   private-data.txt4  drw-              -  Sep 11 2024 11:56:30   mplstpoam5  -rw-            435  Sep 11 2024 12:55:05   vrpcfg.zip32,004 KB total (31,993 KB free)<R1>

配置文件:vrpcfg.zip。其中配置文件以“.cfg”或“.zip”作为扩展名

6.1、将当前配置文件保存并命名为zzz.cfg

<R1>save zzz.cfg
Are you sure to save the configuration to flash:/zzz.cfg?[Y/N]:y
Now saving the current configuration to the slot 17.
Save the configuration successfully.
<R1>dir
Directory of flash:/Idx  Attr     Size(Byte)  Date        Time       FileName 0  drw-              -  Aug 07 2015 13:51:14   src1  drw-              -  Sep 11 2024 11:36:01   pmdata2  drw-              -  Sep 11 2024 11:36:04   dhcp3  -rw-            603  Sep 11 2024 12:55:06   private-data.txt4  drw-              -  Sep 11 2024 11:56:30   mplstpoam5  -rw-            435  Sep 11 2024 12:55:05   vrpcfg.zip6  -rw-            816  Sep 11 2024 13:01:39   zzz.cfg32,004 KB total (31,991 KB free)<R1>

6.2、把该文件设置为设备下一次启动所使用的配置文件

<R1>startup saved-configuration zzz.cfg  //设置
Info: Succeeded in setting the configuration for booting system.
<R1>
<R1>display startup        //查看下一次启动的配置文件
MainBoard: Configured startup system software:        NULLStartup system software:                   NULLNext startup system software:              NULLStartup saved-configuration file:          NULLNext startup saved-configuration file:     flash:/zzz.cfgStartup paf file:                          NULLNext startup paf file:                     NULLStartup license file:                      NULLNext startup license file:                 NULLStartup patch package:                     NULLNext startup patch package:                NULL
<R1>

6.3、清空配置文件

<R1>reset saved-configuration 
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:y     //需要输入y来确认继续
Warning: Now clearing the configuration in the device.
Info: Succeeded in clearing the configuration in the device.
<R1>

7、重启设备

<R1>reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the n
ext startup:, Continue?[Y/N]:y
flash:/vrpcfg.zip exists, overwrite?[Y/N]:y
Now saving the current configuration to the slot 17.
Save the configuration successfully.
Info: If want to reboot with saving diagnostic information, input 'N' and then e
xecute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y
<R1>

8、基础常用命令

查看当前配置display current-configuration
保存配置save
查看保存的配置display saved-configuration
重置保存的配置reset saved-configuration
设置系统启动配置文件startup saved-configuration
重启设备reboot
配置设备名称sysname
配置IP地址ip address IP 掩码
关闭接口shutdown
查看接口状态display interface brief
配置时区和时间clock datetime 20:45:00 2019-07-30
配置用户登录信息header login information
配置命令行等级user privilege level

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com