返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).. Y5 W! W: V2 t; X* T$ _
•        ip default-gateway [address]: This is a global command and set default gateway.
% ]9 i- y) v2 z2 i& Z•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
, z3 ]1 {* V1 i2 o. i•        interface fast Ethernet 0/x: This command puts users into user configuration mode.: T' N4 G$ X$ w/ V
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
* b- j7 R% ~) M% ^) ]0 D9 }•        duplex {auto/full/half}: This command sets duplex mode for the interface.
$ m' k! T3 G1 M+ u6 P% @* u•        hostname [name]: This command assigns a host name to the switch.8 r  U+ b/ G( t4 `; ~
•        line vty 0 15: This command enters vty (telnet) configuration mode.5 w+ Q* X$ s8 [& {
•        line con 0: This command enters console configuration mode., r1 }  B7 T: s  ]
•        login: This command tells the switch to ask for a password.
9 G9 |5 q9 N% ~3 q8 F# |4 E•        password [password]: This command sets the password.
$ a3 C( v' T6 v8 J, I' S+ V" M•        enable password [password]: This command sets the password to enter privileged mode.0 R2 }" H3 w) Q
•        enable secret [password]: This command sets encrypted password.
+ ?3 c2 B1 T* S* U' h- X1 g$ I•        configure terminal: This command enters configuration mode.
( }: |$ {* C" @5 S•        show interfaces fastethernet 0/x: This command displays interface status.
2 u' i3 j# ~- U6 M•        show interfaces: This command displays information of all interfaces.
- p  b" s8 M! |; T" H•        show interfaces vlan 1: This command displays the ip address configuration.$ [* w* h" k8 p+ c1 p* d- h
•        show [running/startup]-config: This command displays RAM/NVRAM settings.( u' ~% Y( n5 D: u  u
•        show-mac-address-table: This command displays the MAC address table.
# p8 [* D: _" b•        show version: This command displays the switch’s hardware and software status.1 ~" f2 t, r, z2 `
•        show flash: This command displays the files and directories in the flash." s0 J! J' V6 E' {5 b) k
•        show history: This command displays the last ten commands.6 \0 g; D; j: _& v  M
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
7 I4 ?4 ?0 E& T6 h+ c•        show log: This command displays logging messages of the switch.) j3 o: N. h* p8 M7 R$ r# _
•        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

返回列表