返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
! N+ E: a0 c8 j' H8 M* J& z+ ^5 o•        ip default-gateway [address]: This is a global command and set default gateway.
- ]2 v5 _! E: B. h8 c7 d•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.& ^9 ^2 R' y2 ?% N! V& v
•        interface fast Ethernet 0/x: This command puts users into user configuration mode." C: }! z0 |' A- e, W! D) M
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.- C) H0 q& {3 Y$ c( Q
•        duplex {auto/full/half}: This command sets duplex mode for the interface.& b; `9 |  u5 B4 d. P9 a
•        hostname [name]: This command assigns a host name to the switch./ u/ ?. ]0 S' u0 b; B! a
•        line vty 0 15: This command enters vty (telnet) configuration mode.: M( }# A% b9 K; L# `& X
•        line con 0: This command enters console configuration mode.
# V8 P2 O5 T# j5 O& G2 ~$ R•        login: This command tells the switch to ask for a password.
, Q. S2 A8 @5 n2 _0 ?) d•        password [password]: This command sets the password.- C. @0 @& J5 }3 u
•        enable password [password]: This command sets the password to enter privileged mode.
! c- v2 a, m/ N* e5 _" S+ L•        enable secret [password]: This command sets encrypted password.+ ?/ J1 I2 }0 D( w- F' E: O
•        configure terminal: This command enters configuration mode." ^: c/ Y1 l" V+ i6 \  R" ~
•        show interfaces fastethernet 0/x: This command displays interface status.1 y( j* ~* I1 I- L
•        show interfaces: This command displays information of all interfaces.' p  u7 }7 v5 i2 G! f; q* N2 |6 I
•        show interfaces vlan 1: This command displays the ip address configuration.
1 h  A- A) |% a% {: X" G! g•        show [running/startup]-config: This command displays RAM/NVRAM settings.
- C1 m4 k+ s  d# |: u/ W! J- V•        show-mac-address-table: This command displays the MAC address table., ~: D  M+ ~7 k4 i" ~: m: e
•        show version: This command displays the switch’s hardware and software status.
* v' e  L. S' B$ ~; R: }7 }•        show flash: This command displays the files and directories in the flash.
- Q& i/ S: j4 ]% @  Z" ?6 w•        show history: This command displays the last ten commands.
5 Q" D% E" r2 I3 c: c. q•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.; w6 i9 c2 V8 f4 F2 w* r' ^
•        show log: This command displays logging messages of the switch.
2 k- B5 R4 c. \8 C2 @•        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

返回列表