返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1)." s# W7 w/ Z  P8 K" p  U" ?
•        ip default-gateway [address]: This is a global command and set default gateway." t+ G2 G4 ?% \9 ?
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.9 [% C9 T- s$ x1 A
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
9 f' k9 v$ A6 ~, y•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
0 ~/ `" [; U5 g3 A. H+ m- t+ A•        duplex {auto/full/half}: This command sets duplex mode for the interface.
" T- T8 T: w3 ?# T. F+ k•        hostname [name]: This command assigns a host name to the switch.) H) x0 ^# f* V* {* V' a
•        line vty 0 15: This command enters vty (telnet) configuration mode.
3 |- X# S/ C, p( {+ ], r! e•        line con 0: This command enters console configuration mode.6 E; t7 i# a; ^- @4 B) w
•        login: This command tells the switch to ask for a password.
* t& v. k5 \9 c, Z6 p/ f; Q" t•        password [password]: This command sets the password.
, q& Y2 x( i# f; z  Q•        enable password [password]: This command sets the password to enter privileged mode.. J* b, T/ f( x
•        enable secret [password]: This command sets encrypted password.
4 x; a) i! ^+ I0 e, f" A•        configure terminal: This command enters configuration mode.( F5 _- I1 f& {" e3 ?: U7 U: _
•        show interfaces fastethernet 0/x: This command displays interface status.
9 U; T; c- {7 ?6 {' J, X9 q! L•        show interfaces: This command displays information of all interfaces.
  }' P( r3 u5 Q: f: _/ y•        show interfaces vlan 1: This command displays the ip address configuration.
/ P( _! k" C: A) g* J0 ^•        show [running/startup]-config: This command displays RAM/NVRAM settings.
3 v/ V* ?) k. U•        show-mac-address-table: This command displays the MAC address table.: t$ e" r" p) ?4 s" v
•        show version: This command displays the switch’s hardware and software status.6 `* {- _' L2 T9 O8 p  y' f4 K) X9 u
•        show flash: This command displays the files and directories in the flash.: |  a/ |. i( m
•        show history: This command displays the last ten commands., D* x0 X5 w# b% G. @3 P/ A! W
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
3 R" ]4 D; A) m# T•        show log: This command displays logging messages of the switch.
  [8 h( S; }) V- W7 d•        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

返回列表