返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
- x4 S; L: _# W; }9 N5 x•        ip default-gateway [address]: This is a global command and set default gateway.9 i! F9 G% v5 x
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
7 h% N. H* x7 s) w  S6 j" j•        interface fast Ethernet 0/x: This command puts users into user configuration mode.& k0 z0 w% u2 K/ e: v
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
4 M- l- I6 R1 h•        duplex {auto/full/half}: This command sets duplex mode for the interface.
5 q9 q1 G* a6 I* J& E/ q2 v•        hostname [name]: This command assigns a host name to the switch.7 J" U  {- B  r8 b2 M
•        line vty 0 15: This command enters vty (telnet) configuration mode.6 P; p% l  X( I# ]" O7 B
•        line con 0: This command enters console configuration mode.6 a- X& S9 r; N5 N7 K/ c3 z" e& X; o# ]1 Z
•        login: This command tells the switch to ask for a password.
' ~: L. Q& j7 B•        password [password]: This command sets the password.
2 I& f0 t0 L' \1 }% S•        enable password [password]: This command sets the password to enter privileged mode.2 O3 k; ~8 J9 F
•        enable secret [password]: This command sets encrypted password.
8 J$ J" ^1 j5 N9 G% K•        configure terminal: This command enters configuration mode.1 s# N0 K9 h. y3 l6 b% F
•        show interfaces fastethernet 0/x: This command displays interface status.
6 G1 ]7 b+ ?: J7 U: w: E! V•        show interfaces: This command displays information of all interfaces.
& E$ ^2 P3 L$ t* e/ ]•        show interfaces vlan 1: This command displays the ip address configuration.: i. _# x9 ]' M$ G9 U
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
( C: O, f, \. Z1 z, A& Q/ L•        show-mac-address-table: This command displays the MAC address table.
" `* y6 j7 G- H7 l•        show version: This command displays the switch’s hardware and software status.
( `; N7 \- @7 Q+ t" `•        show flash: This command displays the files and directories in the flash.9 j/ j( v3 T! \/ x$ [
•        show history: This command displays the last ten commands.
. C$ Y) v& ^# s( S$ Q! z, x: L8 Y•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
+ k, J9 H0 m. L, b/ ~•        show log: This command displays logging messages of the switch.
- Z& {$ Q* S) \$ {8 ~6 o+ d( E•        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

返回列表