返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
0 o; f. S( w" s+ `8 I- h•        ip default-gateway [address]: This is a global command and set default gateway.
7 G* K* T" D- ?* m! i•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.  r3 }; r( G9 Z8 x; ]& l
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
# S3 ^1 x' S3 i•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
# x( o: B0 M9 g0 N2 I* n- w•        duplex {auto/full/half}: This command sets duplex mode for the interface." G5 ?6 W( W. F
•        hostname [name]: This command assigns a host name to the switch.
2 f7 e" X- h: {7 X0 b; T  B1 d•        line vty 0 15: This command enters vty (telnet) configuration mode.  `; ?: v0 Q. L* [% N  X* A+ l
•        line con 0: This command enters console configuration mode.
6 w2 ~, O4 }2 P•        login: This command tells the switch to ask for a password.
9 j3 F! v& A& ~9 c•        password [password]: This command sets the password.4 B7 W/ H9 I# ~8 ?
•        enable password [password]: This command sets the password to enter privileged mode.( \0 d# o: w+ J; |: t& I
•        enable secret [password]: This command sets encrypted password.$ R3 v+ n8 e+ t
•        configure terminal: This command enters configuration mode.
& p. ]8 N7 o/ l0 E4 |! z•        show interfaces fastethernet 0/x: This command displays interface status.
- K! J: _; L2 z( @•        show interfaces: This command displays information of all interfaces.
% M0 {- R, o$ Y6 k: p  R7 T•        show interfaces vlan 1: This command displays the ip address configuration.  D3 |$ |( ?% X4 h' l
•        show [running/startup]-config: This command displays RAM/NVRAM settings.9 y  f; j+ J1 M1 u# x  b" ^0 _& Q" w
•        show-mac-address-table: This command displays the MAC address table.3 w  y. T$ S/ V6 V4 `$ ]0 m
•        show version: This command displays the switch’s hardware and software status.
* @7 B, ]- O% w  H0 a•        show flash: This command displays the files and directories in the flash.
) ~! s1 c  n# s: V. N0 u: D•        show history: This command displays the last ten commands.
) |+ Y) \7 D  Z$ I8 ~7 S  \8 N* H; |•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.9 _* n. l6 N0 t- _! _
•        show log: This command displays logging messages of the switch.
. Q) u9 U# W2 {0 C•        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

返回列表