返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
- i' T2 t5 i- u; b2 V•        ip default-gateway [address]: This is a global command and set default gateway.
. `. W( U3 ~) V•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
3 [( F$ }0 U6 R2 U6 k9 ~! i•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
- s* o2 t& {- N•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.' ^& O% ^8 U+ z
•        duplex {auto/full/half}: This command sets duplex mode for the interface.5 L7 m# m. V9 O$ p( R/ N
•        hostname [name]: This command assigns a host name to the switch.
" c9 o$ p& M# U" S4 Z2 @•        line vty 0 15: This command enters vty (telnet) configuration mode.' Y+ |& j+ D# ?- ^2 O1 F
•        line con 0: This command enters console configuration mode.7 B0 T3 f- t; D/ d" _! r
•        login: This command tells the switch to ask for a password.
: `- w1 W+ j% u' _) a$ ~7 c% s•        password [password]: This command sets the password.2 Y* _$ n3 U1 h1 z3 L: N
•        enable password [password]: This command sets the password to enter privileged mode.. R6 d1 Q( u! i/ A* A7 E* a
•        enable secret [password]: This command sets encrypted password.# O4 L2 {. n+ x1 I; s
•        configure terminal: This command enters configuration mode.
/ Z- A% D* v- y) f•        show interfaces fastethernet 0/x: This command displays interface status.) a# f$ m8 L4 ]* X$ l
•        show interfaces: This command displays information of all interfaces.& q0 [" C  W$ {
•        show interfaces vlan 1: This command displays the ip address configuration.
9 v; K! ]8 N- M" g" u•        show [running/startup]-config: This command displays RAM/NVRAM settings.0 m* Z& {5 M% L4 x; n' p
•        show-mac-address-table: This command displays the MAC address table.# O# q4 [4 L" M6 V6 H( ^& S5 x
•        show version: This command displays the switch’s hardware and software status.' Y5 i! ^+ ~# F" [
•        show flash: This command displays the files and directories in the flash.
& Q2 {' i, K" m) q, C* Q, [5 P•        show history: This command displays the last ten commands.# n. e5 x: _) K0 Z# |) ^. B* u
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.7 F% B* w- y! e- T0 X
•        show log: This command displays logging messages of the switch.
( F4 B8 o0 J2 k6 f/ K•        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

返回列表