| Requirement | Cisco Command |
|---|---|
| 设置console口密码为password | Router(config)#line con 0 Router(config-line)#login Router(config-line)#password cisco |
| 设置telnet密码为password | Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password cisco |
| 停止控制台超时 | Router(config)#line con 0 Router(config-line)#exec-timeout 0 0 |
| 启用enable密码为password | Router(config)#enable password cisco |
| 设置enable密码加密 | Router(config)#enable secret peter |
| 启用接口 | Router(config-if)#no shutdown |
| 关闭接口 | Router(config-if)#shutdown |
| 设置时钟为64k | Router(config-if)clock rate 64000 |
| 设置逻辑带宽分配64K分配到串行接口 | Router(config-if)bandwidth 64 Note that the zeroes are not missing |
| 设置接口IP地址 | Router(config-if)#ip addr 10.1.1.1 255.255.255.0 |
| 启用Rip路由协议 | Router(config)#router rip Router(config-router)#network 172.16.0.0 |
| 关闭Rip协议 | Router(config)#no router rip |
| 分配igrp AS 200 | Router(config)#router igrp 200 Router(config-router)#network 172.16.0.0 |
| 关闭igrp | Router(config)#no router igrp 200 |
| 静态路由设置 | Router(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1 5 |
| 禁用CDP | Router(config)#no cdp run |
| 启用CDP | Router(config)#cdp run |
| 关闭某个接口的CDP | Router(config-if)#no cdp enable |
本文地址:http://www.45fan.com/cisco/937.html
