返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
7 [* B% m0 F  Y  N: }/ j3 z# c; b•        ip default-gateway [address]: This is a global command and set default gateway.
3 y  R1 I1 z, [' ?7 F# A•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
4 H+ \0 t( f$ f•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
6 ]5 R* X; U. e/ L•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
" k5 E& [7 R8 R$ H. G$ Q0 D•        duplex {auto/full/half}: This command sets duplex mode for the interface.
7 A. Y$ X; s  E3 ]( L•        hostname [name]: This command assigns a host name to the switch.0 m7 O6 _" q7 w$ }$ M4 d
•        line vty 0 15: This command enters vty (telnet) configuration mode.! q+ q( O0 v  ?, Q
•        line con 0: This command enters console configuration mode.
- ^8 U9 ~3 \7 ~. E3 f- Y•        login: This command tells the switch to ask for a password.
2 b! m4 m" A  j+ n•        password [password]: This command sets the password.
5 ~! Q' ^# X4 V9 s•        enable password [password]: This command sets the password to enter privileged mode.# x2 e. {; q. f5 _' |$ m5 R& W
•        enable secret [password]: This command sets encrypted password.
* |1 ^9 Q# {9 Y: \- C. V' u- t$ y•        configure terminal: This command enters configuration mode.$ M- R2 J3 B; V* B: T
•        show interfaces fastethernet 0/x: This command displays interface status.% X& q" J* u2 f: }
•        show interfaces: This command displays information of all interfaces.
4 W, j9 H: h+ p" F" j) v- P; h•        show interfaces vlan 1: This command displays the ip address configuration.
2 M% X- H4 s3 M" x. y! L" u•        show [running/startup]-config: This command displays RAM/NVRAM settings.
' i  g4 L  u% B3 g•        show-mac-address-table: This command displays the MAC address table.3 u( W3 L8 X) |- V2 A
•        show version: This command displays the switch’s hardware and software status.' L$ w# Y; G: S. m; e
•        show flash: This command displays the files and directories in the flash.+ O  ^2 ~1 V8 i
•        show history: This command displays the last ten commands.
$ u. t/ |3 K! H. l, j6 [•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
6 s! n# B( W$ _, X2 y•        show log: This command displays logging messages of the switch.* c9 z. L- G) \# e9 w! j6 X
•        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

返回列表