返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).1 U! q. c6 F0 J0 |2 ]7 D
•        ip default-gateway [address]: This is a global command and set default gateway.
+ E4 o6 C5 h7 m3 W: I" f6 s+ G2 z•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.( X) g) M$ V/ p7 ^  q* Q) @: @
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
8 s1 f7 R/ G0 L5 F4 l•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.3 o& W& x$ C( |! Q2 c! l
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
  Y; K( C) o; w5 ]•        hostname [name]: This command assigns a host name to the switch./ R# T& P' h3 M5 x! S, C
•        line vty 0 15: This command enters vty (telnet) configuration mode.8 |& }- U, s) S7 f3 Y
•        line con 0: This command enters console configuration mode.$ L  i' L7 t% y6 Q* J, ]
•        login: This command tells the switch to ask for a password.
& c/ Y/ G: H) ^% n7 y•        password [password]: This command sets the password.+ ~; s& D& K" a6 P& B- Q
•        enable password [password]: This command sets the password to enter privileged mode.# Y8 s; [1 f- w4 s& l9 {; W# b8 O
•        enable secret [password]: This command sets encrypted password.- J5 e5 y: L! s$ W, v* V
•        configure terminal: This command enters configuration mode.8 K# i  b, e) z/ ?6 F5 z
•        show interfaces fastethernet 0/x: This command displays interface status.
- u5 }6 F6 \+ s$ e1 i•        show interfaces: This command displays information of all interfaces.
1 ^- s$ S) O9 }4 q, w: K, y•        show interfaces vlan 1: This command displays the ip address configuration./ {3 x5 I1 z( `/ A# A1 q) u
•        show [running/startup]-config: This command displays RAM/NVRAM settings.$ u- t% L- [- N, B4 B" H# J
•        show-mac-address-table: This command displays the MAC address table.6 ^$ f* H4 _- C$ N( p- H
•        show version: This command displays the switch’s hardware and software status.
; t9 q: _- ~. s•        show flash: This command displays the files and directories in the flash.
1 T5 M# j2 i0 y1 _9 p" V' `•        show history: This command displays the last ten commands.! S& @# n3 g: i' A$ ^* t
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
& b5 w" d$ q, Y: n4 j/ X$ n/ x* [•        show log: This command displays logging messages of the switch.! N0 ]+ B6 ^7 M' y, b/ Z3 \2 m* Y- N
•        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

返回列表