返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
+ z% ]. Y, w9 j( z/ I; l•        ip default-gateway [address]: This is a global command and set default gateway.
) R9 m; l7 Q2 U- i$ k/ [9 n' a•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
+ M! v( V7 j- Z% F7 h" N•        interface fast Ethernet 0/x: This command puts users into user configuration mode., ^! ~4 c" j3 ?1 }
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.3 M1 u. J* u8 A- {
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
" t. V/ L  R* o# x( [1 O  f1 c•        hostname [name]: This command assigns a host name to the switch.4 L- R  m$ G3 [
•        line vty 0 15: This command enters vty (telnet) configuration mode.# K3 R+ ]$ B5 \* O
•        line con 0: This command enters console configuration mode.
0 \" [  ^. e! q3 W( `1 d; `' x/ O•        login: This command tells the switch to ask for a password.( _$ h7 Y. Q9 R5 ]6 o9 e
•        password [password]: This command sets the password.
: u2 ~* i( H0 ~& x! n•        enable password [password]: This command sets the password to enter privileged mode.. `5 B+ J) y, n) s5 j/ U
•        enable secret [password]: This command sets encrypted password.  @  C5 f4 c$ y
•        configure terminal: This command enters configuration mode.* ^. F6 T5 O' R; R- {$ ~9 t
•        show interfaces fastethernet 0/x: This command displays interface status./ J8 m1 A( ?6 u( q5 \- B1 V
•        show interfaces: This command displays information of all interfaces.! b8 X) i- x$ n. I  L8 R
•        show interfaces vlan 1: This command displays the ip address configuration.
4 R* t0 J- W0 e; r•        show [running/startup]-config: This command displays RAM/NVRAM settings.' \! r' n" h( z- }; B# ~
•        show-mac-address-table: This command displays the MAC address table.$ _/ ^. M. Y  Z5 [) K
•        show version: This command displays the switch’s hardware and software status.
, \. A* [- O6 X•        show flash: This command displays the files and directories in the flash.2 g' \3 }7 X2 q! C5 X$ A
•        show history: This command displays the last ten commands.
( d3 e  @, t! b) V4 |( b$ N2 d* `•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
8 c' U3 a+ n& N  r•        show log: This command displays logging messages of the switch.2 L1 E  h" L1 J+ r4 F4 s4 Y
•        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

返回列表