返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).3 a  a4 I5 ~5 \$ {! S: @+ s
•        ip default-gateway [address]: This is a global command and set default gateway.1 ]. d' O; m4 M& R
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
! Y- O% _0 G6 e! P. n" \•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
$ ]1 @) n2 Z. O8 _8 w) O* o•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
& A7 f3 K; S# C. s7 V•        duplex {auto/full/half}: This command sets duplex mode for the interface.
7 `4 N% }& G% r. T•        hostname [name]: This command assigns a host name to the switch.
) q/ n; ]9 c; w•        line vty 0 15: This command enters vty (telnet) configuration mode.2 }' F' M- T; _' K
•        line con 0: This command enters console configuration mode.
, A: T5 I+ F) w' g& g1 T( {•        login: This command tells the switch to ask for a password.
+ @4 a0 v& y; N0 z) o•        password [password]: This command sets the password.9 a0 T, \& x- s' B6 |, d/ q
•        enable password [password]: This command sets the password to enter privileged mode.+ h0 ^* b1 X3 w% ^
•        enable secret [password]: This command sets encrypted password.
6 b) Y( R: v8 ?" a& [! ~& H•        configure terminal: This command enters configuration mode.
* w$ p- H! t- i. G•        show interfaces fastethernet 0/x: This command displays interface status.
) }$ u4 A2 O( g. H4 x; Z1 S•        show interfaces: This command displays information of all interfaces.$ m$ L% I# i4 L' u: z; h7 _/ a8 P
•        show interfaces vlan 1: This command displays the ip address configuration.8 [( T0 V8 k& S) @+ b/ z
•        show [running/startup]-config: This command displays RAM/NVRAM settings.2 t7 \/ k( a1 W9 G
•        show-mac-address-table: This command displays the MAC address table.
0 T% Y4 l$ r. w1 g) E8 t•        show version: This command displays the switch’s hardware and software status.9 I( a8 ?% W" O, E
•        show flash: This command displays the files and directories in the flash.. D; y4 R% G# u# S  L7 }; t, O
•        show history: This command displays the last ten commands.
3 j% n9 ?4 I; y) K% G•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
! c& C- E+ n( }8 }9 f3 Z  M& j•        show log: This command displays logging messages of the switch.
; S7 l& ~  l# ^( 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

返回列表