返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
8 \) |2 N$ K% P: J+ K5 p•        ip default-gateway [address]: This is a global command and set default gateway.9 Y4 b* U; l  A7 I2 q* V( |
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.$ ]! E7 g+ f  A( e2 l) I3 s
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.0 H% |) y% A9 u( J- f
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.3 ~9 q5 Z! a3 C
•        duplex {auto/full/half}: This command sets duplex mode for the interface.3 u' A- g8 z9 g+ J$ y$ i
•        hostname [name]: This command assigns a host name to the switch.8 y2 U. J1 V  X$ }( i; J% z
•        line vty 0 15: This command enters vty (telnet) configuration mode.
: d5 o* k! q8 z) l8 C1 A•        line con 0: This command enters console configuration mode.
+ P0 }: V$ `$ }* C" k' W•        login: This command tells the switch to ask for a password.6 r0 R; v6 W9 C! }, O' k4 H
•        password [password]: This command sets the password.2 j5 q! s/ r* V; \- X; |8 Z; M
•        enable password [password]: This command sets the password to enter privileged mode.
. C4 u. Y: h( }! ]9 x3 a•        enable secret [password]: This command sets encrypted password.: `  N+ _1 c& H, p
•        configure terminal: This command enters configuration mode.% C( @5 t0 r, C& r# m
•        show interfaces fastethernet 0/x: This command displays interface status.
8 I, a5 m! U5 D0 F/ F" E5 A•        show interfaces: This command displays information of all interfaces.
4 ], i0 ^5 ]6 f3 k) Z$ s/ q•        show interfaces vlan 1: This command displays the ip address configuration.2 x5 }# r4 M: w" w# f
•        show [running/startup]-config: This command displays RAM/NVRAM settings./ I5 I9 m/ L: @$ F! M# _
•        show-mac-address-table: This command displays the MAC address table.4 |5 t! u  U2 I2 \! W
•        show version: This command displays the switch’s hardware and software status.
8 C% T' }$ l3 N1 M8 t•        show flash: This command displays the files and directories in the flash.
" y8 ~& E5 D( s, {•        show history: This command displays the last ten commands.. A, h% f4 @* s$ [( b
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.4 a6 A# |$ T- Q$ x4 w- @
•        show log: This command displays logging messages of the switch.4 y6 t$ r3 T. r
•        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

返回列表