返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).- |1 g& }" e# v/ t* B* n/ c
•        ip default-gateway [address]: This is a global command and set default gateway.5 o7 {. Z, X7 [) ]& o- M) v5 g: @
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
7 J3 d7 |: J1 |3 f: {# V•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
3 s3 ^6 G; f$ r( K2 b* J•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.1 x: S9 p  b9 x2 V# O6 R
•        duplex {auto/full/half}: This command sets duplex mode for the interface.0 |$ F. y. d3 y- l% h( }; A
•        hostname [name]: This command assigns a host name to the switch.
1 t0 I, O( O3 F8 t1 l, a5 y9 K4 m•        line vty 0 15: This command enters vty (telnet) configuration mode.5 T3 ?7 _% H; x4 B# F
•        line con 0: This command enters console configuration mode.
( ~; h# M+ X$ R: ]9 ?3 Q) b3 [•        login: This command tells the switch to ask for a password.
) C% G7 N0 S$ u9 m+ {/ X  r•        password [password]: This command sets the password.
5 C% C$ A7 e: _7 B6 u, S•        enable password [password]: This command sets the password to enter privileged mode./ U6 u4 X. W) ]7 O& C9 [! e
•        enable secret [password]: This command sets encrypted password.
- W  f$ F, E5 a9 `0 t! _•        configure terminal: This command enters configuration mode.
: l0 U( M+ X! L, Y•        show interfaces fastethernet 0/x: This command displays interface status.: ~! t/ I3 C" ~$ x4 _& ^7 L# W
•        show interfaces: This command displays information of all interfaces.+ x9 [5 i8 e9 X
•        show interfaces vlan 1: This command displays the ip address configuration.6 [9 Q9 F- Y6 p* X
•        show [running/startup]-config: This command displays RAM/NVRAM settings.: r$ a4 n" d# |, o. G* ^. M
•        show-mac-address-table: This command displays the MAC address table.
  B% L, M5 Z8 K' r- y9 @: Q( P•        show version: This command displays the switch’s hardware and software status.
1 o$ f0 ~- Z% C6 D7 F•        show flash: This command displays the files and directories in the flash.
6 w  Y, z2 J1 }7 A8 F•        show history: This command displays the last ten commands./ g9 _& @% U4 S3 ^. T, l
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
3 N) u4 q* U, ~+ ^$ f- I" L•        show log: This command displays logging messages of the switch.
3 Z( Q1 }% Y+ c. U& ?7 B; g•        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

返回列表