返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
+ e3 B; n, Y: w•        ip default-gateway [address]: This is a global command and set default gateway.
4 Y2 M+ s0 l; V2 H) x- T7 J9 ^: P0 R•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.% R! |* Y$ s! s! @
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
* r0 n# E! r9 Z; U. x8 U7 t•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.# d& A7 C* c$ p; |' ]8 V0 O' D2 t$ F
•        duplex {auto/full/half}: This command sets duplex mode for the interface.  ~  Y3 T  K4 i7 h; f4 J
•        hostname [name]: This command assigns a host name to the switch.3 Z7 b1 S( }+ @
•        line vty 0 15: This command enters vty (telnet) configuration mode.6 T  q5 x- r, J! P
•        line con 0: This command enters console configuration mode.
# x& h. J2 c  o3 D•        login: This command tells the switch to ask for a password.. c' \3 T, B; N* A
•        password [password]: This command sets the password.6 s* P- d* `/ y8 G2 |1 l+ r- z6 q( r
•        enable password [password]: This command sets the password to enter privileged mode.1 M( @. c( X( K9 g; U: t, Z6 R
•        enable secret [password]: This command sets encrypted password./ c" j) }# o5 Q5 y3 O" b
•        configure terminal: This command enters configuration mode.* [1 N; c5 a. \  G6 z6 f/ j
•        show interfaces fastethernet 0/x: This command displays interface status.: N- ^( n* l+ d
•        show interfaces: This command displays information of all interfaces.
* T. }! R8 T9 D% b+ s7 i) j•        show interfaces vlan 1: This command displays the ip address configuration.( |+ v' N- [- k* v; `3 D3 i# [
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
, V) }/ Q5 i& M  f1 V+ k7 ?/ K•        show-mac-address-table: This command displays the MAC address table.
. D' Y) K1 I) T) J3 m7 s4 H•        show version: This command displays the switch’s hardware and software status.
0 K" O( i& b# u& T8 ~: G; o•        show flash: This command displays the files and directories in the flash.
% F, v- o+ r; r' f  [•        show history: This command displays the last ten commands./ m- S& [; t4 g& k
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
% q1 ^6 M' q/ m0 c6 \% n. Q•        show log: This command displays logging messages of the switch.
* i$ n% y, O* {•        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

返回列表