返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
! |* ^3 R' n! J6 o•        ip default-gateway [address]: This is a global command and set default gateway.
2 Y* S7 O- e6 ?•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.4 P% y( {8 Z4 ^* e
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
6 l0 Q  f* b: A9 h: l•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.  k' S; w- J, ~4 C  s" T! v
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
  n! E( }+ r( @& g( z•        hostname [name]: This command assigns a host name to the switch.5 y0 x% s5 S( W( z
•        line vty 0 15: This command enters vty (telnet) configuration mode.$ v; I1 F3 V7 J! q3 G" p
•        line con 0: This command enters console configuration mode.$ }% R# y: B- q& Z; X( |* r
•        login: This command tells the switch to ask for a password.
+ H6 Q. D% L1 ?, l# G, S1 _  t•        password [password]: This command sets the password.
! u; p3 y3 a% y) I* g•        enable password [password]: This command sets the password to enter privileged mode.; G6 x. l. r1 K
•        enable secret [password]: This command sets encrypted password.1 G; s7 A+ b9 Z  Y& v* @
•        configure terminal: This command enters configuration mode.
2 y+ N5 {5 M3 r: n* \$ S•        show interfaces fastethernet 0/x: This command displays interface status.
& S4 E# r' j' D! c( W•        show interfaces: This command displays information of all interfaces.$ ]" L, s! z8 Z. }% ?" J
•        show interfaces vlan 1: This command displays the ip address configuration.
3 }# t/ A0 }) R7 B# f. Y; H•        show [running/startup]-config: This command displays RAM/NVRAM settings.
9 P2 R9 t' O1 c, R/ Q•        show-mac-address-table: This command displays the MAC address table.
! m$ x( t5 }( P0 p5 X9 A•        show version: This command displays the switch’s hardware and software status.
' C% @5 b0 A0 m& e9 \3 P•        show flash: This command displays the files and directories in the flash.
0 n8 q% U$ n2 ]; e0 P7 o•        show history: This command displays the last ten commands.
( v" {3 x+ ~" W/ v% C1 c1 E•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
! b3 \5 A- W, o( L/ Q•        show log: This command displays logging messages of the switch.
6 @" X& y/ I) C- \' A( \+ l0 s•        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

返回列表