返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1)., h, p+ ~" Q% Z) n. \; f2 e
•        ip default-gateway [address]: This is a global command and set default gateway.
+ X  p2 k3 g. b( _' G% f•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
0 v0 {$ i# M$ ]•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
7 J4 ~! c* p" G8 v: c2 U•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.: {* r. q9 @& w' Y3 E
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
# Z: y$ m' [' ^; _•        hostname [name]: This command assigns a host name to the switch.
& Q9 e0 D: G6 p- n: ?. _$ S•        line vty 0 15: This command enters vty (telnet) configuration mode.
8 y( p  Y) N/ B•        line con 0: This command enters console configuration mode.. b$ }& p1 e& }# C
•        login: This command tells the switch to ask for a password.  I- V* C" K+ o7 ]: h) l; f( G
•        password [password]: This command sets the password.
. K. Q6 `" @* X5 q% v•        enable password [password]: This command sets the password to enter privileged mode." |" r/ _- B) \, @6 q' u) R
•        enable secret [password]: This command sets encrypted password.' S" q- }7 c2 _: b
•        configure terminal: This command enters configuration mode.8 C7 ~7 D) {0 @6 P
•        show interfaces fastethernet 0/x: This command displays interface status.4 w9 z8 Q0 D5 j) }! I: d6 J* _
•        show interfaces: This command displays information of all interfaces.& p* S' h$ ]/ G9 u) s9 j. ]& D
•        show interfaces vlan 1: This command displays the ip address configuration.0 [8 z6 F  \  B/ H
•        show [running/startup]-config: This command displays RAM/NVRAM settings.4 ?* u+ `0 i# a3 w( W8 P9 ^8 n
•        show-mac-address-table: This command displays the MAC address table.% R0 ?7 L' n0 L& {4 v" I4 D0 X
•        show version: This command displays the switch’s hardware and software status.
$ i3 j- Y: Y/ s+ M: l) p•        show flash: This command displays the files and directories in the flash.* G$ G  |# T( [0 W' a2 ^
•        show history: This command displays the last ten commands.
7 I) @' b! M6 M/ ?2 f- U•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
4 X( i# ^" M" N•        show log: This command displays logging messages of the switch.
; H9 G4 P! M6 ~! J% `7 T•        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

返回列表