返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
% N% N- B6 {" w0 Z•        ip default-gateway [address]: This is a global command and set default gateway.
& F/ ~6 e4 `0 z4 O1 t$ d, v•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.% y. g; P. ~) V% P! s
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.! r8 T0 y) |' n
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.  p: r6 o" H6 E% l- J
•        duplex {auto/full/half}: This command sets duplex mode for the interface.7 \0 P- K! t* \2 _- b" z- Q. \
•        hostname [name]: This command assigns a host name to the switch.
9 f# e+ t6 Y( a5 B& [5 X+ o+ E•        line vty 0 15: This command enters vty (telnet) configuration mode.
" f: U) k. {& L  }. L* Y& Y•        line con 0: This command enters console configuration mode.! @2 d# H9 [  ^3 [8 a% \! C+ z
•        login: This command tells the switch to ask for a password.8 h/ s- O. X3 z: M+ n
•        password [password]: This command sets the password.
4 e/ K' S( l6 q•        enable password [password]: This command sets the password to enter privileged mode.* I1 x0 U# _1 d) h
•        enable secret [password]: This command sets encrypted password.
+ I8 [% D5 _7 r0 }•        configure terminal: This command enters configuration mode.
9 w+ Y' [6 m/ u9 S' ], `/ g& P•        show interfaces fastethernet 0/x: This command displays interface status., @' j5 z) u+ U% U9 R. j6 b2 R
•        show interfaces: This command displays information of all interfaces.5 A1 C# Y) T4 Z3 n& d0 t: u
•        show interfaces vlan 1: This command displays the ip address configuration.
2 C3 U7 T3 ?- ?, ?•        show [running/startup]-config: This command displays RAM/NVRAM settings.
& S4 `' F% N9 U( p•        show-mac-address-table: This command displays the MAC address table.  `( Q2 @! W2 {1 W
•        show version: This command displays the switch’s hardware and software status.
, ~9 I8 b# c, H4 Z- h+ ^& \) n•        show flash: This command displays the files and directories in the flash.9 E: x7 M& I% O* ]. d  G. ~
•        show history: This command displays the last ten commands.
0 p  \2 l+ N. j" e  Q5 ]# m, g•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch., S7 i+ G) d! r+ U' G
•        show log: This command displays logging messages of the switch.
/ R2 i! t0 w4 B( b1 }; @•        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

返回列表