返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
2 E" P5 F- g  P) R•        ip default-gateway [address]: This is a global command and set default gateway.) S, X, c- y( H% L4 n! s
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.. r0 Z: c% |- A: W
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.6 r8 p& z/ ?* [2 G0 B+ V
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.$ s. w" S1 }5 R9 e
•        duplex {auto/full/half}: This command sets duplex mode for the interface.. S" t) U5 h& `* _: b
•        hostname [name]: This command assigns a host name to the switch.
0 A+ L) S  B% q•        line vty 0 15: This command enters vty (telnet) configuration mode.
! F' v! f6 F6 ~0 T5 e3 l$ h" d•        line con 0: This command enters console configuration mode.; a; E9 r' U3 r/ r8 b. [
•        login: This command tells the switch to ask for a password.
7 D" ]5 y+ y. z, {3 ~; E5 z- x•        password [password]: This command sets the password.
" u. L: u% ~* N+ e/ K- A•        enable password [password]: This command sets the password to enter privileged mode.
- [7 y+ a  T/ J•        enable secret [password]: This command sets encrypted password.5 x5 J: _% h1 Z: ~2 R2 C+ @
•        configure terminal: This command enters configuration mode.' f! r! F* q( Y, d
•        show interfaces fastethernet 0/x: This command displays interface status.
. C# g1 C4 V  F•        show interfaces: This command displays information of all interfaces.7 @" `2 f3 Z2 G
•        show interfaces vlan 1: This command displays the ip address configuration.( L6 T' u  G" \  Q+ O
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
+ j* ?4 c% i+ i  h$ }! g0 T. f•        show-mac-address-table: This command displays the MAC address table.
' I3 l7 |' [- F7 s•        show version: This command displays the switch’s hardware and software status.1 a& e" i; }: c  V
•        show flash: This command displays the files and directories in the flash.
2 a1 @6 L+ L$ k2 D+ a•        show history: This command displays the last ten commands.7 N# e/ e( g+ A4 C
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.% D) P; s$ {7 }7 P; j" z9 ^3 \' I
•        show log: This command displays logging messages of the switch.
, ]/ O7 y7 ]5 r. S' B9 Z•        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

返回列表