返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
2 i, _7 t5 S. @2 x' Z, S  z•        ip default-gateway [address]: This is a global command and set default gateway.
1 e$ \4 M1 Z" ?•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.' I5 m: }: P/ [2 h+ _" v
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
9 F& ^/ f( c2 [•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
) n: r' ]: i4 `3 r+ y•        duplex {auto/full/half}: This command sets duplex mode for the interface.1 J$ D, y, C; @; T
•        hostname [name]: This command assigns a host name to the switch.
$ ]  c  s( x; r; l) |' s•        line vty 0 15: This command enters vty (telnet) configuration mode.
+ w6 g& [# Y8 ]' }0 e; a•        line con 0: This command enters console configuration mode.
' F8 |4 p* E: O•        login: This command tells the switch to ask for a password.
8 Z1 \. c0 I3 s+ W# f1 S7 H: K' l•        password [password]: This command sets the password.9 o7 h" p+ _9 E) C4 F& ^+ r0 w
•        enable password [password]: This command sets the password to enter privileged mode.  `: D# S, j2 t0 c, L
•        enable secret [password]: This command sets encrypted password.; i& t+ I# K2 L0 Q+ S: v
•        configure terminal: This command enters configuration mode.
% _$ e0 D2 [- m' H•        show interfaces fastethernet 0/x: This command displays interface status.
. H3 x0 I! e/ o+ T8 Y/ ?•        show interfaces: This command displays information of all interfaces.
1 B7 y% v& d: ^' {0 `+ W4 y( U•        show interfaces vlan 1: This command displays the ip address configuration.4 ^9 d0 t8 n; k3 P+ x6 ^
•        show [running/startup]-config: This command displays RAM/NVRAM settings.4 b# q0 o, ]5 f) M) |/ |6 B
•        show-mac-address-table: This command displays the MAC address table.
% Q) A6 ?/ v# \- x- S/ `+ i•        show version: This command displays the switch’s hardware and software status.( [+ X) M* I1 M( o
•        show flash: This command displays the files and directories in the flash.8 S* a3 b8 t9 B* w, z
•        show history: This command displays the last ten commands.
6 @5 S3 t8 V% S- s3 r% L; _0 x•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
6 U9 i. ?9 a% H' t, _•        show log: This command displays logging messages of the switch.
, `. l7 L, E  z' Y% N, a+ 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

返回列表