返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
' _: M7 I5 i7 S; m' u•        ip default-gateway [address]: This is a global command and set default gateway.
) L+ y0 ~+ f0 E' ?" C& O8 m. O•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.; }2 s! V8 y& Y: ]
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
# E4 c7 s& l9 [$ K% }+ Q; l•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
1 v' S! z5 W2 `. D•        duplex {auto/full/half}: This command sets duplex mode for the interface.( t1 p* W- p5 H) B9 B
•        hostname [name]: This command assigns a host name to the switch.
! G8 X% S9 ~  c: u•        line vty 0 15: This command enters vty (telnet) configuration mode.
# E! Q3 Y, {3 C9 G0 C& e; E1 o. j•        line con 0: This command enters console configuration mode.
" T& ~7 @, ]8 e" @0 h# V•        login: This command tells the switch to ask for a password.
$ z& g7 ~  S6 X3 u9 w3 _3 s•        password [password]: This command sets the password.6 m$ g4 `1 ?/ N8 C0 v' r8 f
•        enable password [password]: This command sets the password to enter privileged mode.- C  k; M8 |8 E* o) c+ L
•        enable secret [password]: This command sets encrypted password.
$ \- T5 v3 ~1 ^•        configure terminal: This command enters configuration mode.& T# c" @' |/ ^; [6 |; Z( v
•        show interfaces fastethernet 0/x: This command displays interface status.
. G! @7 C$ T: }0 t) B•        show interfaces: This command displays information of all interfaces.% _6 A# E, c3 k+ |1 X$ T
•        show interfaces vlan 1: This command displays the ip address configuration.
3 k. W4 t( t4 V& {( [4 v8 E•        show [running/startup]-config: This command displays RAM/NVRAM settings.1 }. p6 M, @: ?8 L
•        show-mac-address-table: This command displays the MAC address table.4 Z; E% Q0 O6 J, L! u
•        show version: This command displays the switch’s hardware and software status.
( S0 D4 `) G  s5 I" O•        show flash: This command displays the files and directories in the flash.* @5 B( A' i8 \, h& k3 J
•        show history: This command displays the last ten commands.( m, ^. N! D, F
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
1 K: \- d7 {' @4 b; S/ |•        show log: This command displays logging messages of the switch.
. b" l+ }3 |+ O. b•        copy run start / write mem: This command saves configurations from RAM to NVRAM.
Bill Tang     MSN:billtang@openplatform.com.hk
Openplatform Technology Co.,Ltd. 資訊坊科技有限公司  
無線工程施工、方案設計、無線產品、天饋材料、終端設備綜合供應商
Tel: 852-27491011  Fax: 852-81483532

返回列表