频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

CCNA命令总动员(下)

来源:中国思科培训网 作者: 出处:巧巧读书 2007-12-23 进入讨论组
上一页 1 2 3 

    3、全局配置模式

/*特许EXEC模式下的configure命令*/
Router con0 is now available.
Press RETURN to get started.
User Access Verification
Password:
Router>
Router> enable
Password:
Router#
Router# configure terminal
Router(config)#
Router(config)#interface Ethernet 0/0
Router(config-if)#
Router(config-if)# exit
Router(config)#
Router(config)# exit
Router#
Router# disable
Router>
Router> exit
Press RETURN to get started.

    或用快速的退出方法:

Router(config-if)# end
(注:end和Ctrl + Z的作用一样)
Router#
Router# exit
Press RETURN to get started.

    4、配置路由协议

Router# configure terminal
Router(config)# router <路由协议>
Router(config-router)#  (command)
Router(config-router)#

    5、配置某个接口*/

Router# configure terminal
Router(config)# interface <端口类型> <端口号>

Router(config)# interface <端口类型> <模块所在的插槽号 / 端口号>

Router(config-if)# no shutdown
Router(config-if)#

    6、配置特定的接口

Router(config)# interface serial 1/0
Router(config-if)# no shutdown
Router(config-if)# bandwidth 56
Router(config-if)# clock rate 56000
Router(config-if)#
Router(config-if)# int & 0.1 point-to point
Router(config-if)# int & 0.2 point-to point

/*Cisco 4000系列路由器*/
Router(config)# interface Ethernet 1/0
Router(config-if)# media-type 10baset
Router(config-if)#

    7、配置口令的方法

Router(config)# line console 0
Router(config-line)# login
Router(config-line)# password <口令>

Router(config)# line vty 0 4
Router(config-line)# login
Router(config-line)# password <口令>

Router(config)# enable password <口令>
Router(config)# enable secret <口令>

/*启动加密服务,为所有的口令加密*/
Router(config)# service password-encryption
Router(config)# no service password-encryption

    8、路由器标识配置

/*路由器名称*/
Router(config)# hostname <路由器名称,如:Tokyo>
Tokyo#

/*登录标题*/
Router(config)# banner motd #
<欢迎信息,如:Welcome!!!> #
Router(config)#

/*接口描述*/
Router(config)# interface Ethernet 0
Router(config-if)# description <接口描述信息>文字:http://www.qqread.com/cisco/p471340908.html 更多文章 更多内容请看Linux命令简介CCNA专题,或进入讨论组讨论。
上一页 1 2 3 
收藏此文】【 】【打印】【关闭
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章