返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
. b5 E. H( O" _•        ip default-gateway [address]: This is a global command and set default gateway.
! _% M* V: @! B( n4 t) h- S6 n* g% L•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.' [7 p& n# u6 p  @. Y" Q1 ^
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
9 c4 j# a* M$ j: w" _•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.: e* s& l0 J: K+ J
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
6 X' z. b$ S' H2 M, f. ?•        hostname [name]: This command assigns a host name to the switch.
  w$ H; k0 f6 L0 n•        line vty 0 15: This command enters vty (telnet) configuration mode.
% s- D$ G  @+ c- @•        line con 0: This command enters console configuration mode.0 n6 ]  q* _* W: c4 T6 f
•        login: This command tells the switch to ask for a password.
8 [: t4 b, j/ z9 \•        password [password]: This command sets the password.
$ g2 Y! O: w6 a) W  V9 K: J•        enable password [password]: This command sets the password to enter privileged mode.
' Y( r  o  y/ Q% F8 X* \•        enable secret [password]: This command sets encrypted password.' ]# P) `% t) g& U9 O
•        configure terminal: This command enters configuration mode.* V+ u# k8 D. J# H1 Y  j* h4 K) S/ t
•        show interfaces fastethernet 0/x: This command displays interface status.4 T. K3 L: K% @
•        show interfaces: This command displays information of all interfaces.0 ?. v. O( H4 \/ |# q- D
•        show interfaces vlan 1: This command displays the ip address configuration.
* w+ s+ [2 s; N+ Y* @: N•        show [running/startup]-config: This command displays RAM/NVRAM settings.2 a) c# r  g8 b' l' e
•        show-mac-address-table: This command displays the MAC address table.* P. x5 Q4 M% n+ T% m5 C  z* X. a( Z
•        show version: This command displays the switch’s hardware and software status.
" x8 R& w+ }" k4 |+ W+ M6 e1 f0 _•        show flash: This command displays the files and directories in the flash.) r# B5 \3 U( J7 A
•        show history: This command displays the last ten commands.. k& g) D  K5 \, V7 H+ }
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.) ?; l5 c# K5 P6 C+ F, S
•        show log: This command displays logging messages of the switch.% K# z  }! Y1 Z6 ^( U1 M$ B. 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

返回列表