返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
1 f9 w& {3 V0 y0 V" L' G•        ip default-gateway [address]: This is a global command and set default gateway." J& Q# P) A* o7 x, u' A8 x
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.' ^+ v; A! [6 p+ g
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
" q! E) o. m0 t2 I: L, K•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
. O. ]5 H3 o& Z; A$ |5 T•        duplex {auto/full/half}: This command sets duplex mode for the interface.0 e, U4 R; X; J. T* i8 {; B5 w6 ?
•        hostname [name]: This command assigns a host name to the switch.
# J2 b  @* X* C4 l) i•        line vty 0 15: This command enters vty (telnet) configuration mode.( D# g4 c+ P' [8 p
•        line con 0: This command enters console configuration mode.
8 B- _$ T3 M8 s/ h7 w( G8 G# W•        login: This command tells the switch to ask for a password.& D( y# n5 x0 F5 m" m
•        password [password]: This command sets the password.
% r  V1 F0 s- P+ T•        enable password [password]: This command sets the password to enter privileged mode.
$ [( A# p6 m* g2 z. x& b' R•        enable secret [password]: This command sets encrypted password.
& a! y1 q( N: M* \, T% c% ]•        configure terminal: This command enters configuration mode.
+ v9 l. s& B& [& V+ Y" q•        show interfaces fastethernet 0/x: This command displays interface status.9 Z3 N% [* r# M& E6 U* ~
•        show interfaces: This command displays information of all interfaces.9 S6 J* w' {; v6 f: H; N0 S6 E
•        show interfaces vlan 1: This command displays the ip address configuration.: ?% u0 ~6 ~2 k4 K/ [; j! ^" K
•        show [running/startup]-config: This command displays RAM/NVRAM settings.5 p# x: M4 Z6 w+ b0 s
•        show-mac-address-table: This command displays the MAC address table.# @5 X: C, `( A( ]
•        show version: This command displays the switch’s hardware and software status.. Q1 Q  S# G3 N/ E
•        show flash: This command displays the files and directories in the flash./ K3 e" D8 s8 h. X' Q) M2 k
•        show history: This command displays the last ten commands.
, M' \2 J9 Q3 `+ H% S& j•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.+ ~/ I( q; e/ M" d3 s  K" k
•        show log: This command displays logging messages of the switch.
5 p6 e/ ~# m' k•        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

返回列表