返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).' I7 G0 y% S- _
•        ip default-gateway [address]: This is a global command and set default gateway.# L3 {4 P; G# _# u7 U5 L5 r
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
( M8 h7 r& K$ q: b•        interface fast Ethernet 0/x: This command puts users into user configuration mode." Z" O5 T* F# ?$ }7 Y# N5 S
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
  X6 U6 f5 D3 Z8 u  t•        duplex {auto/full/half}: This command sets duplex mode for the interface.% q- f/ L; {+ h/ C/ \
•        hostname [name]: This command assigns a host name to the switch.
2 B$ ~" Q$ O0 C& D" u' {# o! C•        line vty 0 15: This command enters vty (telnet) configuration mode.$ B1 K% X/ {* |
•        line con 0: This command enters console configuration mode.
6 b, T/ F, B9 |; e( B3 [•        login: This command tells the switch to ask for a password.2 h0 [1 }0 I" r: O" ?: y
•        password [password]: This command sets the password.' `, `$ c& a8 R  h- Z" G% q
•        enable password [password]: This command sets the password to enter privileged mode.5 V$ V* W- g9 s$ F- a9 c
•        enable secret [password]: This command sets encrypted password.
7 l, f1 O7 {( C* S4 `•        configure terminal: This command enters configuration mode.
) t% F3 H% j. O5 D3 X9 S•        show interfaces fastethernet 0/x: This command displays interface status.2 v1 s1 m% ^- i1 T) c; P
•        show interfaces: This command displays information of all interfaces.7 D5 o5 z3 Q5 V4 H- E
•        show interfaces vlan 1: This command displays the ip address configuration.+ O) `7 M8 Y8 W4 _- ^
•        show [running/startup]-config: This command displays RAM/NVRAM settings.. a7 a2 }6 [' p- C& \" @; c, f
•        show-mac-address-table: This command displays the MAC address table.6 ?4 f8 j" Z& z4 d4 }% W4 X- K
•        show version: This command displays the switch’s hardware and software status." m2 Z" h* @. Y3 |* @; \+ z
•        show flash: This command displays the files and directories in the flash.7 C; p- _2 ]4 F- A( C" m9 ?
•        show history: This command displays the last ten commands./ r! [, L, t7 y" ], m- I. w
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
% l) C, w! h( f6 R" f•        show log: This command displays logging messages of the switch.
2 z& u: Q3 ]$ s, U. V•        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

返回列表