返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).  V& t8 z1 h0 q" Y. E
•        ip default-gateway [address]: This is a global command and set default gateway.
3 E: J$ v- \- w•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
! j4 y, x+ I8 B( G" E•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
* S! Y. b9 ?8 F7 v  P•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.& b* e; _( X4 j, P9 j$ W4 u
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
& j+ I* D) V, l# ?•        hostname [name]: This command assigns a host name to the switch.
  f4 e, q: `0 B- ^% ~) B•        line vty 0 15: This command enters vty (telnet) configuration mode.& `0 h" t" ?8 T$ f  P3 S5 g$ D3 E
•        line con 0: This command enters console configuration mode." M1 r4 t* r; ~; y+ b: i0 `
•        login: This command tells the switch to ask for a password.
8 H. H' J% P  p) j% M: @•        password [password]: This command sets the password.6 K5 @( X# R% |
•        enable password [password]: This command sets the password to enter privileged mode.* r/ j: @7 [) n
•        enable secret [password]: This command sets encrypted password.
7 w" V5 z* M* [+ \) Q6 i5 y- T; J•        configure terminal: This command enters configuration mode.  _; V6 S: P& S$ R; l- M5 V" Y
•        show interfaces fastethernet 0/x: This command displays interface status.( F6 w3 B8 h0 R, K
•        show interfaces: This command displays information of all interfaces.
6 r, u- k2 f2 c" k5 E% j•        show interfaces vlan 1: This command displays the ip address configuration./ w* Z8 |8 W. @
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
$ I; ^4 J6 l* ^) `4 N•        show-mac-address-table: This command displays the MAC address table.6 Y+ U7 R) ?+ {& M
•        show version: This command displays the switch’s hardware and software status.- m! c- c! f+ g# Y* z7 F6 P3 L
•        show flash: This command displays the files and directories in the flash.+ I6 c5 k! B+ i( p! J) x8 c. ?' x
•        show history: This command displays the last ten commands.9 Y: T+ s  O& {$ K
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
9 [5 Z) G' b$ a. y5 O  B* k7 a•        show log: This command displays logging messages of the switch.) \' Z# F1 F% Z. i
•        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

返回列表