返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
1 }/ E0 e0 M" a$ s3 K0 R•        ip default-gateway [address]: This is a global command and set default gateway.) r- Z1 @: G, d: f) R
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.# R8 U: t. |. X: X" ?3 V; ]! z
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.& o6 x* R# F( B8 ?. h9 K; Z
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
( K: E: m5 V( d* V/ e•        duplex {auto/full/half}: This command sets duplex mode for the interface.
7 L* \: e% c( I•        hostname [name]: This command assigns a host name to the switch.
: K" o) `" a% |2 Y! }- V•        line vty 0 15: This command enters vty (telnet) configuration mode.- @: }; J/ |0 m* E# i
•        line con 0: This command enters console configuration mode.
0 q7 r0 y$ ]( J6 s•        login: This command tells the switch to ask for a password.
/ d/ u5 M& d/ G, I. H% r( H* h•        password [password]: This command sets the password.
2 I* G- ]. U7 I" |$ a3 Z•        enable password [password]: This command sets the password to enter privileged mode.5 z- w& z) }/ z# Y3 \) W7 j5 b
•        enable secret [password]: This command sets encrypted password.6 |* w6 U# O- Z
•        configure terminal: This command enters configuration mode.
2 ?* g2 A" [$ v4 `$ k•        show interfaces fastethernet 0/x: This command displays interface status.
' D* E  l+ O1 V( M; D/ B: F3 |- G•        show interfaces: This command displays information of all interfaces.
, \  [. J- c+ k  _3 ^•        show interfaces vlan 1: This command displays the ip address configuration.
# B; }* m8 U2 i& H& U•        show [running/startup]-config: This command displays RAM/NVRAM settings.# m, }! G3 D0 S/ M3 @
•        show-mac-address-table: This command displays the MAC address table.
1 e& O5 m) }8 }•        show version: This command displays the switch’s hardware and software status.% I% N& l0 v' t7 q) h% h& a  X
•        show flash: This command displays the files and directories in the flash.1 b- D- `% _/ O8 y
•        show history: This command displays the last ten commands.2 r! a8 a2 x9 ]8 f6 c9 N3 z  ]: _2 g
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.2 `: e$ y9 C% S# S
•        show log: This command displays logging messages of the switch.
5 Q. m7 }/ J$ I$ t•        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

返回列表