返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
9 ]3 f3 {# @4 ~* g; s6 a4 |& o•        ip default-gateway [address]: This is a global command and set default gateway.! r  h% b4 r% O# P* d2 K/ n
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.) q- h5 _5 q( R# {
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.( O6 z! ^0 M2 c( Q9 p% Q
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.% R$ d  D3 S. C( U/ T3 w8 T
•        duplex {auto/full/half}: This command sets duplex mode for the interface.6 \9 X0 _: o* C: `' C
•        hostname [name]: This command assigns a host name to the switch.
. s) L! B2 q  U6 ]•        line vty 0 15: This command enters vty (telnet) configuration mode.
( k" z9 w5 ?4 [* A5 f•        line con 0: This command enters console configuration mode.
. T& g" Y0 ]/ b- K: |9 {% K+ G& w•        login: This command tells the switch to ask for a password.7 W9 I6 g( u; M5 Y# N/ Q) [
•        password [password]: This command sets the password.
& n8 n; z' n( g0 e- a/ s•        enable password [password]: This command sets the password to enter privileged mode.
, a* c: K. }/ g$ Y5 F•        enable secret [password]: This command sets encrypted password.
% d) q2 w3 C& Y$ g, z•        configure terminal: This command enters configuration mode.2 w5 l2 `! q5 g. J9 z3 ]2 r
•        show interfaces fastethernet 0/x: This command displays interface status.9 h, q( A7 k8 G0 _1 V; ^
•        show interfaces: This command displays information of all interfaces.
1 v! s7 X! j  m3 S* _2 V•        show interfaces vlan 1: This command displays the ip address configuration.
) E4 Z' m  r- V1 Y! k! ?# u•        show [running/startup]-config: This command displays RAM/NVRAM settings.. `* L% T3 Q/ w; ~
•        show-mac-address-table: This command displays the MAC address table.
  Z/ o' {8 I9 Z3 ^* H2 q3 w•        show version: This command displays the switch’s hardware and software status.
* d4 U/ ]4 X7 A- x) y•        show flash: This command displays the files and directories in the flash." c# F3 T' a$ U( c3 D. {! Z
•        show history: This command displays the last ten commands.# T$ L6 l: s" P! d$ w' A. Q
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.. ]; U" k0 {/ R0 D1 d" s: z! Z
•        show log: This command displays logging messages of the switch.
, g. y1 F# f+ ^; v4 N/ x•        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

返回列表