返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).. J( T2 d" w7 x! C2 z5 X
•        ip default-gateway [address]: This is a global command and set default gateway.
7 z# Q3 I. H" M7 c( q) }•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
* R* Q( U6 U3 X: p8 G- V& c, O•        interface fast Ethernet 0/x: This command puts users into user configuration mode.2 Y. O. a, y- I0 W! K% L: H1 R1 X
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
( _0 L  ?% V* a; k•        duplex {auto/full/half}: This command sets duplex mode for the interface.& c3 h4 ?1 ?: ^9 a2 B. Y( v4 a2 G
•        hostname [name]: This command assigns a host name to the switch.
- g5 C1 t9 v9 ]•        line vty 0 15: This command enters vty (telnet) configuration mode." ~, e; s  A; @" N1 M$ G
•        line con 0: This command enters console configuration mode.
/ L. x( N7 ]  Y6 |•        login: This command tells the switch to ask for a password.
: u! q. Z1 x7 J6 y# T  J3 f$ k1 V$ \" C•        password [password]: This command sets the password.
; _( h, S' t6 u' n2 L•        enable password [password]: This command sets the password to enter privileged mode.' g8 v  s" E& u. t0 O9 o
•        enable secret [password]: This command sets encrypted password.
  E' B8 t5 z  W•        configure terminal: This command enters configuration mode.
8 D- Q3 |# b$ a/ D+ m* {•        show interfaces fastethernet 0/x: This command displays interface status.4 L! v* |3 a7 [$ X$ J  G0 D5 F
•        show interfaces: This command displays information of all interfaces.9 d( Z3 g7 ]) K0 a
•        show interfaces vlan 1: This command displays the ip address configuration.- u. M) P/ {0 B; g3 Z5 B
•        show [running/startup]-config: This command displays RAM/NVRAM settings.4 @9 r/ Y7 `& Y; F( O: M
•        show-mac-address-table: This command displays the MAC address table., c9 q! N3 N/ x  A; C& Z
•        show version: This command displays the switch’s hardware and software status.. R' A# Z+ g  I3 ?$ y0 ~3 }) D# y
•        show flash: This command displays the files and directories in the flash.- J# j4 W& i& f* O) E! K
•        show history: This command displays the last ten commands.
, T8 v7 u6 W2 c0 y  t0 r% P•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
% ~3 \* Y# p4 g, C& E* k% d•        show log: This command displays logging messages of the switch.! T# E. [1 ?* d+ a/ 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

返回列表