返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
/ a  `/ b, g" E, p2 O•        ip default-gateway [address]: This is a global command and set default gateway.) C" {5 G, C4 n7 L
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
+ F# G" ~" w! Z$ `9 Y$ J•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
1 r7 b. W7 V, t5 {•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.  S( E( T% m4 E
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
5 W6 M) r9 z' `8 {2 E5 ^9 N•        hostname [name]: This command assigns a host name to the switch.- c4 p- M9 Q" E7 p
•        line vty 0 15: This command enters vty (telnet) configuration mode.4 G6 e; p  r$ O+ U8 a# E4 Q! ^3 J
•        line con 0: This command enters console configuration mode.7 Q$ ?6 ?- n: [; J& r8 @* m
•        login: This command tells the switch to ask for a password.: D" }7 q6 h! H2 z, {& N
•        password [password]: This command sets the password.! L$ [4 n9 L. A1 @: U
•        enable password [password]: This command sets the password to enter privileged mode.
% I& w* m$ z- X* N5 X2 g9 \•        enable secret [password]: This command sets encrypted password.9 w& A1 P+ o! v- G+ _3 O
•        configure terminal: This command enters configuration mode.0 t: S1 W) A9 @. \
•        show interfaces fastethernet 0/x: This command displays interface status.( }* Y- k7 ~, D; \1 {& Y( d4 T# L
•        show interfaces: This command displays information of all interfaces.) ^; R, K: ^, J/ u; N' R
•        show interfaces vlan 1: This command displays the ip address configuration.
/ Z& {- d* N: H5 o1 ^•        show [running/startup]-config: This command displays RAM/NVRAM settings.6 c$ [0 H# E0 I) G( o
•        show-mac-address-table: This command displays the MAC address table.1 }; L$ ^+ |$ {
•        show version: This command displays the switch’s hardware and software status.) b% v+ A" ^- N0 w/ f) p4 W0 `
•        show flash: This command displays the files and directories in the flash.
. G$ E9 u! p+ {  R•        show history: This command displays the last ten commands.
  @& h9 d2 n# f7 w5 Z% v. [•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.2 @2 n. X; n& w! w! o
•        show log: This command displays logging messages of the switch.
) F+ i0 p7 q! h•        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

返回列表