返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).# y/ y3 v& J& _' v$ L* [
•        ip default-gateway [address]: This is a global command and set default gateway.
) Z8 m9 \, W+ H# A5 m+ r•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.* [- K1 t2 @, a% A) n, u+ F
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
) H9 N5 F0 n7 }7 t! }' L6 ^  U& _•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
$ H5 v9 f! a% g& G" S2 v8 B•        duplex {auto/full/half}: This command sets duplex mode for the interface.
3 v- P( q. W0 F( B•        hostname [name]: This command assigns a host name to the switch.
/ B9 W; o% x0 U•        line vty 0 15: This command enters vty (telnet) configuration mode.$ k0 ]7 A9 L5 y2 [0 ]( @
•        line con 0: This command enters console configuration mode.
; a0 p; m' k" r3 ]4 `* V: g•        login: This command tells the switch to ask for a password.
$ X2 I$ h1 e3 K! q•        password [password]: This command sets the password.
$ `" O5 u) {5 h2 u" C% l5 W# y•        enable password [password]: This command sets the password to enter privileged mode.
* W8 a3 {2 F- q; D* {' u. o/ `•        enable secret [password]: This command sets encrypted password.
) {5 J. p8 h: N) Y- V•        configure terminal: This command enters configuration mode.
; J4 e8 ?; m# B0 [4 v" M% l•        show interfaces fastethernet 0/x: This command displays interface status./ Q6 B, x7 U0 O& o7 g
•        show interfaces: This command displays information of all interfaces." O% N' s, ~4 t6 R) L6 ~
•        show interfaces vlan 1: This command displays the ip address configuration.
' s  |# k+ {7 j4 Y$ f1 X& T" O( o4 B•        show [running/startup]-config: This command displays RAM/NVRAM settings.
6 h3 `( _( X, p& d- x•        show-mac-address-table: This command displays the MAC address table.0 r- j' e$ x. g9 F1 ~! p/ B
•        show version: This command displays the switch’s hardware and software status.$ ~: w+ G% S- B4 c9 o0 h
•        show flash: This command displays the files and directories in the flash.
: x# d3 w" X# j/ o' A# v0 R•        show history: This command displays the last ten commands., b4 x7 X9 ^2 V# a/ x* Z2 x& l
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.& @' S4 n  }. w' Z& u/ [% O
•        show log: This command displays logging messages of the switch.
6 C% T% r( e4 N9 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

返回列表