返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).: |$ g8 \  U; E6 Y4 `
•        ip default-gateway [address]: This is a global command and set default gateway." s* G7 W! f% e6 I: s7 K
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.$ \9 ~( C1 n$ G$ L; W
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.6 J  |1 `  M* F4 H
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
- l7 M2 p. _5 Q1 U•        duplex {auto/full/half}: This command sets duplex mode for the interface.: u7 n. {5 ^! `
•        hostname [name]: This command assigns a host name to the switch.- r2 t+ z; X/ o4 Z
•        line vty 0 15: This command enters vty (telnet) configuration mode.
! p( M9 g* j4 Z6 A4 M4 I•        line con 0: This command enters console configuration mode.7 K7 X' I: ~) p: i9 f! g/ V$ ~
•        login: This command tells the switch to ask for a password.# m! ]2 Q9 K& c$ |( @  b0 @  t
•        password [password]: This command sets the password.5 o, c( S1 Z2 t6 \# a( Y2 e
•        enable password [password]: This command sets the password to enter privileged mode.2 a5 U2 B& n* f+ I' p6 x5 @9 k
•        enable secret [password]: This command sets encrypted password.
  a- }! j! m1 e5 m+ I& v8 `$ B& L; w5 b•        configure terminal: This command enters configuration mode." }/ h6 I- r1 L8 D/ J7 J$ p
•        show interfaces fastethernet 0/x: This command displays interface status.
9 C0 d5 x, \! p2 x8 v1 F- y, m•        show interfaces: This command displays information of all interfaces., G) ^* e- ?. @6 s2 J3 L
•        show interfaces vlan 1: This command displays the ip address configuration.9 t& W6 L: |2 m; x
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
/ j& w7 S0 z  B: f, Q" s+ D" o) x/ p•        show-mac-address-table: This command displays the MAC address table.
+ c$ l5 m+ [& c- V+ y: p•        show version: This command displays the switch’s hardware and software status.0 h2 b- k9 ~, B4 T  g
•        show flash: This command displays the files and directories in the flash.( V/ `3 r) D9 P0 C1 O/ q- M
•        show history: This command displays the last ten commands.
4 o/ D, Q+ T! o7 q9 A0 Y•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
. t; v& @7 y& Y3 P. w- D•        show log: This command displays logging messages of the switch.2 H8 c6 F' V0 H( i" C& I7 q
•        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

返回列表