按 ‘ ios ’ 标签归档

IOS 设备 NTP 配置示例

在日志和调试时加上时间戳

Router(config)#service timestamps log datetime localtime
Router(config)#service timestamps debug datetime localtime

设置时间

Router#clock set 15:30:00 January 1 2009
outer#calendar set 15:30:00 January 1 2009

Clock 和 Calendar 的区别:
Most Cisco routers have two clocks:a battery-powered hardware clock (referenced in CLI commands as the “calendar”) and a software clock (referenced in CLI commands as the “clock”). These two clocks are managed separately.
The primary source for time data on your system is the software clock. This clock runs from the moment the system starts up and keeps track of the current date and time. The software clock can be set from a number of sources and in turn can be used to distribute the current time through various mechanisms to other systems. When a router with a hardware clock is initialized or rebooted, the software clock is initially set based on the time in the hardware clock.

猛击阅读全文

Cisco Security Device Manager

Cisco SDM(Security Device Manager)是 Cisco 公司提供的全新图形化路由器管理工具,该工具利用 WEB、Java 等技术使用户无需了解命令行接口(CLI),即可轻松地完成 Cisco IOS 路由器的配置。

  • 首先安装 JRE(JAVA 虚拟机)
  • 安装 Cisco SDM(本地安装,也可以安装在真实路由器的 Flash 中)
  • 启用路由器的 HTTP/HTTPS 服务器,请使用下列 Cisco IOS 命令:

Router(config)# ip http server
Router(config)# ip http secure-server
Router(config)# ip http authentication local //启用 HTTP 服务本地认证
Router(config)# ip http timeout-policy idle 600 life 86400 request 10000    //可选,idle 600:http 连接超时时间(10 分钟内无操作则自动断开);life 86400:http 最长连接时间(最大 24 小时);request 10000:http 最多允许并发连接数
注意:只有启用加密的 IOS 才能启用 HTTPS(带关键词“K”)

猛击阅读全文