返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).' p8 [1 ?# c# Y* U
•        ip default-gateway [address]: This is a global command and set default gateway.1 m. {$ v2 e( P/ q, q5 `( s0 \- L
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
7 u" ]+ x/ @! @8 O7 C' H; A•        interface fast Ethernet 0/x: This command puts users into user configuration mode.9 j/ L. H8 F. W+ V1 ^
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.$ J! [$ v& l& ?* ~
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
3 \6 _) y" c, t, g9 G/ c•        hostname [name]: This command assigns a host name to the switch.
7 n5 x4 @5 L1 {. l3 l$ m) d9 O•        line vty 0 15: This command enters vty (telnet) configuration mode.2 I5 C5 U) {8 G% S. [
•        line con 0: This command enters console configuration mode.
4 @5 E8 o: r3 H•        login: This command tells the switch to ask for a password.
; U) [6 _, J: Z7 }1 {•        password [password]: This command sets the password.
; \/ S) Y' u/ T) w$ D•        enable password [password]: This command sets the password to enter privileged mode.2 w! _; P8 P: D, L% e  q7 i
•        enable secret [password]: This command sets encrypted password.3 C9 h. w# F: ]" h+ O9 U: W
•        configure terminal: This command enters configuration mode.
6 m. n0 Q$ \" [+ q3 w  R8 {* t+ I•        show interfaces fastethernet 0/x: This command displays interface status.! T) L  Q  N# }9 Y- t
•        show interfaces: This command displays information of all interfaces.% E+ ^$ r* E/ G/ a8 |0 S
•        show interfaces vlan 1: This command displays the ip address configuration.3 x' r2 v2 q! u8 e9 f3 ~
•        show [running/startup]-config: This command displays RAM/NVRAM settings.  V" H' o7 Z0 s) \7 ]3 _% T
•        show-mac-address-table: This command displays the MAC address table.
7 M* T2 z- Q& M•        show version: This command displays the switch’s hardware and software status.# r" S: N# \0 C: ~) z1 t
•        show flash: This command displays the files and directories in the flash.
' W1 f2 I+ a2 M•        show history: This command displays the last ten commands.6 S; _9 Q0 A7 P5 X( o7 n* Z4 v
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.+ V' z/ G, B- n
•        show log: This command displays logging messages of the switch.$ O% E9 m4 h& C# W* T8 G
•        copy run start / write mem: This command saves configurations from RAM to NVRAM.
Bill Tang     MSN:billtang@openplatform.com.hk
Openplatform Technology Co.,Ltd. 資訊坊科技有限公司  
無線工程施工、方案設計、無線產品、天饋材料、終端設備綜合供應商
www.openplatform.com.hk  Tel: 852-27491011  Fax: 852-81483532

中國無線技術論壇 http://www.how2do.com.Hk

现在我这边都是在用h3c的,命令差别多,思科的还就都没用了,不过现在还有这个型号设备在网。
来自生活现象

TOP

返回列表