免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1171 | 回复: 0
打印 上一主题 下一主题

CCNA配置命令大全 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-06 09:30 |只看该作者 |倒序浏览
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端设置)
25 router(config-if)#bandwith 64(带宽设置,单位为KB)
26 router(config-if)#no shutdown(shutdown)
27 router(config-if )#media-type type(10base) 为以太网端口选择适当的介质类型
28 router(config-if )#ctrl+z保存退出到特权模式
29 router#
30 router>用户模式enable进入 router#特权模式config terminal进入 router(config)#全局配置模式
31Interface
Router(config-if)#
端口设置 Subinterface Router(config-subif)# 子端口设置

Controller
Router(config-controller)#
控制口设置

Line     Router(config-line)# 虚拟口设置
Router
   Router(config-router)# 路由设置

IPX router Router(config-ipx-router)#IPX路由设置
32 router#show interface
33 router#show interface Ethernet 0
34 router#show interface serial 0
35 router#show running-config
36 router#show starup-config
37 router#show flash
38 router#show controller
39 router#show controller interface type
40 router#show running-config
router#copy running-config starup-config

router#copy running-config tftp
router#copy starup-config tftp
router#copy flash tftp
router#copy tftp star-config
router#copy tftp flash
端口状态
Serial1 is up, line protocol is up正常工作
Serial1 is up, line protocol is down连接问题
Serial1 is down, line protocol is down端口问题
Serial1 is administratively down, line protocol is down人为关闭
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP