返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
" e1 H; d/ a- P" |$ l* ^( ^•        ip default-gateway [address]: This is a global command and set default gateway.
- D5 S" k9 U: _* J•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.5 }& d2 y* O9 w2 |  x. G; S
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
3 c3 Y( K' _& x+ d•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.% I, p8 H5 D  B2 X  V% H
•        duplex {auto/full/half}: This command sets duplex mode for the interface.1 [' D5 }* i9 c. L  b$ s3 D
•        hostname [name]: This command assigns a host name to the switch.
3 \# r% V7 R) F# M•        line vty 0 15: This command enters vty (telnet) configuration mode.: F" \& ]# a- r9 g
•        line con 0: This command enters console configuration mode.
' W. b  M+ Z8 d" r0 r•        login: This command tells the switch to ask for a password.) V) c8 j9 o4 C7 l
•        password [password]: This command sets the password.
+ Q. X, v2 h* |. }•        enable password [password]: This command sets the password to enter privileged mode.
2 G  G4 A8 f* [. @: d: `) s! T•        enable secret [password]: This command sets encrypted password.6 }1 |$ [& T$ l0 J0 d4 k, E4 K
•        configure terminal: This command enters configuration mode., ^/ w8 U& C+ a& T' J* J) {
•        show interfaces fastethernet 0/x: This command displays interface status.3 Z) w# P. l) |) ^, I% t, G7 \
•        show interfaces: This command displays information of all interfaces.
/ W  ~/ t  }- M8 P" L•        show interfaces vlan 1: This command displays the ip address configuration.
" v0 T4 |9 u+ y" j# ?" G•        show [running/startup]-config: This command displays RAM/NVRAM settings." f. j/ }. J) x; V" K
•        show-mac-address-table: This command displays the MAC address table.
: Q/ z9 [! u$ Y8 f•        show version: This command displays the switch’s hardware and software status.7 |& \2 B$ J" F2 }& V
•        show flash: This command displays the files and directories in the flash.
' _) N; n5 F6 Q. w3 c! k•        show history: This command displays the last ten commands.
+ Q  M' Q# ^% u1 d3 T" Z•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.* n. G$ ?! E2 J8 v3 d$ g5 O. n( s
•        show log: This command displays logging messages of the switch.
% Z( I0 ~% y3 `" I- y* _; t0 c/ [•        copy run start / write mem: This command saves configurations from RAM to NVRAM.
Bill Tang     MSN:billtang@openplatform.com.hk
Openplatform Technology Co.,Ltd. 資訊坊科技有限公司  
無線工程施工、方案設計、無線產品、天饋材料、終端設備綜合供應商
www.openplatform.com.hk  Tel: 852-27491011  Fax: 852-81483532

中國無線技術論壇 http://www.how2do.com.Hk

现在我这边都是在用h3c的,命令差别多,思科的还就都没用了,不过现在还有这个型号设备在网。
来自生活现象

TOP

返回列表