路由器常用命令
在一般用户模式下常用的命令<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

网络侦测 ping hostname|IP address
路由跟踪 trace hostname|IP address
登录远程主机 telnet hostname|IP address

显示日期和时间  show clock

显示flash芯片内容 show flash

查看版本及引导信息 show version

显示会话(telnet

进入特权命令状态 enable
特权模式下常用的命令

退出特权命令状态 disable

进入全局设置状态 config terminal

清空备份配置文件  erase startup-config

修改日期和时间  clock set 小时:分钟:秒           月要用英语

立即重启路由器 reload

N分钟后重启路由器 reload in N分钟    N=数字

显示arp  show arp

显示活动配置文件 show running-config

显示备份配置文件 show startup-config

存盘  write

存盘  copy running-config startup-config<=>copy run start

全局模式下

修改路由器名  hostname

退出全局设置状态 end

常用的命令
IOS操作中,无论任何状态和位置,都可以键入得到系统的帮助。
进入设置对话状态 setup
进入端口设置状态 interface type slot/number
进入子端口设置状态 interface type number.subinterface [point-to-point | multipoint]
进入线路设置状态 line type slot/number
进入路由设置状态 router protocol
退出局部设置状态 exit
显示端口信息 show interface type slot/number
显示路由信息 show ip router
设置访问用户及密码 username username password password
设置特权密码 enable secret password
设置路由器名 hostname name
设置静态路由 ip route destination subnet-mask next-hop
启动IP路由 ip routing
启动IPX路由 ipx routing
端口设置 interface type slot/number
设置IP地址 ip address address subnet-mask
设置IPX网络 ipx network network
激活端口 no shutdown
物理线路设置 line type number
启动登录进程 login [local|tacacs server]
设置登录密码 password password