返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
) Z9 D' `& [* W' O) F•        ip default-gateway [address]: This is a global command and set default gateway.1 N( @$ G! V: B& _! U+ F1 Z5 j
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.& D* k% k$ o* @1 w8 R- V
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
- S% R3 V/ [, h•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
" j/ t  p( @: g; ~•        duplex {auto/full/half}: This command sets duplex mode for the interface.- d8 l) Y2 i: s* Q
•        hostname [name]: This command assigns a host name to the switch.
) ]8 k5 Y: a7 M•        line vty 0 15: This command enters vty (telnet) configuration mode.
( m5 n0 R- {, f! e' x•        line con 0: This command enters console configuration mode.
! ~! b9 a% ~! N8 A; B•        login: This command tells the switch to ask for a password.
1 v& p+ d* C* D& Q, A" @•        password [password]: This command sets the password.  [6 o3 a2 B+ D' L  {  p& O
•        enable password [password]: This command sets the password to enter privileged mode.  \  x7 M9 y' F9 O8 I$ T9 _
•        enable secret [password]: This command sets encrypted password.) ^/ f* n/ Y3 c  l. A1 h
•        configure terminal: This command enters configuration mode.
, y8 `) `7 D- K7 b' u: F% W•        show interfaces fastethernet 0/x: This command displays interface status.# X/ a9 u6 a& z6 r6 M9 C% g; m7 M
•        show interfaces: This command displays information of all interfaces.
. e) x" Z9 F0 y/ b/ O7 ^•        show interfaces vlan 1: This command displays the ip address configuration.
5 H' i7 y$ x- [, |( e+ a; x•        show [running/startup]-config: This command displays RAM/NVRAM settings.
8 c" P: E& K4 [" J% X# d•        show-mac-address-table: This command displays the MAC address table.
' m2 s1 ~$ `- K1 f+ o  h•        show version: This command displays the switch’s hardware and software status.
# `( ]1 H: b5 j' X•        show flash: This command displays the files and directories in the flash.  E& T1 h3 B" K9 }* m% b2 Y
•        show history: This command displays the last ten commands.
( }& S$ \5 I( I•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch./ W7 ], X* y1 l  x2 c$ f4 \
•        show log: This command displays logging messages of the switch.
2 B* _9 ?4 `/ m2 @7 R•        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

返回列表