返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).6 f1 \4 q6 W& [5 ?7 m
•        ip default-gateway [address]: This is a global command and set default gateway.
9 L, \3 v/ M! @( g' j) U: `•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
1 h  @4 [! k( X/ d•        interface fast Ethernet 0/x: This command puts users into user configuration mode.6 Z6 r5 p+ q7 e# a4 l
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
& }. v0 y* R) c! h% h) X& r•        duplex {auto/full/half}: This command sets duplex mode for the interface.8 Y4 C% x% n, E7 t- S* w/ U% S
•        hostname [name]: This command assigns a host name to the switch.3 H6 o* s5 D( }. l7 _4 F! G
•        line vty 0 15: This command enters vty (telnet) configuration mode.
& [. M9 d, H3 ~/ s: ?•        line con 0: This command enters console configuration mode.
3 I/ B/ v& _: q* z% l- u4 T•        login: This command tells the switch to ask for a password.
( q; M# `7 z9 |+ V; K9 a4 @4 y•        password [password]: This command sets the password.
# d3 Q9 t% s: X2 w9 O0 C•        enable password [password]: This command sets the password to enter privileged mode.6 K# g$ }: N; S. R: t
•        enable secret [password]: This command sets encrypted password.
2 u1 e  D" p6 u0 ?2 D•        configure terminal: This command enters configuration mode.8 j# [8 e# |: A4 I; Z! R
•        show interfaces fastethernet 0/x: This command displays interface status.
; @. {/ _$ t& j' f9 ]•        show interfaces: This command displays information of all interfaces.
0 y3 g. `* B  g5 n+ S( a' T- d•        show interfaces vlan 1: This command displays the ip address configuration.8 ^% |; Y% O% Q6 ~, @: j( F0 t3 d& B
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
( l0 ]5 F0 V+ @•        show-mac-address-table: This command displays the MAC address table.
: k% b1 ^# Y# N+ E. y•        show version: This command displays the switch’s hardware and software status.
; W) A, f) ]9 t  C•        show flash: This command displays the files and directories in the flash.- D! [8 G; z' y8 t- ?4 B) Z. `
•        show history: This command displays the last ten commands.
+ l% d  E9 Q' n9 \8 X% Q•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.  s; e: P, F- r) L5 _# G9 |
•        show log: This command displays logging messages of the switch.! t5 l% H7 p' W' 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

返回列表