返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
7 ^& ^# L5 j8 |* t% ?•        ip default-gateway [address]: This is a global command and set default gateway.
9 M( S0 r: b4 z) e•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.; t. q# l/ B1 X; r8 |
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.' H$ d' g3 R8 v5 L/ ?% M
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
, f* f! r1 m9 _$ y: {* o% y+ Y•        duplex {auto/full/half}: This command sets duplex mode for the interface.3 p. e: L  ?( L' t
•        hostname [name]: This command assigns a host name to the switch.2 x( s8 b: a7 u5 V
•        line vty 0 15: This command enters vty (telnet) configuration mode.
5 R+ S  F  @; T! U1 U•        line con 0: This command enters console configuration mode.
# x7 Q3 j( _* I•        login: This command tells the switch to ask for a password.
* L. @; a$ c; k" x  |3 `•        password [password]: This command sets the password.
( p7 A2 S; C, a•        enable password [password]: This command sets the password to enter privileged mode.
, ~! Y( U3 K. H/ d•        enable secret [password]: This command sets encrypted password.% W; P; ?( P* B7 ]) a
•        configure terminal: This command enters configuration mode., a1 {: I" N# f
•        show interfaces fastethernet 0/x: This command displays interface status.4 F+ L" j5 X, I6 h3 q
•        show interfaces: This command displays information of all interfaces.
: \- c* a% b; ~+ ~1 [$ p9 m•        show interfaces vlan 1: This command displays the ip address configuration.
6 j4 t- f6 W# b6 ^- |•        show [running/startup]-config: This command displays RAM/NVRAM settings.$ ^. L! I8 L* `4 \
•        show-mac-address-table: This command displays the MAC address table.
- ?4 H+ A+ t% |& T4 j•        show version: This command displays the switch’s hardware and software status.& P2 G  ]* z+ _& w( A) T- c- e
•        show flash: This command displays the files and directories in the flash." p6 _" d3 m% L
•        show history: This command displays the last ten commands.
5 V0 K5 f; f  c' u* w% T) ]* }•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.9 X( @  F8 j2 Z
•        show log: This command displays logging messages of the switch.& d, |7 p! y5 i4 C5 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

返回列表