返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).. |0 M" `+ j4 C3 j9 R
•        ip default-gateway [address]: This is a global command and set default gateway.
- f* H, H) V) A) \•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.2 L/ F2 _  _& L# A; S+ N$ @
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
, G. r5 b. b  ~7 C3 c6 E( p9 ]2 ]•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
4 r* i) X! h1 K; N' ~•        duplex {auto/full/half}: This command sets duplex mode for the interface.
& y( [0 o% E# G# q5 @•        hostname [name]: This command assigns a host name to the switch.
$ r9 t6 P  K! {1 E( J* U" s% k6 A: s3 S•        line vty 0 15: This command enters vty (telnet) configuration mode.
4 r: ~  k) F, y9 u1 T6 N/ G•        line con 0: This command enters console configuration mode.
* c% u+ K$ W8 Q# T) ~& E9 Q: a•        login: This command tells the switch to ask for a password.
/ g1 M5 P2 U5 z•        password [password]: This command sets the password.& O: J* Z8 `4 v" v( F+ v. Y
•        enable password [password]: This command sets the password to enter privileged mode.
- b8 J/ A6 J# l' r" {& j•        enable secret [password]: This command sets encrypted password.
- b% V5 g. e# u% I! y•        configure terminal: This command enters configuration mode.
# i5 D+ I4 |6 N; f+ V) u  t6 I•        show interfaces fastethernet 0/x: This command displays interface status.8 P  H8 {9 @3 R6 _: [( p6 i
•        show interfaces: This command displays information of all interfaces.! o) k% K; G6 Y
•        show interfaces vlan 1: This command displays the ip address configuration.. [5 f! [* ]2 I3 @7 v
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
( Z# u" M+ b" l5 Z7 @•        show-mac-address-table: This command displays the MAC address table.0 W5 M$ p2 z/ m
•        show version: This command displays the switch’s hardware and software status.
! E% n  m# t, p/ K4 c+ [•        show flash: This command displays the files and directories in the flash.
, G0 G/ Q$ S6 L0 D2 I•        show history: This command displays the last ten commands.& W" r2 [: H4 c+ F: {
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.  B: ]: G& b3 ^$ H6 S( }! z
•        show log: This command displays logging messages of the switch.
9 F- C) z& h) M# p9 C0 {•        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

返回列表