返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
& ^6 ~# y  G2 P•        ip default-gateway [address]: This is a global command and set default gateway.
( T1 s% g" l! }* U* n* j: `1 \•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
0 |: B6 D' B- `( t* ]•        interface fast Ethernet 0/x: This command puts users into user configuration mode.  C, k' G: j! Z- t
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.9 Y9 T4 ]4 q5 c3 e, {! |% D1 F
•        duplex {auto/full/half}: This command sets duplex mode for the interface.+ n% {* b* u' O: B' t1 R
•        hostname [name]: This command assigns a host name to the switch.
* o& e# `/ k- V/ _" Y: O% b8 Z6 r( Z•        line vty 0 15: This command enters vty (telnet) configuration mode.
+ n; U8 W& G) a# K% t7 [/ L8 @•        line con 0: This command enters console configuration mode.
, g( D. k- \9 A2 d$ A( h•        login: This command tells the switch to ask for a password.
1 |- n2 k; ]8 f2 ?( l% O. \•        password [password]: This command sets the password.+ l6 L) ^3 q5 _9 q, @, _
•        enable password [password]: This command sets the password to enter privileged mode.& S4 v; d1 e5 q( d" T. P) j
•        enable secret [password]: This command sets encrypted password.- t9 B  [! A+ c7 Y3 q/ e
•        configure terminal: This command enters configuration mode.
$ h! @$ q0 }, n3 ^! H" V•        show interfaces fastethernet 0/x: This command displays interface status.
+ N- a3 C* V2 n•        show interfaces: This command displays information of all interfaces.
6 p4 F2 C8 C" o( I•        show interfaces vlan 1: This command displays the ip address configuration.
+ ^- M0 s- T& r6 n•        show [running/startup]-config: This command displays RAM/NVRAM settings.
  h( S* E  I) F$ L: @•        show-mac-address-table: This command displays the MAC address table.$ J. v2 L- b' i0 P0 _# K
•        show version: This command displays the switch’s hardware and software status.
; c0 h5 p( v) H. B/ a•        show flash: This command displays the files and directories in the flash.! {% a- x+ j# Q( O! y
•        show history: This command displays the last ten commands.
9 j* O7 C7 s; x( I# G( g, K: t9 w•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.9 W  U. e8 h- I/ w5 l( b
•        show log: This command displays logging messages of the switch.& ^8 q" }- d% N7 K
•        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

返回列表