返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
6 f7 O4 g; o0 X; y! j- l•        ip default-gateway [address]: This is a global command and set default gateway.
  N6 O7 L- M1 @! r9 X* F•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
# a- i: L# e- }+ ~+ \•        interface fast Ethernet 0/x: This command puts users into user configuration mode.) p! K% x+ o( e5 b. u
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
! q# Y$ h& S2 V! I& j•        duplex {auto/full/half}: This command sets duplex mode for the interface.
- q% Q) X* Q4 F0 t& o+ w$ T•        hostname [name]: This command assigns a host name to the switch.
# f5 y% t: H: S1 u0 G•        line vty 0 15: This command enters vty (telnet) configuration mode.
$ b7 z) q/ W5 W•        line con 0: This command enters console configuration mode.- v8 g# p6 T7 T- b/ u8 C6 n
•        login: This command tells the switch to ask for a password.6 R, h, `4 d$ @+ I/ [6 m- ^. o
•        password [password]: This command sets the password.. N8 _; S; }2 }; u
•        enable password [password]: This command sets the password to enter privileged mode.( C# L. E8 m7 z. {3 T3 Z
•        enable secret [password]: This command sets encrypted password.
4 H% S& M5 ~* Y% L•        configure terminal: This command enters configuration mode.0 N( ^1 h- B. K4 J( d
•        show interfaces fastethernet 0/x: This command displays interface status.6 N  b9 d3 w4 z5 M  ~8 _3 C1 h
•        show interfaces: This command displays information of all interfaces.5 D  I3 l, M8 ?1 t( R3 h6 j% N
•        show interfaces vlan 1: This command displays the ip address configuration.
% p* D+ K: N+ K3 x: l•        show [running/startup]-config: This command displays RAM/NVRAM settings.& V0 P! U% X! U* p; h" L% @- O
•        show-mac-address-table: This command displays the MAC address table.
) m9 P& r5 N# c3 u4 ]7 |2 @, U•        show version: This command displays the switch’s hardware and software status.
- ~9 @3 L, L9 m# r# A0 }4 v•        show flash: This command displays the files and directories in the flash.- P0 r" M! u  R! f$ v( B
•        show history: This command displays the last ten commands.
) @9 }0 r6 `4 k" p( y; D•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.4 ~: V; l% r2 L- \, V
•        show log: This command displays logging messages of the switch.% l" G: P1 E, n# t9 C1 C" K0 Z
•        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

返回列表