返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
) ^5 }; O( \+ h& n& s$ p1 T•        ip default-gateway [address]: This is a global command and set default gateway.7 }6 W5 X: E) M) V, U/ c4 H- i* r
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.- {! R9 y; e# ~  j3 M6 N
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
6 u. ^9 Y4 m8 f9 `3 G7 t•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed." f1 Q/ o- w" Y( ^/ ~
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
$ c5 M. b& m* n5 P•        hostname [name]: This command assigns a host name to the switch.
: |% q! b# t9 d( c' _# q' g•        line vty 0 15: This command enters vty (telnet) configuration mode.
2 O% w+ u( D- W•        line con 0: This command enters console configuration mode.
' o3 A/ ?7 N0 d9 C* r' D8 o; p•        login: This command tells the switch to ask for a password.7 z9 Y$ q* ?! L! [; o$ y' ~
•        password [password]: This command sets the password.
! I* l2 u& I' j" u. F: D( L+ F•        enable password [password]: This command sets the password to enter privileged mode.
  P3 u% U) }. Q6 U/ v•        enable secret [password]: This command sets encrypted password.
) a1 o: }3 ~/ ]•        configure terminal: This command enters configuration mode.
3 L) A- ^# S- y7 s6 ?•        show interfaces fastethernet 0/x: This command displays interface status." ~& D1 p5 e: X! Y% p
•        show interfaces: This command displays information of all interfaces.' N1 M$ |9 [! F* Y( ^4 p1 k5 Z
•        show interfaces vlan 1: This command displays the ip address configuration.
$ y# C5 `) p! c+ K' E9 ~•        show [running/startup]-config: This command displays RAM/NVRAM settings.
5 i3 n5 `. U$ F; Q; Q•        show-mac-address-table: This command displays the MAC address table.4 M% @4 ~0 E! r. P2 O% l8 P+ H
•        show version: This command displays the switch’s hardware and software status.: R0 r6 E2 w& q, @, ?" w# l: b
•        show flash: This command displays the files and directories in the flash.. N+ Q% Q8 z/ L+ Q2 \4 B2 I
•        show history: This command displays the last ten commands.
8 l6 l& V: M4 W8 E5 m0 S•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
+ B( v3 F( P  g4 m1 w7 s; N6 `•        show log: This command displays logging messages of the switch.( S& j  r; E4 i5 I: O# ]3 c
•        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

返回列表