返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
, k& L* k1 Z; c5 }•        ip default-gateway [address]: This is a global command and set default gateway.
! m( v/ Y# c. z4 `) o0 y0 g•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
; R- B1 M' n# A! g6 {+ s" ~5 ], g$ Z5 @•        interface fast Ethernet 0/x: This command puts users into user configuration mode.* \, b. N$ z; u2 J5 ?! a
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.0 C3 M- [9 k) e7 d: Z( A( a
•        duplex {auto/full/half}: This command sets duplex mode for the interface.) A! c6 T( l* g& G! Q' U+ J: y
•        hostname [name]: This command assigns a host name to the switch.
$ B. Z% [* {. o+ j5 k& ]' `•        line vty 0 15: This command enters vty (telnet) configuration mode.
# Z0 y3 N, v* P+ Y. c1 r•        line con 0: This command enters console configuration mode.
% G; l  U$ X7 b! h9 d•        login: This command tells the switch to ask for a password.
% h* b  y1 h" o' k( S5 q•        password [password]: This command sets the password.) j6 E" a- X# i: @- x$ \$ U! [
•        enable password [password]: This command sets the password to enter privileged mode.
( N8 U( |9 u" u6 R5 K•        enable secret [password]: This command sets encrypted password.1 G( u5 l! i# i+ w$ N' `( [
•        configure terminal: This command enters configuration mode.
! W6 G* J% T, l1 ]! v' j•        show interfaces fastethernet 0/x: This command displays interface status.$ r/ E  @: r) h1 E$ A' Z
•        show interfaces: This command displays information of all interfaces.
) ^! r  n6 ]5 w! V, N•        show interfaces vlan 1: This command displays the ip address configuration.
" @- ]) }; g# H•        show [running/startup]-config: This command displays RAM/NVRAM settings.( D( V; P7 [" L4 t
•        show-mac-address-table: This command displays the MAC address table.5 R  p" b' u' p0 K3 T, x
•        show version: This command displays the switch’s hardware and software status.
" O( R0 e2 o9 |•        show flash: This command displays the files and directories in the flash.
2 E. F, ^4 ]9 C1 C9 t( v# z•        show history: This command displays the last ten commands.0 r  v$ C) r& k( n7 H  f
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
( a, E9 ~0 ~$ O•        show log: This command displays logging messages of the switch.9 x5 i$ \$ [4 X0 E
•        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

返回列表