返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
* n/ W" G0 @# k  x0 {2 d* z' ^' N0 Y•        ip default-gateway [address]: This is a global command and set default gateway.
2 ]; K* k7 h! ~3 M•        ip address [address][subnet mask]: This command configures the interface and sets the ip address./ B9 F/ j' B& w$ e% n( r) x$ ?1 s
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.; w+ P6 D4 d7 ?$ l% r2 H% S5 I
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
- r2 e3 g2 E3 ~. C5 b% b•        duplex {auto/full/half}: This command sets duplex mode for the interface.5 b$ ?, i: o5 M
•        hostname [name]: This command assigns a host name to the switch.9 A5 \2 `2 y; f5 E2 H* {
•        line vty 0 15: This command enters vty (telnet) configuration mode.
: `3 x, t% q" ~% `, M- T; ]•        line con 0: This command enters console configuration mode.2 E. U- j$ n6 [$ }2 p% k# a
•        login: This command tells the switch to ask for a password.% w* l* @5 ?: t' M& T! x/ M7 Q
•        password [password]: This command sets the password.5 G$ F+ C0 c; d! Z  ?/ l, s
•        enable password [password]: This command sets the password to enter privileged mode.0 T, I9 I$ T/ g1 f) u# A
•        enable secret [password]: This command sets encrypted password.; h( I, j' P1 \8 H/ q
•        configure terminal: This command enters configuration mode.
( f' J  G! ?4 j1 H4 C% S•        show interfaces fastethernet 0/x: This command displays interface status.. [: b$ b: E- L6 z' p
•        show interfaces: This command displays information of all interfaces./ T& d8 N& Y% B+ z1 v
•        show interfaces vlan 1: This command displays the ip address configuration.8 m' y" y6 H  I- [
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
3 }& h  g/ `" r- Y; L: M; f7 E' ]•        show-mac-address-table: This command displays the MAC address table.& J9 y$ b, w0 _# a# j: C- e
•        show version: This command displays the switch’s hardware and software status.$ q8 `4 ?8 H/ b3 V' v" |, D
•        show flash: This command displays the files and directories in the flash.% `, B; S8 J+ O4 H
•        show history: This command displays the last ten commands.6 {& W0 P4 k0 w( T" O4 T: j3 V
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch./ a! s! H3 }% ~2 n/ O
•        show log: This command displays logging messages of the switch.
& Z1 U& o5 X1 e8 ^8 g•        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

返回列表