返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).2 m1 i; ]& p- k& R) \
•        ip default-gateway [address]: This is a global command and set default gateway.
8 e, G9 i, i. K2 [•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.$ }) u: @$ J* b% J' m  L
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
$ n: ~3 c5 n3 l% ]% O6 k4 S•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.% L& p- w/ s% X1 U4 q3 k) [  Q
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
6 y8 s+ f. ~8 D: x' T•        hostname [name]: This command assigns a host name to the switch.( j3 w& s% v7 K) H; T$ N  ~$ K' V
•        line vty 0 15: This command enters vty (telnet) configuration mode.
# k% y# W/ b* B& y8 ?- k+ Q•        line con 0: This command enters console configuration mode.% U1 K+ |* k# \" t5 Y, ?% j2 J
•        login: This command tells the switch to ask for a password.8 _/ H" ~+ C! F8 ^3 i5 y2 x" n
•        password [password]: This command sets the password.  S6 ?- j$ ~$ g& }. r- Q# W
•        enable password [password]: This command sets the password to enter privileged mode.
8 P  y( q7 O7 t; L; s  [•        enable secret [password]: This command sets encrypted password.
- s* {" N8 ]: p! H•        configure terminal: This command enters configuration mode.! D+ H1 H2 {7 l. x
•        show interfaces fastethernet 0/x: This command displays interface status.
  c4 C+ `1 U9 `0 m•        show interfaces: This command displays information of all interfaces.1 J, I+ M4 M" I
•        show interfaces vlan 1: This command displays the ip address configuration.
: y$ q4 U1 G: o•        show [running/startup]-config: This command displays RAM/NVRAM settings.; w$ z% o9 y# s! h7 L
•        show-mac-address-table: This command displays the MAC address table.% T2 P$ o7 [7 t# e0 K4 ?
•        show version: This command displays the switch’s hardware and software status.
" g5 O* p: m7 f6 F3 p& I" g•        show flash: This command displays the files and directories in the flash.
. w: T8 u# U/ Y. ]+ M•        show history: This command displays the last ten commands.
" F$ @) z; z3 x: q# \# c5 c! b•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.+ p% [+ J4 S. a: k# J
•        show log: This command displays logging messages of the switch.7 i8 R, M+ C& D
•        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

返回列表