返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).$ H, }5 [: c7 ^2 e" K5 z
•        ip default-gateway [address]: This is a global command and set default gateway.) s5 Q% a+ S) P! T3 {
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address./ ~5 k3 J7 R7 n2 K2 |
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
" `" |6 D' i1 R4 O5 @- k  @•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
' H! F3 l& _' U•        duplex {auto/full/half}: This command sets duplex mode for the interface.
( t; t) {6 g" Z7 h4 E•        hostname [name]: This command assigns a host name to the switch.
7 H) ?2 _3 _. q; o, M% X$ J•        line vty 0 15: This command enters vty (telnet) configuration mode., B* \3 m/ H' c2 x/ I' g( V
•        line con 0: This command enters console configuration mode.0 v7 c* B' d* Z2 g  F$ x
•        login: This command tells the switch to ask for a password.
- U8 M+ m  \2 U$ u1 _! u•        password [password]: This command sets the password.8 [1 \0 ^* y+ {+ I
•        enable password [password]: This command sets the password to enter privileged mode.
$ X/ Y- J9 c8 `6 Q- ?- [8 }& f•        enable secret [password]: This command sets encrypted password.
: Y) {! g1 g; r•        configure terminal: This command enters configuration mode.$ ?* r* H( v' R: f$ ~* P
•        show interfaces fastethernet 0/x: This command displays interface status.
& z' Z: W8 \( M* V, A/ n" ]•        show interfaces: This command displays information of all interfaces.
& U' E9 _/ e8 s6 o" c9 F) B•        show interfaces vlan 1: This command displays the ip address configuration.; g7 i9 e$ P) S. G; U
•        show [running/startup]-config: This command displays RAM/NVRAM settings.& _  Y. t) T2 K4 ]
•        show-mac-address-table: This command displays the MAC address table.
( n' G( S& f1 i5 r* c•        show version: This command displays the switch’s hardware and software status.* R2 [8 R8 v( ^
•        show flash: This command displays the files and directories in the flash.
+ ~! @2 G+ a/ ^•        show history: This command displays the last ten commands.
; V7 m: v; X5 A2 s$ j- |6 p* Y•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.0 U* `0 P# a: E! @
•        show log: This command displays logging messages of the switch.
& o8 G5 h* @. P•        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

返回列表