返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).8 p* W+ H6 x$ q9 M" Q) e
•        ip default-gateway [address]: This is a global command and set default gateway." H8 Q0 c" r5 b% N* @" b4 G( _/ B/ J
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
3 U- d5 }6 e9 E& F•        interface fast Ethernet 0/x: This command puts users into user configuration mode.; f$ M  ^1 d+ k% {  K
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.( z+ T$ {" D2 d' v0 w& z/ J
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
0 t6 F+ d+ L; N' Z4 A% l•        hostname [name]: This command assigns a host name to the switch.9 I/ L1 ?3 M* h
•        line vty 0 15: This command enters vty (telnet) configuration mode.
' s+ }* X! \1 W3 B/ z0 K4 u, O3 }•        line con 0: This command enters console configuration mode.
0 y( ?7 K  ]+ \/ k•        login: This command tells the switch to ask for a password.
" t, \- q5 @8 M. `" Q: A4 Y•        password [password]: This command sets the password.
5 s5 v$ p8 G! r" K. \•        enable password [password]: This command sets the password to enter privileged mode.
. H# U8 {, K$ S' v4 ^•        enable secret [password]: This command sets encrypted password.& U  J% O5 @) b- v' D
•        configure terminal: This command enters configuration mode.; ~3 W  N* `: x
•        show interfaces fastethernet 0/x: This command displays interface status.
* m0 V2 @# I9 u9 [0 Q$ d8 \# _& a3 B•        show interfaces: This command displays information of all interfaces.
. Y/ H4 [" b- ^0 L•        show interfaces vlan 1: This command displays the ip address configuration., e% G% B+ d. }; i2 B% ~, L7 ~
•        show [running/startup]-config: This command displays RAM/NVRAM settings." O2 f4 @9 K2 h$ X
•        show-mac-address-table: This command displays the MAC address table.
  f2 G9 N5 g$ |. M+ q•        show version: This command displays the switch’s hardware and software status.
7 b/ ]) R; ^, O•        show flash: This command displays the files and directories in the flash.
( Z  `- l+ K/ o•        show history: This command displays the last ten commands.
. m3 x' @, v  F  a0 ^: {5 M4 [  t•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
  q: @, e3 H9 s& U) ]1 j•        show log: This command displays logging messages of the switch.$ V, u  b5 t- l" @) _0 R
•        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

返回列表