返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
0 J1 ?* l+ H$ l9 d6 W  T•        ip default-gateway [address]: This is a global command and set default gateway.
  _- w7 k+ v' ]7 B- V7 \! i•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.: _% K! u9 q) E1 D! ]
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
6 A* P/ a, X' v* T) P, S& Q•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
2 R3 @4 E" G0 W1 W" H•        duplex {auto/full/half}: This command sets duplex mode for the interface.: D4 a0 w  A! t. y  s- Z- F. L+ }# B
•        hostname [name]: This command assigns a host name to the switch.3 k. C0 ?% ]* t& l
•        line vty 0 15: This command enters vty (telnet) configuration mode.+ n3 [0 d3 U2 h: J# [- ?, R4 I  h8 k
•        line con 0: This command enters console configuration mode.
0 T4 i. k/ H, l# e•        login: This command tells the switch to ask for a password.
4 b3 _% h9 w3 x6 ~/ M4 z•        password [password]: This command sets the password.
- e7 k- l* g! \3 k4 I•        enable password [password]: This command sets the password to enter privileged mode.
, I/ S9 i+ J7 h3 W•        enable secret [password]: This command sets encrypted password." r' b/ v' P& `. s! Y8 `  F( f! D% q
•        configure terminal: This command enters configuration mode.
5 ^1 j: {" S0 q) g  E8 h4 N•        show interfaces fastethernet 0/x: This command displays interface status.
/ {( Y- q% g5 p4 U$ m•        show interfaces: This command displays information of all interfaces.) K$ M& D7 f5 N0 |! o. T
•        show interfaces vlan 1: This command displays the ip address configuration.
+ L* M, t2 J! [: E' ^•        show [running/startup]-config: This command displays RAM/NVRAM settings.
1 D4 ^8 m6 \8 d3 v•        show-mac-address-table: This command displays the MAC address table.6 i3 w; r) O$ {' R) T& _# H  R, N& Z
•        show version: This command displays the switch’s hardware and software status.
  c1 r) F3 ?5 D, J. F•        show flash: This command displays the files and directories in the flash./ v% T3 J4 @4 Z( Z4 t! w
•        show history: This command displays the last ten commands.$ L# }2 r3 K0 D2 _& n& U; G# C
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.1 X8 v1 [8 g! H& R; `: |" V
•        show log: This command displays logging messages of the switch.' B9 \1 i& w- i8 I( m: \. F
•        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

返回列表