返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
; D) l- d' S/ Y6 u/ |6 y( w3 m•        ip default-gateway [address]: This is a global command and set default gateway.+ g; }: X( w5 m1 J7 Y- f7 b3 A) G. E
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
* L# `9 z0 J3 `# G•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
" ?' ]% _3 ^, c# [•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
) z; Z1 m2 m; M•        duplex {auto/full/half}: This command sets duplex mode for the interface.
$ e0 v# Y* _/ p. B$ m4 _•        hostname [name]: This command assigns a host name to the switch.- e: n/ ~/ x: j8 R
•        line vty 0 15: This command enters vty (telnet) configuration mode.
$ b" ^3 R8 {5 M, i, l( c2 P& X* t% F•        line con 0: This command enters console configuration mode.
# u$ Z/ t& t) N4 T7 o•        login: This command tells the switch to ask for a password., |/ y* E) _# g* x! U
•        password [password]: This command sets the password.3 J' V6 [# V/ R4 o  h* Y0 a1 }
•        enable password [password]: This command sets the password to enter privileged mode.
8 E& @1 Z7 v/ r# e# m9 ?1 s: ^+ Y& c•        enable secret [password]: This command sets encrypted password.% G* ^6 B) G5 J; G- t* J
•        configure terminal: This command enters configuration mode.5 Z- C( \! s& e: i7 ]
•        show interfaces fastethernet 0/x: This command displays interface status.
' t! g+ i& _& _0 P•        show interfaces: This command displays information of all interfaces.3 @1 Z. J2 }2 g$ V% `
•        show interfaces vlan 1: This command displays the ip address configuration.
$ b0 {. K7 B" l4 R, j•        show [running/startup]-config: This command displays RAM/NVRAM settings.) }# p2 g- @' H+ e
•        show-mac-address-table: This command displays the MAC address table.7 U9 u$ y7 P- ]# ^
•        show version: This command displays the switch’s hardware and software status.$ Z8 {9 f$ w+ D3 D; n
•        show flash: This command displays the files and directories in the flash.0 ^, x) T. W9 C) S
•        show history: This command displays the last ten commands.
7 D6 F  b: W0 {•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.2 U3 d1 a: k& |) @9 R; Q6 t
•        show log: This command displays logging messages of the switch.# F% w/ e  {# d$ s* p5 D& X
•        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

返回列表