返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).  M; v, B) k8 m5 {) g3 M! X" Z4 R
•        ip default-gateway [address]: This is a global command and set default gateway.
7 \4 {% t% ?3 W* e% B$ }•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.# M9 V  H4 w! I1 c: S
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.$ ?* D, i. l; b+ N0 _
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
5 z- D9 W3 T8 ~% }•        duplex {auto/full/half}: This command sets duplex mode for the interface.) d0 D6 M( g2 s. X5 D
•        hostname [name]: This command assigns a host name to the switch." w9 J0 o- b$ O4 {* ?4 U5 I9 C9 Q# k
•        line vty 0 15: This command enters vty (telnet) configuration mode.
# C) p7 s2 N' X3 w+ _. o•        line con 0: This command enters console configuration mode./ x) D8 t/ K5 G5 g7 W7 k0 Q" y
•        login: This command tells the switch to ask for a password." Z' ~4 L8 J' l5 P% _
•        password [password]: This command sets the password.+ M* z* u% K' }; I; \/ f
•        enable password [password]: This command sets the password to enter privileged mode." s3 ^3 M5 D; Y' l: o1 j
•        enable secret [password]: This command sets encrypted password.2 |) |8 t7 C: K+ I2 }
•        configure terminal: This command enters configuration mode.
+ z/ d9 w+ B& B1 B# d4 C•        show interfaces fastethernet 0/x: This command displays interface status.
/ E4 j# G' c0 i1 K. z0 z•        show interfaces: This command displays information of all interfaces.
0 h) J% E! l' j* W" w, Q' u•        show interfaces vlan 1: This command displays the ip address configuration.
5 @% G$ p, u# h•        show [running/startup]-config: This command displays RAM/NVRAM settings.
0 F/ x" ?3 {' R6 L) g  r•        show-mac-address-table: This command displays the MAC address table.' k( @: V, X$ h. d  \
•        show version: This command displays the switch’s hardware and software status./ Q) O6 h$ x7 v1 K
•        show flash: This command displays the files and directories in the flash.9 K4 i0 w* e( z# S
•        show history: This command displays the last ten commands., J+ [* D$ k# a: }4 k
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
5 O3 N& |2 U" b! b•        show log: This command displays logging messages of the switch.
& ]# V2 S- C" j8 W3 Q# D3 f, S- w( }•        copy run start / write mem: This command saves configurations from RAM to NVRAM.
Bill Tang     MSN:billtang@openplatform.com.hk
Openplatform Technology Co.,Ltd. 資訊坊科技有限公司  
無線工程施工、方案設計、無線產品、天饋材料、終端設備綜合供應商
www.openplatform.com.hk  Tel: 852-27491011  Fax: 852-81483532

中國無線技術論壇 http://www.how2do.com.Hk

现在我这边都是在用h3c的,命令差别多,思科的还就都没用了,不过现在还有这个型号设备在网。
来自生活现象

TOP

返回列表