返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).8 B9 C' E9 \3 D$ _) @" _, S9 x! V5 h
•        ip default-gateway [address]: This is a global command and set default gateway.* a0 k9 {4 n" F  p
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.+ _5 m% W2 @2 f+ m, c# q  e% Z5 K
•        interface fast Ethernet 0/x: This command puts users into user configuration mode./ U& x( K4 I8 s( {
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
. b7 x) x9 m- `/ C# y- o1 _•        duplex {auto/full/half}: This command sets duplex mode for the interface.
. C# l4 A2 L* m$ W- ^) u# m2 e•        hostname [name]: This command assigns a host name to the switch.* l, ]# \. \1 v
•        line vty 0 15: This command enters vty (telnet) configuration mode.- N( w& o$ Q- C$ z9 _. M
•        line con 0: This command enters console configuration mode.+ x4 S: q2 o& x  r2 Z- F% j
•        login: This command tells the switch to ask for a password.$ W" \6 V- R3 z* F7 f; q' J
•        password [password]: This command sets the password.1 @3 K6 q  P: D
•        enable password [password]: This command sets the password to enter privileged mode.# e( P; w3 q: z4 _' h/ ?
•        enable secret [password]: This command sets encrypted password.9 |% N. l- e, e+ |
•        configure terminal: This command enters configuration mode.
7 F$ \9 r: W* |" c•        show interfaces fastethernet 0/x: This command displays interface status.
2 d6 y% X9 m2 H" w0 n•        show interfaces: This command displays information of all interfaces./ D+ Q; Q. I( O; F0 U' x" Z; @
•        show interfaces vlan 1: This command displays the ip address configuration.
0 H" ]1 m2 P6 o1 @9 G$ C•        show [running/startup]-config: This command displays RAM/NVRAM settings.. i. H! _% I& k0 c! J6 \
•        show-mac-address-table: This command displays the MAC address table.
* k, t8 _) N8 R) I: a& ^; D•        show version: This command displays the switch’s hardware and software status.
2 e2 x: h. D1 }; L% p4 K% v( R•        show flash: This command displays the files and directories in the flash.
' E: G( r6 k0 n3 m4 V% Z" Q•        show history: This command displays the last ten commands.
; I1 `4 \" ~7 _1 ^•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
. F, f' B/ s" V! e. Q•        show log: This command displays logging messages of the switch.1 F. o, q+ j, {+ ^8 w1 [
•        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

返回列表