返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).3 y+ j( E1 t7 h! e* }
•        ip default-gateway [address]: This is a global command and set default gateway.7 |) J" n; @3 x% S/ t2 O
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
: J" d* C, J. a4 J* y•        interface fast Ethernet 0/x: This command puts users into user configuration mode.. M. H; P. X! h% w# V% [, J
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
1 I4 t# j/ R7 ~- c' b) E3 s* c* R•        duplex {auto/full/half}: This command sets duplex mode for the interface.' g, ^2 w9 K' c; ~" g+ o) t' Z* G" [
•        hostname [name]: This command assigns a host name to the switch.2 c. `) \5 o  A* p' w: }; t
•        line vty 0 15: This command enters vty (telnet) configuration mode.3 G8 V; c) p. F; A3 I+ r
•        line con 0: This command enters console configuration mode." ~( A. _9 A( ~
•        login: This command tells the switch to ask for a password.0 o7 q8 D, v  Y" ~! M2 Y; U& Z
•        password [password]: This command sets the password.8 j6 v9 u2 k- F& T% K3 [
•        enable password [password]: This command sets the password to enter privileged mode.
7 K1 k$ m: ^0 o- P•        enable secret [password]: This command sets encrypted password.
; b' T) q: D* {. d. T$ K•        configure terminal: This command enters configuration mode.
4 D$ y$ ?5 b+ o) e' ^$ D/ I0 c•        show interfaces fastethernet 0/x: This command displays interface status., p2 y- K4 P4 _+ S  Q1 z. p% x( v
•        show interfaces: This command displays information of all interfaces.5 u8 G) E# t* p7 p
•        show interfaces vlan 1: This command displays the ip address configuration.3 D" L* t; |' B6 {  y
•        show [running/startup]-config: This command displays RAM/NVRAM settings.& X* y5 p# v" U+ U, S- A
•        show-mac-address-table: This command displays the MAC address table.8 j3 K: Q+ p: E5 `" C! ?
•        show version: This command displays the switch’s hardware and software status.
' K  Q3 r, P2 {  O•        show flash: This command displays the files and directories in the flash.
. t6 m6 P  ~& f% ?0 [•        show history: This command displays the last ten commands.
; w5 D* P% h' y4 a6 L. V•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.; W0 H6 }0 v* n5 B5 d
•        show log: This command displays logging messages of the switch.  @; C5 s5 L- `. _8 C
•        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

返回列表