返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
* p. z' n: b: R3 X•        ip default-gateway [address]: This is a global command and set default gateway.
+ S) P& L% M: X, _9 q•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
$ r) \% Z+ v: v& E9 B•        interface fast Ethernet 0/x: This command puts users into user configuration mode.8 v" i$ X7 D; F( N% R2 j3 }
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
6 h0 E6 F6 j) `( l5 f7 p6 k) m+ f7 ~•        duplex {auto/full/half}: This command sets duplex mode for the interface.! L; u9 @* Z; N8 z' b; J  ~* m5 p
•        hostname [name]: This command assigns a host name to the switch.
" F; L$ i& ~8 e) `, k•        line vty 0 15: This command enters vty (telnet) configuration mode.
- {8 O2 J. @- Z# t•        line con 0: This command enters console configuration mode.- a6 L! F4 k. p: \, W
•        login: This command tells the switch to ask for a password.  l1 ~6 b3 X; c# A' n6 s- i0 N' y
•        password [password]: This command sets the password.6 j0 o0 e: L. B: p" {$ ~$ i4 k
•        enable password [password]: This command sets the password to enter privileged mode.
  {9 q( S! Z8 k4 U8 I3 {•        enable secret [password]: This command sets encrypted password.' o6 z) e1 _6 y2 ~
•        configure terminal: This command enters configuration mode.. G; u9 x" P4 N0 v+ H& m
•        show interfaces fastethernet 0/x: This command displays interface status.7 v+ _6 q7 S5 X) g# j6 Q6 C3 Y8 t
•        show interfaces: This command displays information of all interfaces.
# t: R( Z' W2 {4 k% G% U; k; t•        show interfaces vlan 1: This command displays the ip address configuration.
' z) i8 y; `* d7 ^5 K•        show [running/startup]-config: This command displays RAM/NVRAM settings.) z9 y- _* H& ^' J3 m. [
•        show-mac-address-table: This command displays the MAC address table.
3 |+ u4 L; t8 Y•        show version: This command displays the switch’s hardware and software status.
- R% h* H7 S4 X•        show flash: This command displays the files and directories in the flash.( P/ F. r; ?5 R1 E+ [
•        show history: This command displays the last ten commands.2 D( p6 U& v) R8 A/ _- r8 w" A
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.' j) F+ w% |7 ^) p1 X
•        show log: This command displays logging messages of the switch.
% U% u7 u: y, F% y% N9 ~0 B3 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

返回列表