返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).- H; [: [" w- b9 M7 G, X
•        ip default-gateway [address]: This is a global command and set default gateway.
1 `/ r3 [- ?6 F$ W  Q! D& @•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.) ^) m) ^, ~' J' w
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
. j( m' C) [  ?4 b5 w3 @•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.. n# _1 A3 U+ c0 i* n! w! t) g
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
5 z4 `: y- X2 S•        hostname [name]: This command assigns a host name to the switch.
7 u6 y, L$ _- U2 U6 B- N9 _•        line vty 0 15: This command enters vty (telnet) configuration mode.8 O4 ?7 @" f2 Q; P. C, W
•        line con 0: This command enters console configuration mode.& ?. C+ ^9 y- D+ v, F
•        login: This command tells the switch to ask for a password.
+ R/ J; @3 N5 k* @•        password [password]: This command sets the password.
0 F  p6 X8 y1 k) P: \•        enable password [password]: This command sets the password to enter privileged mode.
7 c$ {! G, v- ?•        enable secret [password]: This command sets encrypted password.' Z/ ~( }0 ]9 _
•        configure terminal: This command enters configuration mode.
1 a$ Z/ y& _' b, l1 [& }•        show interfaces fastethernet 0/x: This command displays interface status.- w! M4 W% Z4 P* B% s
•        show interfaces: This command displays information of all interfaces.! Y$ d& ]4 y9 R/ c6 ]8 k; ?+ I
•        show interfaces vlan 1: This command displays the ip address configuration.
# M6 I% }9 D6 M. Z8 e•        show [running/startup]-config: This command displays RAM/NVRAM settings.- h. O: m) D( J9 }& i
•        show-mac-address-table: This command displays the MAC address table.
( J0 f' C- n# T8 b' y•        show version: This command displays the switch’s hardware and software status.
. Y' p1 @5 {  c6 B2 z, K•        show flash: This command displays the files and directories in the flash.! d; h! |3 s% W9 l
•        show history: This command displays the last ten commands.
0 f) o0 J1 A2 S/ Q% [# ^7 r, s•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
- _6 D( k+ Y. |% ^: w•        show log: This command displays logging messages of the switch.
" X3 ?6 g; V9 v5 p3 m•        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

返回列表