路由器模式:
Route> 用户模式
Route# 特权模式(enable模式)
Route(config)# 全局配置模式
Route(config-if)# 接口配置模式
Route(config-route)# 路由配置模式
Route(config-line)# line模式
实例:
Route> //用户模式
Route>enable //在用户模式输入enable进入特权模式
Route#disable //在特权模式输入disable退到用户模式
Route>enable //在用户模式输入enable进入特权模式
Route#configure terminal //在特权模式下输入configure terminal进入全局配置模式
Route(config)#interface fastEthernet 0/0 //在全局配置模式输入 “interface+接口类型+接口编号”进入接口模式,常用接口类型包括以太网口(Ethernet),串行口(serial)等
Route(config-if)#exit //输入exit退出接口模式
Route(config)#route rip //输入“route+路由协议”进入路由器配置模式(协议:rip,eigrp,ospf等)
Route(config-route)#exit //退出路由配置模式
Route(config)#line console 0 //进入line模式
Route(config-line)#end //输入end从line模式直接退出到特权模式
Route#
交换机模式:
switch> 用户模式
switch# 特权模式(enable模式)
switch(config)# 全局配置模式
switch(config-if)# 接口配置模式
switch(config-line)# line模式
实例:
switch> //用户模式
switch>enable //在用户模式输入enable进入特权模式
switch#disable //在特权模式输入disable退出用户模式
switch>enable //在用户模式输入enable进入特权模式
switch#configure terminal //在特权模式输入configure terminal 进入全局配置模式
switch(config)#interface fastethernet0/1 //在全局配置模式进入接口配置模式
switch(config-if)#exit //输入exit退出接口配置模式
switch(config)#line console 0 //进入line模式
switch(config-one)#end //输入end从line模式直接退到特权模式
switch#

评论