使用者工具

網站工具


network:command

IOS指令列

介面模式切換

Router>   使用者模式
Router>en   
Routetr#
特權模式
Router#conf t  
Router#conf t 
Router(config)#
整體設定模式
Router(config)#int fa0/0
Router(config-if)#介面設定模式

Router(config)#int fa0/0.1 
Router(config-subif)#設定子界面,它是一個邏輯界面(像是用在 VLan上)

Router(config)#router rip
Router(config-router)#路由協定設定模式

Router(config)#line vty 0 4
Router(config-line)#線路設定模式
exit 或end 指跳回上一層
Router(config-line)#exit
Router(config)#end
Router#exit
Router>
不管在哪個模式,按Ctrl+z
跳回特權模式
Router(config-if)# 按Ctrl+z
Router#

線上求助

Router#sh inter ?
Async              Async interface
  BVI                Bridge-Group Virtual Interface
  CTunnel            CTunnel interface
  Dialer             Dialer interface
  FastEthernet       FastEthernet IEEE 802.3
  Loopback           Loopback interface
  MFR                Multilink Frame Relay bundle interface
  Multilink          Multilink-group interface
  Null               Null interface
  Serial             Serial
  Tunnel             Tunnel interface
  Vif                PGM Multicast Host interface
  Virtual-Template   Virtual Template interface
  Virtual-TokenRing  Virtual TokenRing
  accounting         Show interface accounting
  crb                Show interface routing/bridging info
  dampening          Show interface dampening info
  description        Show interface description
  irb                Show interface routing/bridging info
  mac-accounting     Show interface MAC accounting info
  mpls-exp           Show interface MPLS experimental accounting info
  precedence         Show interface precedence accounting info
  rate-limit         Show interface rate-limit info
  stats              Show interface packets & octets, in & out, by switching
                     path
  summary            Show interface summary
  switching
  ~略~
Router#sh contr?
controllers  

show指令

Router#show history
  en
  conf t
  sh running-config
  show history
顯示有打過的命令
Router#show terminal 
Line 0, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Status: PSI Ena
~略~
History is enabled, history size is 20. 最多只記20個命令
DNS resolution in show commands is enabled
Full user help is disabled
~略~
network/command.txt · 上一次變更: 2013/07/06 01:28 (外部編輯)