返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
) V4 g1 B5 Q9 O, v1 N0 c•        ip default-gateway [address]: This is a global command and set default gateway.
$ n! L- x) h; D•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.3 Y7 c7 h& W- W/ t; v+ j5 J
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
% y3 s. G) m: y+ x2 J0 @' c•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.. {  l4 @% `9 r# u, p3 d% W
•        duplex {auto/full/half}: This command sets duplex mode for the interface.1 Q/ k* `0 l+ |5 R6 m* t) J
•        hostname [name]: This command assigns a host name to the switch.
$ L2 a! X  R) V) i; l4 h•        line vty 0 15: This command enters vty (telnet) configuration mode.
  U1 }# O& Y  ]  r9 @, Q6 ~. ]8 a•        line con 0: This command enters console configuration mode.
) d7 Z* T2 Y, J6 g6 r8 C•        login: This command tells the switch to ask for a password.  C5 @- p0 q8 n9 D0 D
•        password [password]: This command sets the password.& {( k" k* p1 ?- C0 d0 y: g
•        enable password [password]: This command sets the password to enter privileged mode.8 Z) O1 ~' K, b
•        enable secret [password]: This command sets encrypted password.3 s1 W/ o5 ~( V0 u2 C
•        configure terminal: This command enters configuration mode.
: X% d' u9 [$ G. @/ O; c& b•        show interfaces fastethernet 0/x: This command displays interface status.
% N. c  r' h+ X; }•        show interfaces: This command displays information of all interfaces.
3 q+ R0 F: \& c# F•        show interfaces vlan 1: This command displays the ip address configuration.) P5 _0 N# x9 }$ P/ D7 d
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
. H; d$ p: }* s+ X! m. y- J7 x•        show-mac-address-table: This command displays the MAC address table.4 N; N3 r8 x& u/ a$ ~
•        show version: This command displays the switch’s hardware and software status.  n7 `' ]$ U+ a5 G% A( w" g
•        show flash: This command displays the files and directories in the flash., i. O9 ?9 u6 L
•        show history: This command displays the last ten commands.) G3 F6 j$ M9 T9 l) J/ y% y2 ?4 T
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
; Q* I2 A" _" ]; _) x/ {) `3 y•        show log: This command displays logging messages of the switch.
7 A! p+ u% g$ V' r/ j•        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

返回列表