返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
% J5 L/ Y. Y% f7 ^! `+ M•        ip default-gateway [address]: This is a global command and set default gateway.6 n! J5 p4 V' l! u! x) w' B. M
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
; e: Y( k5 p6 M3 P+ N•        interface fast Ethernet 0/x: This command puts users into user configuration mode.6 G) ]+ z  @* g9 k7 L4 h
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.4 x. j% i% r1 N8 v; c6 J1 x
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
4 S8 }4 ^* R7 k4 x# p! K•        hostname [name]: This command assigns a host name to the switch.. F- l* ]) D) u
•        line vty 0 15: This command enters vty (telnet) configuration mode.; T6 D) i0 y1 N8 f4 A* U5 K! s! r
•        line con 0: This command enters console configuration mode.
# A7 S7 o% c5 c! Y* k! [•        login: This command tells the switch to ask for a password.
/ u, G) M2 b8 A, B+ c•        password [password]: This command sets the password.
+ t4 u% c8 e+ I! J6 r  B  D, X•        enable password [password]: This command sets the password to enter privileged mode.
/ d( f, P+ L# @- q/ c- s1 o7 ^•        enable secret [password]: This command sets encrypted password.
: g( b* B5 S, L2 |7 ]% }) y•        configure terminal: This command enters configuration mode." B/ U: ]& m3 c% |
•        show interfaces fastethernet 0/x: This command displays interface status.4 F( O4 X3 L" U' s0 {
•        show interfaces: This command displays information of all interfaces.
+ v# ?! f. v, p2 u4 b6 t. o•        show interfaces vlan 1: This command displays the ip address configuration.) C( K" o) ~6 B9 L. P* z4 v
•        show [running/startup]-config: This command displays RAM/NVRAM settings." q) D) `* Y  J( V
•        show-mac-address-table: This command displays the MAC address table.- ~: N" G: t$ _! _! Q& o& O
•        show version: This command displays the switch’s hardware and software status.
7 b+ ?) G' ?6 u& l; w) b$ x, r•        show flash: This command displays the files and directories in the flash.
. x5 Y+ \* @" X•        show history: This command displays the last ten commands./ I$ O! L4 q8 K5 A. ]  g
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.% i8 a# n5 W4 a) [; e/ @
•        show log: This command displays logging messages of the switch.; c; r) s" |  L* Z8 P6 ~
•        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

返回列表