返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
; \2 a+ T' m3 y" H2 E! ^•        ip default-gateway [address]: This is a global command and set default gateway.
. R( x- {( [& Z. {( m/ P5 ~•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.8 L0 t% R; }+ x5 u& s# G
•        interface fast Ethernet 0/x: This command puts users into user configuration mode." R& b3 P' j( x
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.: M5 _* @  F; d. u( K' q
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
: F8 R/ U4 N8 k! m% j) L•        hostname [name]: This command assigns a host name to the switch.; c. r3 p6 \' x, w
•        line vty 0 15: This command enters vty (telnet) configuration mode.
* @* P" M4 u* K) y9 N# b•        line con 0: This command enters console configuration mode.
1 N+ F+ G4 a. B•        login: This command tells the switch to ask for a password.2 K# @0 c1 |! O* G; ?3 H. n
•        password [password]: This command sets the password.: `5 y7 E7 o% }0 d5 _
•        enable password [password]: This command sets the password to enter privileged mode.
0 |' W4 T" L, {- z+ s# C•        enable secret [password]: This command sets encrypted password.
0 Q' u0 q& M! X•        configure terminal: This command enters configuration mode.
+ {, ^7 W$ U1 s" M8 D6 Y- G, r•        show interfaces fastethernet 0/x: This command displays interface status.
# x' D# }  G* L& C6 `) `9 P9 L& J  ~•        show interfaces: This command displays information of all interfaces.
4 v. Z" t* T- e- R/ P•        show interfaces vlan 1: This command displays the ip address configuration.
5 e/ C6 e& P" Q% N4 I  t5 V* U•        show [running/startup]-config: This command displays RAM/NVRAM settings.
8 c( X7 S& }, m5 l" @2 s6 o•        show-mac-address-table: This command displays the MAC address table.
4 v1 V/ U* L( L: e4 I+ q•        show version: This command displays the switch’s hardware and software status.+ r9 A7 u: C+ X9 E- q
•        show flash: This command displays the files and directories in the flash.% H- N9 d/ Y- C& E6 l
•        show history: This command displays the last ten commands.
6 D: L( J' M+ V1 L: F•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
' P$ N& n* W4 {* `4 ~- }' n•        show log: This command displays logging messages of the switch.
4 Z! N! Q. _( O( M3 _•        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

返回列表