返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
0 Y  L, q6 C: S, f7 ?1 _•        ip default-gateway [address]: This is a global command and set default gateway.- p- s) m8 M2 s1 s
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
5 |) H6 {, W$ _0 C) U/ X•        interface fast Ethernet 0/x: This command puts users into user configuration mode.6 X. w8 _! [* A* u! p7 o! S$ g
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
& T' f6 d( ^: ~- c•        duplex {auto/full/half}: This command sets duplex mode for the interface.$ T( j6 m+ |. x( Z3 j9 {
•        hostname [name]: This command assigns a host name to the switch.# N( N) c3 U" }/ ]
•        line vty 0 15: This command enters vty (telnet) configuration mode.& ]) p# i* n- D
•        line con 0: This command enters console configuration mode.1 B) G: |; q$ z8 J; U0 {# @/ |" @
•        login: This command tells the switch to ask for a password.
1 b; ]; b7 g) H: n: b6 u( r•        password [password]: This command sets the password.
) f" ^( L4 x: j3 [: S$ V) w•        enable password [password]: This command sets the password to enter privileged mode.- D; A2 \0 |, V) v
•        enable secret [password]: This command sets encrypted password.5 c" A- t; t5 R* Q# b9 X- d9 X9 B
•        configure terminal: This command enters configuration mode.' X1 @2 J, s8 B# P' N
•        show interfaces fastethernet 0/x: This command displays interface status.; k2 w9 O6 ~9 T! @
•        show interfaces: This command displays information of all interfaces.
) B/ b& O/ C: Y. o8 k0 Z•        show interfaces vlan 1: This command displays the ip address configuration.
# P3 l- l, M+ S) g5 W0 h•        show [running/startup]-config: This command displays RAM/NVRAM settings.
0 R, ~. k0 m1 A+ a4 h•        show-mac-address-table: This command displays the MAC address table.6 c6 @& U9 q  U9 C5 m8 [' C* E
•        show version: This command displays the switch’s hardware and software status.' Y4 s: F; W0 b
•        show flash: This command displays the files and directories in the flash.7 x6 S) _! K8 {& ^" @- ^9 r
•        show history: This command displays the last ten commands.1 [9 m4 `' O! A+ }9 H
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
5 O( V! H/ h7 ?. W% H/ f•        show log: This command displays logging messages of the switch.
5 j) W  I: ^( J( ?$ q9 S•        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

返回列表