返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).5 t4 `8 Y+ l% U
•        ip default-gateway [address]: This is a global command and set default gateway.7 f3 r4 y1 a7 J& |0 V
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.1 A/ l3 b8 Z# K; h2 r; ~
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.' _9 A4 r" _* Q1 f
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed., |4 i1 E' [$ N/ L1 a
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
' d) s0 T  N( ?: ^•        hostname [name]: This command assigns a host name to the switch.
( C( w9 \" L4 Q# y•        line vty 0 15: This command enters vty (telnet) configuration mode.  H$ d* M0 g% U' b' |* m
•        line con 0: This command enters console configuration mode.. x% |5 b) r, i% @
•        login: This command tells the switch to ask for a password.. ?4 w; [: e8 i8 i8 f- w
•        password [password]: This command sets the password.6 U( c3 i$ t0 _( d! |+ ~
•        enable password [password]: This command sets the password to enter privileged mode.
3 v) f7 E4 {3 c" F) M•        enable secret [password]: This command sets encrypted password.& o0 s1 b0 b: g, X' h% N# j) Y# I
•        configure terminal: This command enters configuration mode.8 Y! _! M* p1 Q9 i! }1 F
•        show interfaces fastethernet 0/x: This command displays interface status.7 d3 }% |  E; }3 h4 C* ?4 b
•        show interfaces: This command displays information of all interfaces.
& Y4 M; o& \, @0 z4 a& Y•        show interfaces vlan 1: This command displays the ip address configuration.
4 i: y+ Q0 p$ K•        show [running/startup]-config: This command displays RAM/NVRAM settings.% ^& L1 p/ S+ b7 C
•        show-mac-address-table: This command displays the MAC address table.
- m. i5 y$ r7 m* C* R" ]( L•        show version: This command displays the switch’s hardware and software status.
# m' n2 k* J( |4 v; V% ^/ G•        show flash: This command displays the files and directories in the flash.
( @4 p" w& y# o6 Y: U5 z5 p•        show history: This command displays the last ten commands.* E8 e4 Q7 q) r
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
' o3 v0 T) [6 Y7 ~9 y; E•        show log: This command displays logging messages of the switch.
  I0 w% j* h, o% P( K/ Y•        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

返回列表