路由器配置命令大全

高中物理教学艺术


  router(config)# ^z

  设置主机名:

  router(config)# hostname Set-Hostname

  router(config)# ^z

  router(config)# ^z

  设置用户模式密码:

  router(config)# line console 0

  router(config-line)# login

  router(config-line)# password Set-Password

  router(config-line)# ^z

  设置Telnet密码:

  router(config)# line vty 0 4

  router(config-line)# login

  router(config-line)# password Set-Password

  router(config-line)# ^z

  设置特权模式密码:

  router(config)# enable password Set-Password <——不加密的密码,明码——>

  router(config)# enable secret Set-Password <——经过加密的密码——>

  router(config)# ^z

  给所有密码加密:

  router(config)# service password-ancryption Set-Password-Here

  router(config)# no service password-ancryption <——取消加密——>

  router(config)# ^z

  设置登录Banner:

  router(config)# banner motd 分隔符 Set-Banner-InFORMation-Here 分隔符 <——前后分隔符一定要一致——>

  设置接口的描述信息:

  router(config-if)# description Set-Port-InFORMation-Here

  router(config)# ^z

  CDP的控制:

  router(config-if)# cdp enable <——在指定端口启用CDP,缺省——>

  router(config-if)# no cdp enable <——在指定端口关闭CDP——>

  router(config)# cdp run <——使所有端口启用CDP——>

  router(config)# no cdp run <——使所有端口关闭CDP——>

  Ping的使用:

  router# ping IP-Address

  router# ping <——扩展Ping命令——>

  Protocol [ip]:[ Protocol-Type ] <——选择协议类型——>

  Target IP address:IP-Address <——输入测试地址——>

  Repeat count [5]: <——选择发送的ICMP包数量——>

  Datagram size [100]: <——选择每个包的大小——>

  Timeout in seconds [2]: <——设置每个包的超时时间——>

  Extended commands [n]:y <——使用扩展Ping命令——>

  Sweep range of sizes [n]:

  Tracke的使用:

  router# trace IP-Address [ Host-Name ]

  为Cisco 4000路由器指定媒体类型:

  router(config-if)# media-type 10baset <——使AUI(默认)失效,改为使用RJ-45——>

  router(config-if)# ^z

  更改路由器启动顺序:

  router(config)# boot system flash IOS-FileName

  router(config)# boot system tftp IOS-FileName TFTP-IP-Address

  router(config)# boot system rom

  router(config)# ^z

  修改寄存器数值:

  router(config)#

你可能喜欢

  • H3C交换机配置命令大全
  • 网络工程师笔记
  • 思科交换机配置命令大全
  • 网络工程师学习笔记
  • Excel使用技巧大全(超
  • 思科路由器配置命令
  • 华为路由器配置命令
  • 锐捷路由器配置命令

路由器配置命令大全相关文档

最新文档

返回顶部