返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
6 f8 T! z' p  v6 h& u) h. P•        ip default-gateway [address]: This is a global command and set default gateway.
- e7 X7 r6 p, q, J6 N•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
0 s5 J! B/ Z7 h, j- L: g•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
* s/ j0 I0 U  v•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
$ h! z5 k5 L* f" m5 @* `•        duplex {auto/full/half}: This command sets duplex mode for the interface.
8 p4 v7 {2 B4 A0 e# \) N: \4 k, Y* |•        hostname [name]: This command assigns a host name to the switch.+ \; Z# }* k& o& N& v
•        line vty 0 15: This command enters vty (telnet) configuration mode.
/ V5 }) D) @" {  d+ E9 y( ^" R0 \•        line con 0: This command enters console configuration mode.
. }( ]6 a. u; ]. K•        login: This command tells the switch to ask for a password.6 F* Z3 Z8 |8 a2 S
•        password [password]: This command sets the password.
/ h- e9 n* p4 q7 v* M- B•        enable password [password]: This command sets the password to enter privileged mode.
, C- r: v; ~& p+ F0 b6 t•        enable secret [password]: This command sets encrypted password.
9 @$ F) w6 Z& q•        configure terminal: This command enters configuration mode.! C5 y+ l. ~* \$ v1 E
•        show interfaces fastethernet 0/x: This command displays interface status.6 e9 ^' G. r- y, ^
•        show interfaces: This command displays information of all interfaces.
8 ?- e" O- e. m  L* L  e* L# ^•        show interfaces vlan 1: This command displays the ip address configuration.
- [1 y" _/ i6 _4 a$ G0 J•        show [running/startup]-config: This command displays RAM/NVRAM settings.
4 N2 y- L; B8 z, X•        show-mac-address-table: This command displays the MAC address table.
, P! c# ~' r" J# r•        show version: This command displays the switch’s hardware and software status.
+ x/ H! x! Z) B. y* N  B& W( u•        show flash: This command displays the files and directories in the flash.8 B2 B- r) ]! ]+ M1 @2 K. l
•        show history: This command displays the last ten commands.
4 ]% S- G) h6 b+ _9 l•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.2 i' ~  b! g3 g$ K: ?6 l% j$ N
•        show log: This command displays logging messages of the switch." b5 j! ]9 K. S6 W$ ~
•        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

返回列表