pdffile387403178.pdf_第1页
pdffile387403178.pdf_第2页
pdffile387403178.pdf_第3页
pdffile387403178.pdf_第4页
pdffile387403178.pdf_第5页
已阅读5页,还剩79页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、VRP 命令手册 第一分册(系统管理) 目 录 i 目 录 第 1 章 系统管理命令 .1-1 1.1 系统管理命令.1-1 1.1.1 configfile.1-1 1.1.2 delete.1-1 1.1.3 display configfile.1-2 1.1.4 display current-configuration.1-3 1.1.5 display saved-configuration.1-4 1.1.6 download config .1-5 1.1.7 save.1-6 1.1.8 update .1-7 1.2 FTP 配置命令.1-8 1.2.1 display f

2、tp-server.1-8 1.2.2 ftp-server config-name.1-9 1.2.3 ftp-server enable .1-9 1.2.4 ftp-server system-name .1-10 1.2.5 ftp-server timeout .1-10 1.2.6 ftp-server update.1-11 1.2.7 kill ftp.1-12 1.3 TFTP 操作命令.1-12 1.3.1 copy.1-12 1.3.2 get .1-14 第 2 章 终端服务配置命令 .2-1 2.1 终端服务属性配置命令.2-1 2.1.1 idle-timeout.

3、2-1 2.2 终端消息服务配置命令.2-1 2.2.1 send.2-1 2.2.2 send status.2-2 2.2.3 send switch.2-3 2.3 哑终端服务配置命令.2-4 2.3.1 auto-execute command.2-4 2.4 Telnet 服务配置命令 .2-4 2.4.1 display client.2-4 2.4.2 kill telnet .2-5 2.4.3 reverse-telnet disconnect.2-5 2.4.4 reverse-telnet listenport.2-6 2.4.5 reverse-telnet retur

4、n-deal.2-7 2.4.6 reverse-telnet timeout .2-8 2.4.7 telnet.2-8 2.4.8 terminal telnet break-on-ip .2-9 VRP 命令手册 第一分册(系统管理) 目 录 ii 2.4.9 terminal telnet refuse-negotiation.2-10 2.5 Rlogin 配置命令 .2-11 2.5.1 debugging rlogin.2-11 2.5.2 rlogin.2-11 2.6 X.25 PAD 配置命令.2-12 2.6.1 debugging pad.2-12 2.6.2 disp

5、lay x25 pad .2-13 2.6.3 login pad.2-14 2.6.4 pad .2-14 2.6.5 x29 inviteclear-time .2-15 第 3 章 网络管理配置命令 .3-1 3.1 SNMP 配置命令.3-1 3.1.1 debugging snmp-agent .3-1 3.1.2 display snmp-agent community.3-1 3.1.3 display snmp-agent group.3-2 3.1.4 display snmp-agent local-engineid.3-3 3.1.5 display snmp-agent

6、 mib-view.3-4 3.1.6 display snmp-agent statistics.3-5 3.1.7 display snmp-agent sys-info contact.3-6 3.1.8 display snmp-agent sys-info location.3-7 3.1.9 display snmp-agent usm-user.3-7 3.1.10 snmp-agent .3-8 3.1.11 snmp-agent community.3-9 3.1.12 snmp-agent group.3-10 3.1.13 snmp-agent local-enginei

7、d.3-11 3.1.14 snmp-agent mib-view.3-12 3.1.15 snmp-agent packet max-size.3-13 3.1.16 snmp-agent sys-info contact.3-13 3.1.17 snmp-agent sys-info location .3-14 3.1.18 snmp-agent sys-info version.3-15 3.1.19 snmp-agent target-host.3-16 3.1.20 snmp-agent trap enable.3-17 3.1.21 snmp-agent trap life .3

8、-18 3.1.22 snmp-agent trap queue-size .3-19 3.1.23 snmp-agent trap source.3-19 3.1.24 snmp-agent usm-user.3-20 3.2 RMON 配置命令.3-21 3.2.1 display rmon statistics.3-21 3.2.2 reset rmon statistics .3-23 3.2.3 rmon promiscuous.3-23 第 4 章 维护与调试工具命令.4-1 4.1 系统调试命令.4-1 4.1.1 debugging.4-1 4.1.2 display debu

9、gging .4-2 VRP 命令手册 第一分册(系统管理) 目 录 iii 4.2 网络测试工具命令 .4-2 4.2.1 ping.4-2 4.2.2 ping ipx.4-4 4.2.3 tracert.4-5 4.3 信息中心命令.4-8 4.3.1 display info-center.4-8 4.3.2 info-center console.4-9 4.3.3 info-center enable .4-11 4.3.4 info-center logbuffer .4-11 4.3.5 info-center loghost.4-12 4.3.6 info-center mo

10、nitor .4-14 第 5 章 POS 终端接入服务配置命令.5-1 5.1 POS 终端接入服务配置命令 .5-1 5.1.1 async mode pos.5-1 5.1.2 async mode posapp.5-1 5.1.3 debugging pos-app .5-2 5.1.4 debugging pos-interface.5-2 5.1.5 display fcm .5-3 5.1.6 display pos-app.5-4 5.1.7 display pos-interface .5-4 5.1.8 pos-server app flow.5-5 5.1.9 pos-s

11、erver app tcp .5-6 5.1.10 pos-server enable .5-6 5.1.11 pos-server fcm.5-7 5.1.12 pos-server map .5-8 5.1.13 pos-server source-ip .5-9 5.1.14 reset fcm.5-10 5.1.15 reset pos.5-10 VRP 命令手册 第一分册(系统管理) 第 1 章 系统管理命令 1-1 第第1章章 系统管理命令系统管理命令 1.1 系统管理命令 1.1.1 configfile 【命令】 configfile flash | nvram 【视图】 系统

12、视图 【参数】 flash:选择当前配置文件的存储介质为 Flash。 nvram:选择当前配置文件的存储介质为 NVRAM。 【描述】 configfile 命令用来选择当前配置文件存储介质。 缺省情况下,在 Flash 和 NVRAM 两种存储介质并存时,使用 NVRAM 存储 配置文件。 Quidway 系列路由器使用的 Flash 和 NVRAM 两种存储介质均可用来保存配 置文件,一般情况下,配置文件是保留在 NVRAM 中的。可用 configfile 命 令选择其中之一作为当前有效的存储介质,如在执行 configfile flash 后,再 执行 save 命令,此时会将配置文

13、件保存到 Flash 而不是 NVRAM 中。在保存 或擦除配置文件之前,可使用 display configfile 命令来查看当前配置文件所 用的存储介质类型。 相 关 配 置 可 参 考 命 令delete , download config , display current-configuration, display saved-configuration, display configfile。 【举例】 # 选择配置文件的存储介质为 flash。 Quidway configfile flash 1.1.2 delete 【命令】 delete VRP 命令手册 第一分册(系统

14、管理) 第 1 章 系统管理命令 1-2 【视图】 系统视图 【参数】 无 【描述】 delete 命令用来擦除 Flash 或 NVRAM 中的路由器配置文件。 慎重执行本命令,最好在技术支持人员指导下使用。 一般在以下几种情况使用: ? 路由器软件升级之后,Flash 或 NVRAM 中的配置文件可能与新版本软 件不匹配,这时可以用 delete 命令擦除旧的配置文件。 ? 将一台已经使用过的路由器用于新的应用环境,原有的配置文件不能适 应新环境的需求,需要对路由器重新配置,这时可以在擦除原配置文件 后,重新配置。 ? 在 Quidway 系列路由器中, 将擦除由 configfile 命

15、令指定的存储介质中 的配置文件。 路由器在上电初始化时,如果发现 Flash 或 NVRAM 中没有配置文件,则会 以缺省参数初始化路由器。 相关配置可参考命令 first-config,save,download config,display current-configuration,display saved-configuration。 【举例】 # 擦除 Flash 或 NVRAM 中的路由器配置文件。 Quidway delete This will erase the configuration in the flash memory. The router configurat

16、ions will be erased to reconfigure! Are you sure?Y/Ny 1.1.3 display configfile 【命令】 display configfile 【视图】 所有视图 【参数】 VRP 命令手册 第一分册(系统管理) 第 1 章 系统管理命令 1-3 无 【描述】 display configfile 命令用来显示当前配置文件存储介质的类型。 相 关 配 置 可 参 考 命 令delete , download config , display current-configuration,display saved-configurat

17、ion, configfile。 【举例】 # 显示系统当前的配置文件存储介质类型。 Quidway display configfile Boot from or write config.ini to nvram 1.1.4 display current-configuration 【命令】 display current-configuration display current-configuration global display current-configuration interface type number display current-configuration i

18、p route | route-policy display current-configuration protocol protocol display current-configuration ike-proposal display current-configuration ipsec-policy display current-configuration ipsec-proposal display current-configuration fr-class display current-configuration voice aaa | access-number | a

19、cct-method | cdr 【视图】 所有视图 【参数】 global:查看路由器的当前系统配置 interface type number :查看路由器的当前各个接口配置 ip route | route-policy :查看路由器的当前 IP 路由和路由策略配置 protocol protocol:查看路由器的当前各路由协议配置 ike-proposal:查看路由器的当前 IKE 提议配置 ipsec-policy:查看路由器的当前安全策略配置 ipsec-proposal:查看路由器的当前安全提议配置 VRP 命令手册 第一分册(系统管理) 第 1 章 系统管理命令 1-4 fr-

20、class:查看路由器的当前 fr-class 配置 voice aaa | access-number | acct-method | cdr :查看路由器的当前语 音配置 【描述】 display current-configuration 命令用来显示路由器当前生效的配置参数。 当用户完成一组配置之后,需要验证是否配置正确,则可以执行 display current-configuration 命令来查看当前生效的参数,对于某些参数,虽然用 户已经配置,但如果这些参数所在的功能没有生效,则不显示。如当某接口 链路层封装了 X.25, 这时用户又在该接口上配置了 PPP 参数, 但执行 d

21、isplay current-configuration 命令看不到该接口上的 PPP 配置信息。 对于某些正在生效的配置参数,如果与缺省参数相同,会不显示。 相 关 配 置 可 参 考 命 令 save , delete , download config , display saved-configuration。 【举例】 # 显示系统当前 Serial0 接口的配置参数。 Quidway display current-configuration interface serial 0 Now create configuration. Current configuration ! i

22、nterface Serial0 physical-mode async async mode flow link-protocol ppp ! return 1.1.5 display saved-configuration 【命令】 display saved-configuration 【视图】 所有视图 【参数】 无 VRP 命令手册 第一分册(系统管理) 第 1 章 系统管理命令 1-5 【描述】 display saved-configuration 命令用来显示 Flash 或 NVRAM 中的路由器配 置文件,即路由器下次上电启动时所用的配置文件。 相 关 配 置 可 参 考

23、命 令 save , delete , download config , display current-configuration。 【举例】 # 显示 Flash 或 NVRAM 中的配置文件。 Quidway display saved-configuration 1.1.6 download config 【命令】 download config 【视图】 系统视图 【参数】 无 【描述】 download config 命令用来通过路由器 Console 口加载配置文件。 本命令最好在技术支持人员指导下使用,脱机编辑路由器的配置文件也应该 由技术人员或资深维护人员完成。 在编辑配置

24、文件时要注意: ? 路由器配置文件完全由命令组成。 ? 每条命令由回车和换行符表示结束,不能在一条命令中间加入回车或换 行符。 ? 在两条命令之间可以插入注释行,并以!为行首。 ? 整个配置文件以 return 为结束符。 配置文件加载是由用户通过终端仿真程序的发送二进制文件功能进行,在向 路由器发送配置文件之前,要确保: ? 已执行 download config 命令,而且路由器正处于等待加载状态。此时 可在终端仿真程序窗口中看到路由器定期向终端仿真程序发送 C 字符。 ? 设置终端仿真程序的二进制传输协议为 XModem/CRC。 ? 选择了正确的配置文件发送。 VRP 命令手册 第一分

25、册(系统管理) 第 1 章 系统管理命令 1-6 在配置文件加载成功后,它不能立即生效,必须在重启路由器后才能生效; 如果用户加载了错误的配置文件,重新启动后系统将以缺省参数初始化,可 以用 delete 命令擦除 Flash 中的错误配置文件或重新加载。 在 Quidway 系列路由器中,加载的配置文件将放在 configfile 命令指定的存 储介质中,缺省的存储介质为 NVRAM。 相关配置可参考命令 save, delete, display current-configuration, display saved-configuration。 【举例】 # 加载配置文件。 Quidw

26、ay download config Do you want really download the config.ini?(Y/N)y Change protocol to Xmodem then send the selected file. Downloading.CCCC 在超级终端发送文件窗口中选择正确的配置文件和 Xmodem 协议,然后点 击发送按钮。成功加载结束后,系统将提示: Writing to NVRAM,Please wait. DOWNLOAD SUCCESSFULLY 1.1.7 save 【命令】 save 【视图】 所有视图 【参数】 无 【描述】 save 命令用来保存当前配置到 Flash 或 NVRAM 中的配置文件里。 当完成一组配置,并且已经达到预定功能,则应将当前配置保存到 Flash 或 NVRAM 中的配置文件里 (在 Quidway 系列路由器中, 将保存到由 configfil

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论