返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
; D+ |9 i5 e6 F: P•        ip default-gateway [address]: This is a global command and set default gateway.2 R; T# M7 O: d3 f7 B
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
, Q+ f, Z) Z( ^$ B# c4 z3 Q2 ?•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
/ \' Y# X, b. Z2 m1 N! Z3 \- ~•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.4 \% w3 S0 \! _' x8 n# S
•        duplex {auto/full/half}: This command sets duplex mode for the interface.3 o; \& B. B" J( B+ r
•        hostname [name]: This command assigns a host name to the switch.2 w/ q, B1 s% w# D: f' Y$ P2 C
•        line vty 0 15: This command enters vty (telnet) configuration mode.
( }  c. t6 e8 U( r•        line con 0: This command enters console configuration mode.% B9 H/ I0 _* I. y
•        login: This command tells the switch to ask for a password.
4 P0 {2 |/ h2 ~4 A+ H2 v•        password [password]: This command sets the password.& c. X% [" ^+ f) p- \% m+ E
•        enable password [password]: This command sets the password to enter privileged mode.
+ T* p) Y$ v& G3 X•        enable secret [password]: This command sets encrypted password.
1 o3 M  R+ l& N•        configure terminal: This command enters configuration mode.
$ M- b1 a- f# E9 {, S' e8 U•        show interfaces fastethernet 0/x: This command displays interface status.
: L2 i# i5 P4 A5 T7 C+ T; o•        show interfaces: This command displays information of all interfaces.
* h6 L% Y: B6 X& }6 L' @3 U•        show interfaces vlan 1: This command displays the ip address configuration.+ ?8 B- o, w# x% U% |
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
3 S7 K% P) ]0 i( V! l0 O) N# S3 |•        show-mac-address-table: This command displays the MAC address table.7 z; n) ^5 H2 T' c  I
•        show version: This command displays the switch’s hardware and software status.
5 `7 e. K( t3 A1 M1 g5 D% }" }* Y•        show flash: This command displays the files and directories in the flash.
4 @) i0 f" K3 Y$ q•        show history: This command displays the last ten commands.
. i% i# z, v6 x9 E# e- X•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
$ z5 o# f6 U" g•        show log: This command displays logging messages of the switch." b* J' _& p! G# Z2 q+ d9 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

返回列表