| 贵 州 学 习 网 |
|
CCNA配置命令大全
关键字:ccna 配置 vlan 静态
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)#全局配置模式 31、
interface 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 |
责任编辑:gzu521