返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
2 _, z( ]" a: w3 F- ~7 v2 m•        ip default-gateway [address]: This is a global command and set default gateway.
  a; `7 l+ _+ r, F* ^•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.( q9 M4 o( A. B- i  H+ E
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
9 g9 n# S2 {7 P; o5 ?7 p•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
1 V3 c; V* d+ p- I/ t# _•        duplex {auto/full/half}: This command sets duplex mode for the interface.+ G9 ^/ x5 P! S
•        hostname [name]: This command assigns a host name to the switch.) _" q2 V+ F' W0 _$ a
•        line vty 0 15: This command enters vty (telnet) configuration mode.
3 S  y5 P6 K' M# _/ Y& D•        line con 0: This command enters console configuration mode.& }  x$ R. y# o0 s5 f0 b( o- i
•        login: This command tells the switch to ask for a password.' A3 A$ c+ j8 G: J( p7 g9 w
•        password [password]: This command sets the password.
. r& Z+ \- G8 B9 J" J; S' u•        enable password [password]: This command sets the password to enter privileged mode.. v! d5 t/ [( t7 u* S  l
•        enable secret [password]: This command sets encrypted password.: I3 z3 f  _- k* q6 Q/ e$ C  X! c
•        configure terminal: This command enters configuration mode.6 n3 S" q$ a$ a( I
•        show interfaces fastethernet 0/x: This command displays interface status.; f2 D1 P0 B9 _9 {: y0 E( i
•        show interfaces: This command displays information of all interfaces.
7 Z0 Y. e$ @9 T. `8 ~•        show interfaces vlan 1: This command displays the ip address configuration.
. K# i: q5 P! C  c•        show [running/startup]-config: This command displays RAM/NVRAM settings.
: U+ M5 P. m1 k$ U( h8 d! |* p•        show-mac-address-table: This command displays the MAC address table.
" r  t6 b" X1 j5 N* D* F•        show version: This command displays the switch’s hardware and software status.1 e$ Q7 Y( @0 t  l4 E
•        show flash: This command displays the files and directories in the flash.) H" g& z5 I  M! K  P3 ^5 @6 F
•        show history: This command displays the last ten commands.
. g+ @, ^+ S+ c•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
5 P* m* D! Z+ {* k•        show log: This command displays logging messages of the switch.
, e/ o* }7 I2 S/ U5 F5 f•        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

现在我这边都是在用h3c的,命令差别多,思科的还就都没用了,不过现在还有这个型号设备在网。
来自生活现象

TOP

返回列表