返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
1 |5 F$ F  T  ]7 ^•        ip default-gateway [address]: This is a global command and set default gateway." x9 {5 J% a8 ~/ E2 m5 r, I
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
  D3 a* ]% J/ w•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
) _/ E7 p* B& T•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
1 E" e! e+ x: o& o* R8 S•        duplex {auto/full/half}: This command sets duplex mode for the interface.
! k0 R- Z. m+ u0 K/ v, {•        hostname [name]: This command assigns a host name to the switch.. n2 i0 _% ~" `0 L3 A3 f9 Y
•        line vty 0 15: This command enters vty (telnet) configuration mode.6 d0 @+ J; k! U' p* M  Z/ b
•        line con 0: This command enters console configuration mode.) Y8 S8 Q  S- c# W
•        login: This command tells the switch to ask for a password.: t) n! c+ w5 [; ^' X, [0 s2 j
•        password [password]: This command sets the password.
. P! z0 K5 |, S9 ]% F3 g4 z' \•        enable password [password]: This command sets the password to enter privileged mode.( n% X4 t! {- I
•        enable secret [password]: This command sets encrypted password./ A" n( O8 V7 p2 A
•        configure terminal: This command enters configuration mode.
6 l" X2 d( j% o8 l- i$ h! p•        show interfaces fastethernet 0/x: This command displays interface status.3 t! B! ^0 q' _( l; K) {) ^, c
•        show interfaces: This command displays information of all interfaces.
" T$ W/ n( c: Y9 a0 h1 @•        show interfaces vlan 1: This command displays the ip address configuration.
- ~8 ]) i8 O0 |•        show [running/startup]-config: This command displays RAM/NVRAM settings.
6 [2 U* B  |: n+ l* ?' U3 V4 b•        show-mac-address-table: This command displays the MAC address table.
+ _6 p- Z5 a4 Z. G' o0 s5 m•        show version: This command displays the switch’s hardware and software status.
$ `# D2 S+ L! H! m6 C2 }) Z•        show flash: This command displays the files and directories in the flash.
* D6 ?8 B+ G; y/ p+ ]. p5 B' |+ H•        show history: This command displays the last ten commands.
" M9 |9 c8 t, G+ g* J/ F•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.6 [9 u/ h' v5 s7 \
•        show log: This command displays logging messages of the switch.
& X+ J) E5 S0 Q•        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

返回列表