返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1)." X9 F2 R2 e! U
•        ip default-gateway [address]: This is a global command and set default gateway.' U( d! f) [: Y0 i7 w# j
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
7 h+ h; k4 R0 ~! Q! [•        interface fast Ethernet 0/x: This command puts users into user configuration mode./ P( Z$ X* J6 \" B) T
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
  [/ z5 A1 h3 ~# x8 z* o•        duplex {auto/full/half}: This command sets duplex mode for the interface.' t8 q. K/ l3 [
•        hostname [name]: This command assigns a host name to the switch.6 ~* l& Z% M% G, v: f! a
•        line vty 0 15: This command enters vty (telnet) configuration mode.
& p: W; z" r) @9 Z5 }0 v2 [5 H•        line con 0: This command enters console configuration mode.1 L5 w6 D, ~$ @9 _
•        login: This command tells the switch to ask for a password.
0 N( j4 p; J0 g6 k•        password [password]: This command sets the password.* [5 L3 t/ R: `  @5 D3 P2 K5 W+ F
•        enable password [password]: This command sets the password to enter privileged mode.# u1 _+ i: b; G' W6 T3 h1 k" Q
•        enable secret [password]: This command sets encrypted password.
! o8 F9 k$ z- V$ t•        configure terminal: This command enters configuration mode.3 {6 U% Z- q; V$ g( f7 X% X  E
•        show interfaces fastethernet 0/x: This command displays interface status.# B; [" @7 l5 r# G8 K
•        show interfaces: This command displays information of all interfaces.! e1 O6 M- n6 ^; L( J# ~0 x
•        show interfaces vlan 1: This command displays the ip address configuration.
) P8 k4 p" @9 r, G4 Z6 }3 x•        show [running/startup]-config: This command displays RAM/NVRAM settings.
- I0 F: Q# l) Y6 i7 L1 a. t$ a•        show-mac-address-table: This command displays the MAC address table.
0 I0 i. G* w' Q( n  A•        show version: This command displays the switch’s hardware and software status.: [. [% H; S. z1 d! a* w
•        show flash: This command displays the files and directories in the flash.; ?* f  N% C- u" U. d5 B  M
•        show history: This command displays the last ten commands.
; i, R( c$ g6 m) F7 x, c•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.1 b4 x/ Q$ m( b) ^- L5 V+ a" m
•        show log: This command displays logging messages of the switch.
' i) r' v1 N2 W6 e7 O1 {, M* K' Q•        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

返回列表