文件名称:ccna 实验必备命令
文件大小:37KB
文件格式:DOC
更新时间:2011-12-20 08:58:21
CCNA
一定要掌握的CCNA试验考试命令总结 路由器实验: router> enable 从用户模式进入特权模式 router# disable or exit 从特权模式退出到用户模式 router# show sessions 查看本机上的TELNET会话 router# disconnect 关闭所有的TELNET会话 router# show users 查看本机上的用户 router# erase startup-config 删除NVRAM中的配置 router# reload 重启路由器 router# config terminal 从用户模式进入特权模式 router(config)# hostname rl 配置用户名为rl router(config)# #banner welcome# 配置开机话语 router# show controllers serial0 查看串口0的物理层信息,主要是查看DTE/DCE router# show ip interface 查看端口的IP配置信息 router# show hosts 查看主机表 end or ctrl+z 从各种配置模式退到特权模式 rl(config)# no ip domain-lookup 关闭动态域名解析 rl(config)# ip domain-lookup 打开动态域名解析 rl(config)# ip name-server 202.106.0.20 打开动态域名解析之后便可以指定DNS服务 rl(config)# interface serial 0 进入serial 0的接口配置模式 rl(config-if)# no shutdown 路由器出厂默认所有端口关闭,使用此命令使它们打开 rl(config-if)# encapsulation ppp 封装ppp rl(config-if)# clockrate 64000 如果是DCE使需要设置时钟速率