返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
! n: N4 q  Z. v3 W" h9 I4 D# ^•        ip default-gateway [address]: This is a global command and set default gateway.: L! L4 S8 j% \
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.9 {; R) q/ }: ~+ Y$ e
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.8 K  G! I* @6 Z& Z9 m. @  z# o1 j
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed., c% _/ K- Y/ \! E1 M
•        duplex {auto/full/half}: This command sets duplex mode for the interface.) J" U1 [2 F$ B5 f1 k3 |" S8 d
•        hostname [name]: This command assigns a host name to the switch./ W" _# F5 j5 r( |/ R  v( w
•        line vty 0 15: This command enters vty (telnet) configuration mode.) m& M+ e  H, J" N1 W0 @6 a
•        line con 0: This command enters console configuration mode.2 E& ]& I: p  A2 i' u
•        login: This command tells the switch to ask for a password.5 o8 ^- [/ W% k, W4 u
•        password [password]: This command sets the password.- P, e" N3 |: L5 _' u" s  ]$ \
•        enable password [password]: This command sets the password to enter privileged mode.8 a% N; z' v  f2 s, U. y7 m
•        enable secret [password]: This command sets encrypted password.8 _. g* I+ _8 s# g% S$ A
•        configure terminal: This command enters configuration mode.
) C1 o1 F" j! h, g- X: M+ ?1 ~+ R•        show interfaces fastethernet 0/x: This command displays interface status.
& m8 b, N9 K: O. {) z8 g# {8 x•        show interfaces: This command displays information of all interfaces.) n1 S2 k4 V* E( F1 A5 I% ~- i
•        show interfaces vlan 1: This command displays the ip address configuration.
% v# U8 T( X4 w$ p( B! C2 p•        show [running/startup]-config: This command displays RAM/NVRAM settings.
1 y/ s9 T2 m/ ]  H( o' E•        show-mac-address-table: This command displays the MAC address table.5 F# D7 ^/ Q: w# r$ P
•        show version: This command displays the switch’s hardware and software status.. |* m" o, i# I* f5 Y
•        show flash: This command displays the files and directories in the flash.2 ]4 P4 [+ f: c4 c* ?4 E% l
•        show history: This command displays the last ten commands.
, g! a  ?0 P9 q1 o9 ?7 |•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
+ j9 y2 Y. q5 G•        show log: This command displays logging messages of the switch.
" k# r# b. U! J2 ^& ^# T* e* E" M' K•        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

返回列表