返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).' ?; R: @* y# F( c! M8 w/ J
•        ip default-gateway [address]: This is a global command and set default gateway.4 F* B( \3 E& T/ R  T1 Y/ o" y
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.1 v' W, E7 W. X" h8 c
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
; e. g# v# l. |; I& E6 @& I8 v•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
. w9 O2 {# c# s3 K# B. D' B, W•        duplex {auto/full/half}: This command sets duplex mode for the interface.5 Q+ \' N) t% o4 h
•        hostname [name]: This command assigns a host name to the switch.0 S4 X! j1 P# S; Z* _! |5 p. I
•        line vty 0 15: This command enters vty (telnet) configuration mode.8 H7 g+ r' B5 O1 l; |# ~
•        line con 0: This command enters console configuration mode.0 K+ s8 ^! A- Z) `# n! |
•        login: This command tells the switch to ask for a password.
9 K, g% B+ v" ^$ a2 L# k% b4 G•        password [password]: This command sets the password.
: u; p' \) H% ]5 @( h; i•        enable password [password]: This command sets the password to enter privileged mode.% F, x& j0 {" @
•        enable secret [password]: This command sets encrypted password.
, U9 h+ f& H' m3 [" B: a•        configure terminal: This command enters configuration mode.
$ @0 C' Y0 R/ I1 S•        show interfaces fastethernet 0/x: This command displays interface status.
! U- ~# d/ R7 l. \•        show interfaces: This command displays information of all interfaces.
& o- s  b% V+ P; ?# Q( k•        show interfaces vlan 1: This command displays the ip address configuration.
$ P/ k" i) B' i  q1 W6 E1 e4 P( L•        show [running/startup]-config: This command displays RAM/NVRAM settings.
% T0 s/ g+ x7 T0 R9 i% @9 S•        show-mac-address-table: This command displays the MAC address table.6 T* Z6 t% d4 c! p- ~5 k1 e$ `  v+ Q
•        show version: This command displays the switch’s hardware and software status.
: a7 F0 K% g" q" l•        show flash: This command displays the files and directories in the flash.
! Y1 ]" Y, ]( F  b•        show history: This command displays the last ten commands.+ [9 x7 a, s, W6 l- i# r
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.. G/ x2 a+ \7 ]
•        show log: This command displays logging messages of the switch.
+ ]2 m2 [  T, a. e  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

返回列表