返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
  V* L. P' N4 }% _" c% h•        ip default-gateway [address]: This is a global command and set default gateway.0 a; P" B8 `. D+ n
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
( i+ N: N: T$ x' H5 D  I# X& `" u•        interface fast Ethernet 0/x: This command puts users into user configuration mode.8 g( P1 ^! z0 L1 K
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
- i2 z5 _! X3 z•        duplex {auto/full/half}: This command sets duplex mode for the interface.
4 ]+ N3 k7 x0 `3 L3 w•        hostname [name]: This command assigns a host name to the switch.
- {! R5 b* T6 v, h, c! \9 F; e•        line vty 0 15: This command enters vty (telnet) configuration mode.
+ I3 r# q' r0 p% x/ V6 u7 H•        line con 0: This command enters console configuration mode.& [3 E7 c! ?9 r4 f
•        login: This command tells the switch to ask for a password.. r* t$ o% F# c2 X
•        password [password]: This command sets the password.. e+ P+ ?# M1 T+ w2 Z9 l
•        enable password [password]: This command sets the password to enter privileged mode.' s# n6 u. Q6 _& ?
•        enable secret [password]: This command sets encrypted password.
, Y% D- W8 @* }4 {•        configure terminal: This command enters configuration mode.
" h% F' }% a  Z0 ]  M, t6 F5 U! i8 _•        show interfaces fastethernet 0/x: This command displays interface status.
2 k! u7 k. e; I# {•        show interfaces: This command displays information of all interfaces.; L0 Q' f' K+ ^# a7 m& `2 P% Y
•        show interfaces vlan 1: This command displays the ip address configuration.
. i) h# _$ V  ~* u•        show [running/startup]-config: This command displays RAM/NVRAM settings.
. {2 t$ T' [; e5 v0 V•        show-mac-address-table: This command displays the MAC address table.
9 c! F2 J- G$ P* N. t•        show version: This command displays the switch’s hardware and software status.1 a. h9 H  W* q9 h, o' x
•        show flash: This command displays the files and directories in the flash.
' B6 T! p+ p9 ?/ P6 \•        show history: This command displays the last ten commands.
3 w/ |' h" K! j" M•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.  a( |( N. }& d. c; p8 \
•        show log: This command displays logging messages of the switch.
, F) \6 z+ I& d8 J( _* X+ w% P. P9 S! n•        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

返回列表