返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
) h# r0 v0 y! k3 D' `% Y•        ip default-gateway [address]: This is a global command and set default gateway.
6 N! r* S+ F3 B. N2 h) G$ y•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.. P( }3 p  t: j+ U7 m3 P
•        interface fast Ethernet 0/x: This command puts users into user configuration mode." @( m. E5 v9 f: f* X3 t+ z. M
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
; ~, S5 c, F! H6 T6 G0 d3 z3 F" ~1 H•        duplex {auto/full/half}: This command sets duplex mode for the interface.( F  q: e. R! a
•        hostname [name]: This command assigns a host name to the switch.
- s+ n% V5 l8 ^; _) D* h1 a0 W0 T•        line vty 0 15: This command enters vty (telnet) configuration mode.
, t5 P4 b; ]- _/ q1 {7 Y•        line con 0: This command enters console configuration mode.
6 C: c' ?& `" q4 n2 D& D$ I•        login: This command tells the switch to ask for a password.
2 v  E  ^' Y1 N* a& t•        password [password]: This command sets the password.8 P( L: |/ |. U  g6 r
•        enable password [password]: This command sets the password to enter privileged mode.
' K9 N' U8 C  |! T5 A/ S•        enable secret [password]: This command sets encrypted password.
+ S7 y. Z/ U% d$ n- k2 ~+ D•        configure terminal: This command enters configuration mode.
3 Z" v/ F4 l5 k* o/ e9 Z! J9 E•        show interfaces fastethernet 0/x: This command displays interface status.) D, p4 Q- e: S2 Q! h. |' g
•        show interfaces: This command displays information of all interfaces./ Y3 l4 Z1 h) T" F; d3 \
•        show interfaces vlan 1: This command displays the ip address configuration.. `& L% ?+ n" r7 t; ^
•        show [running/startup]-config: This command displays RAM/NVRAM settings." T- d7 m) q3 Q& V
•        show-mac-address-table: This command displays the MAC address table.% z; K! p9 D0 K. z# C9 S
•        show version: This command displays the switch’s hardware and software status.
; ]1 S5 V: }' S$ z7 E1 s, {•        show flash: This command displays the files and directories in the flash.0 i3 C$ y3 K. S0 T
•        show history: This command displays the last ten commands.! \9 T. M! t, \0 b: A
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.% I' C5 t9 z$ }3 s" [. u0 n
•        show log: This command displays logging messages of the switch.4 Y7 P8 j1 J$ x2 h% t4 z8 C. T
•        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

返回列表