Router and switch 配置命令精华压缩版
1、 进入SETUP模式Router#setup
2、 时间设置 router#clock set hh:mm:ss date moth year
3、 router>show history
Router>terminal history size lines
4、 router#show version
5、 router#show running-config
6、 router#show starup-config
7、 router(config)#hostname name 主机命名
8、 router(config)#banner motd # message # 开机时的固定显示信息
9、 router(config)#enable password password 特权模式明文密码
10、 router(config)#no enable password
11、 router(config)#enable secret password 特权模式加密密码
12、 router(config)#no enable secret
13、 router(config)#service password-encryption特权模式把明文密码加密密码,但没enable secret安全可以反解
14、 router(config)#line console控制台密码
15、 router(config-line)#login
16、 router(config-line)#password password
17、 router(config-line)#exec-timeout mm ss 禁止控制台会话自动退出
18、 router(config-line)#logging synchronous重显被打乱的控制台输入
router(config)#no ip domain-lookup 禁止域名解析
19、 router(config)#line vty 0 4虚拟终端密码
20、 router(config-line)#login
21、 router(config-line)#password password
22、 router(config)#interface type number(slot/port)端口设置
23、 router(config-if)#ip address ip summast
24、 router(config-if)#clock rate 64000(时钟频率单位为bps,只在DCE端设置)
版权与免责声明
1、本站所发布的文章仅供技术交流参考,本站不主张将其做为决策的依据,浏览者可自愿选择采信与否,本站不对因采信这些信息所产生的任何问题负责。
2、本站部分文章来源于网络,其版权为原权利人所有。由于来源之故,有的文章未能获得作者姓名,署“未知”或“佚名”。对于这些文章,有知悉作者姓名的请告知本站,以便及时署名。如果作者要求删除,我们将予以删除。除此之外本站不再承担其它责任。
3、本站部分文章来源于本站原创,本站拥有所有权利。
4、如对本站发布的信息有异议,请联系我们,经本站确认后,将在三个工作日内做出修改或删除处理。
请参阅权责声明!