返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
- g: E4 p% m& E& K; w9 X+ i•        ip default-gateway [address]: This is a global command and set default gateway.3 ^) ?$ B& r& A) t0 F: B0 j3 f  S
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.; l8 r$ U# h7 N3 V5 t, @& k% j
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
$ I/ l" Z7 \6 f0 E# P  q•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.$ y- c. {' f9 j8 t
•        duplex {auto/full/half}: This command sets duplex mode for the interface.! O/ R9 @: i2 r1 d1 O
•        hostname [name]: This command assigns a host name to the switch." E. M. N# b3 i- A" {7 |) T3 {
•        line vty 0 15: This command enters vty (telnet) configuration mode.% r% o3 Z, J, J$ Y
•        line con 0: This command enters console configuration mode.2 `0 }1 ^$ V. h- p
•        login: This command tells the switch to ask for a password.0 d; N* b. t! {2 K; ]
•        password [password]: This command sets the password." e% P0 |  f/ ^+ u, n( H0 ]  |6 ]
•        enable password [password]: This command sets the password to enter privileged mode.
; \- O& }( l$ ]' W9 W•        enable secret [password]: This command sets encrypted password.* a2 E1 x! ]0 B; e" P3 X. W4 B
•        configure terminal: This command enters configuration mode.# ?, o4 y' s9 a) S
•        show interfaces fastethernet 0/x: This command displays interface status.; N4 m* l7 ?1 p
•        show interfaces: This command displays information of all interfaces.6 ]9 o: w: U8 i( G$ Q% f/ j
•        show interfaces vlan 1: This command displays the ip address configuration.8 @/ I; F% c; t; S+ E
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
% ~( J: S6 {& Z4 Y' R/ g( e•        show-mac-address-table: This command displays the MAC address table.
% c- p( p5 ]1 t# d0 }•        show version: This command displays the switch’s hardware and software status.
: z1 y% {$ I5 v- I3 l•        show flash: This command displays the files and directories in the flash.) n8 g/ ]( P9 E# t( Z3 _
•        show history: This command displays the last ten commands., h+ y# x+ H0 z! Q
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.8 p& @# L2 e* D7 N  A  m
•        show log: This command displays logging messages of the switch.
9 T% }5 ^- R2 M3 a2 s•        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

返回列表