返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
" {0 F/ Y3 m1 D) @/ o7 I•        ip default-gateway [address]: This is a global command and set default gateway.4 D1 U" q1 H8 {# _9 O
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
* G$ F" @/ F0 j. x; x! L. v$ y•        interface fast Ethernet 0/x: This command puts users into user configuration mode.% p5 p+ U! I6 U# K2 R2 X  N' N
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
" x  ~7 ~; ]& C* }•        duplex {auto/full/half}: This command sets duplex mode for the interface.
6 }  s7 w' o6 a, A" _# b* D•        hostname [name]: This command assigns a host name to the switch.
9 a5 f6 G( A* d9 G7 E( h5 [•        line vty 0 15: This command enters vty (telnet) configuration mode.1 b  [4 E5 U: d) y1 O- p2 A0 I& x$ L
•        line con 0: This command enters console configuration mode.2 N4 x$ Q, y6 y
•        login: This command tells the switch to ask for a password.- n2 j- @, d/ R6 {% K( ]. J
•        password [password]: This command sets the password.
. u. L: a& S  f: u% C•        enable password [password]: This command sets the password to enter privileged mode.) K3 g+ q9 l! P6 E" a1 T: v) _
•        enable secret [password]: This command sets encrypted password.
$ L: G! p0 r* k; X1 I•        configure terminal: This command enters configuration mode.1 K, Y# U6 g! o! d, m- p4 q
•        show interfaces fastethernet 0/x: This command displays interface status.3 N  Y8 [5 x7 L, _& C. m/ @
•        show interfaces: This command displays information of all interfaces.
% c+ _/ |' n: _; R•        show interfaces vlan 1: This command displays the ip address configuration.( j& Q! O: f$ u7 f
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
+ B2 l% S9 r# D! \+ X4 Z& q$ ]•        show-mac-address-table: This command displays the MAC address table.
8 N, S+ g: O; G6 V: X•        show version: This command displays the switch’s hardware and software status./ s5 q5 g( r& @! o2 i* k  L9 X, u
•        show flash: This command displays the files and directories in the flash.
' w. Y# d4 p# I9 u•        show history: This command displays the last ten commands.
, d, T) I- K, S2 V# N•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.4 d+ n, J3 x. T; I4 K
•        show log: This command displays logging messages of the switch.6 E1 J0 K) A: i
•        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

返回列表