返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
9 u4 `1 c, }) s  ~1 A, [•        ip default-gateway [address]: This is a global command and set default gateway.
2 B& h. L( ~  F! I8 X' |* m  F& P•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.* s8 p; K6 f0 r: J3 G7 v3 w
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
; l0 o4 _& P4 U0 d% b% z2 o% t) S+ y( T+ f•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.. A- i: G7 k7 Z; ~: }$ c1 o
•        duplex {auto/full/half}: This command sets duplex mode for the interface.. o! g, @( n) h# y9 L7 ^9 K: E9 o. M
•        hostname [name]: This command assigns a host name to the switch.
& Z/ X) t- c; ^* _* \•        line vty 0 15: This command enters vty (telnet) configuration mode.4 G( `4 M5 g" I+ N5 K
•        line con 0: This command enters console configuration mode." U$ @. L# p8 p" j0 \5 S* U
•        login: This command tells the switch to ask for a password.1 r  Q( c; S  \0 p+ [: b9 E
•        password [password]: This command sets the password." B! ^, \* g; P9 j* ~! w/ F
•        enable password [password]: This command sets the password to enter privileged mode., [( W& Q0 u2 E* O9 S( |
•        enable secret [password]: This command sets encrypted password.
/ }& F, L7 \( f! R•        configure terminal: This command enters configuration mode.
2 u5 _% ~$ O  F' y6 t1 E0 c•        show interfaces fastethernet 0/x: This command displays interface status.. I5 Y8 s# d: a5 l  P( U! Z0 S0 c
•        show interfaces: This command displays information of all interfaces.* E) d$ X8 |" x+ u! M  x; H
•        show interfaces vlan 1: This command displays the ip address configuration." k& D% q0 T9 T; @0 v+ x: m( X5 K
•        show [running/startup]-config: This command displays RAM/NVRAM settings.8 a7 P; L% t4 D; x
•        show-mac-address-table: This command displays the MAC address table.
  Y) e7 Q2 s4 R" b+ G) `•        show version: This command displays the switch’s hardware and software status.& i% V# [5 y. T- M2 ~0 ]7 c  g
•        show flash: This command displays the files and directories in the flash.( ]) A" ^. A5 i# a+ o
•        show history: This command displays the last ten commands.6 m1 E+ P+ ~  y8 B# ~! E/ f( c
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.  A; p% X# G! ?( j! V. e
•        show log: This command displays logging messages of the switch.
8 @0 N, N; ~9 X3 I" O$ Z•        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

返回列表