返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
; h) ^  h/ Z0 q2 e•        ip default-gateway [address]: This is a global command and set default gateway.
  Q5 }6 p0 ?- J4 I( L* z' U( I•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
) Q7 g9 l0 y) [•        interface fast Ethernet 0/x: This command puts users into user configuration mode.6 I! `% U) d8 o* Z0 H( d
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.: D2 v& F2 T8 u7 E2 o0 C% F0 F
•        duplex {auto/full/half}: This command sets duplex mode for the interface.# D6 C6 q9 a( P, ~' h5 k8 b8 C3 z2 D
•        hostname [name]: This command assigns a host name to the switch.
5 {; |) |- u; C, t/ M7 q9 F•        line vty 0 15: This command enters vty (telnet) configuration mode.) l. I3 I( O* _# g3 `$ r% v8 U
•        line con 0: This command enters console configuration mode.
9 Y3 k* V6 m6 S6 |: W$ j9 c; U•        login: This command tells the switch to ask for a password.2 z9 Q3 E; z; d# |6 e" f
•        password [password]: This command sets the password.
7 g/ Q" k! s8 _( l0 E+ @% c: e9 n•        enable password [password]: This command sets the password to enter privileged mode., x5 }5 Z# d2 x6 h+ \' R
•        enable secret [password]: This command sets encrypted password.% L+ N/ _9 @& l+ j4 M, r( g
•        configure terminal: This command enters configuration mode.
/ d' L; `3 M5 C# a: \8 E+ z' G•        show interfaces fastethernet 0/x: This command displays interface status.
3 M" R: R! A) ]/ N) L•        show interfaces: This command displays information of all interfaces.5 _7 H6 e* f" V. j) g# Q. G
•        show interfaces vlan 1: This command displays the ip address configuration.' f* P4 ^& S( e! e4 B6 C. z
•        show [running/startup]-config: This command displays RAM/NVRAM settings.* C3 l7 X% }" t9 O
•        show-mac-address-table: This command displays the MAC address table.
7 [' j9 r4 f0 m•        show version: This command displays the switch’s hardware and software status.
9 f( ^) C. [- d5 g( w•        show flash: This command displays the files and directories in the flash.
9 W5 U  H$ o- d$ e/ }•        show history: This command displays the last ten commands.' q" Y  S/ \8 s% F1 h  v
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.% E* L, I, k1 h% G( Q# U
•        show log: This command displays logging messages of the switch.
/ t. K" |5 M7 H: X/ x•        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

返回列表