返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).3 v( d/ P* q$ X/ y- U
•        ip default-gateway [address]: This is a global command and set default gateway.
  L) V# R* _1 W2 w: @•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.) Q3 f' C: G! ?( ]$ L$ k
•        interface fast Ethernet 0/x: This command puts users into user configuration mode./ r+ Y) Z& \# d2 q& h9 {
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
; W: U+ E" R/ W6 M* C" R•        duplex {auto/full/half}: This command sets duplex mode for the interface.8 {. O$ U2 q& O7 P( `0 i; I! |+ B, Q
•        hostname [name]: This command assigns a host name to the switch.5 C+ p' u  b9 ^' o* e8 S& n
•        line vty 0 15: This command enters vty (telnet) configuration mode.
3 X/ \, I* `/ c. t) G+ T. c2 H- d•        line con 0: This command enters console configuration mode.. S6 _  F7 ^& z8 W! \- E
•        login: This command tells the switch to ask for a password.5 T3 f$ k6 y! l, B; G, b
•        password [password]: This command sets the password.
- g1 D6 ^& U& I4 h* ~: I' @•        enable password [password]: This command sets the password to enter privileged mode.9 S' l, {! [" E9 ?9 q
•        enable secret [password]: This command sets encrypted password.
) g, Z) j" E; K/ y  `/ D•        configure terminal: This command enters configuration mode.
0 M! f1 q' @! y- T. Y- E•        show interfaces fastethernet 0/x: This command displays interface status.  i: S- d5 l1 q  v* n* N
•        show interfaces: This command displays information of all interfaces.
5 Q" G' H. i2 }3 {: M+ ?; H•        show interfaces vlan 1: This command displays the ip address configuration.
9 d: I8 H; ]  w•        show [running/startup]-config: This command displays RAM/NVRAM settings.2 s6 |! O. D0 D/ x: c% [% ]8 c
•        show-mac-address-table: This command displays the MAC address table.
7 n; c# }# R- `. u4 ^( ]* D; Q•        show version: This command displays the switch’s hardware and software status.
. E6 D4 I; X2 C5 }- h•        show flash: This command displays the files and directories in the flash.
6 h; d3 `& ]$ J) Y5 v9 Z# ?•        show history: This command displays the last ten commands.1 Z0 h! a- y' }7 Q6 r0 _
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.  ^6 q- v- G/ e
•        show log: This command displays logging messages of the switch.
) ]8 Z9 s/ m( T0 u% D7 P+ ^•        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

返回列表