返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
  B6 m1 g+ i3 w/ C! |$ R•        ip default-gateway [address]: This is a global command and set default gateway.
7 H6 |* o6 C/ R/ }5 d•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
) ^8 ^& B6 l+ c7 s- c6 l•        interface fast Ethernet 0/x: This command puts users into user configuration mode.3 d3 ]( z3 }6 S8 w; Z# `
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.4 @  X8 \9 h8 `
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
, L  N! z% V. f6 H' R•        hostname [name]: This command assigns a host name to the switch.! g" c6 M% ^& T5 s: ~! t
•        line vty 0 15: This command enters vty (telnet) configuration mode." \% L# k/ H" h) K
•        line con 0: This command enters console configuration mode.& X8 f. z2 @: r" t% V
•        login: This command tells the switch to ask for a password.8 `1 H# G% U7 W( I) _, ?% \
•        password [password]: This command sets the password.! U6 V) B9 C! ]( w) j$ P1 E
•        enable password [password]: This command sets the password to enter privileged mode.
: F# W5 Q; q0 G9 H  }* V) n# z- c+ ^•        enable secret [password]: This command sets encrypted password.3 U% U6 k% ?* c  F/ Q
•        configure terminal: This command enters configuration mode.
$ K: Q. V( a% q3 P•        show interfaces fastethernet 0/x: This command displays interface status.
% g+ Q5 z; n) }2 O* R•        show interfaces: This command displays information of all interfaces.
; \* C9 s& f( Q* r; E•        show interfaces vlan 1: This command displays the ip address configuration.
* N; ^4 Y; g' N& i* |•        show [running/startup]-config: This command displays RAM/NVRAM settings.4 A5 n, b+ _9 n4 X% C! T. n8 s
•        show-mac-address-table: This command displays the MAC address table.# \  n9 V* C' i& U8 k9 u
•        show version: This command displays the switch’s hardware and software status.
3 X+ X; @- x( }' n0 z•        show flash: This command displays the files and directories in the flash.
& ?/ m+ `( F$ A* f; x4 Q- ?•        show history: This command displays the last ten commands.. n+ V7 H, F9 o- D
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
, g, y/ ^7 e, d4 _2 N9 X) j•        show log: This command displays logging messages of the switch.2 x5 z3 E" \% s$ c) k; k* I
•        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

返回列表