返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
) B2 D. J* }, Y9 S/ v; B& T) D•        ip default-gateway [address]: This is a global command and set default gateway.$ z7 N1 ?- U+ M5 c2 E( I5 J
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.9 y1 k! _4 M0 D6 _4 t; B
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.9 w4 x& `3 o9 Y3 }5 a
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.* k% H+ A- R. Q( f; n. e
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
2 w: @3 [/ D4 u5 s•        hostname [name]: This command assigns a host name to the switch.
6 Q1 h, U" a) V+ p•        line vty 0 15: This command enters vty (telnet) configuration mode.
& y0 g0 z! ^/ }) k$ b* ]•        line con 0: This command enters console configuration mode.
2 |! S8 |3 l0 N/ Z& F( y2 r% \•        login: This command tells the switch to ask for a password.
& O7 o0 w0 X' M3 ]+ N: s6 Q" E5 D•        password [password]: This command sets the password.# H* {$ ?$ j- P. r7 @3 M% g+ X2 {2 j
•        enable password [password]: This command sets the password to enter privileged mode.$ P1 v2 D/ I4 e6 J% v
•        enable secret [password]: This command sets encrypted password.* j& N( E: _  J6 F
•        configure terminal: This command enters configuration mode.5 a+ j9 B7 ~# c+ u4 l& P% c5 w( i
•        show interfaces fastethernet 0/x: This command displays interface status.+ K+ W* g; N, _& K  |- _4 c7 a
•        show interfaces: This command displays information of all interfaces.0 {5 n: v% E  ?6 L9 g9 v
•        show interfaces vlan 1: This command displays the ip address configuration.
) m1 `4 I# T3 H) K) I, Z6 D7 P8 r•        show [running/startup]-config: This command displays RAM/NVRAM settings.
& P7 H* m, h9 r1 o•        show-mac-address-table: This command displays the MAC address table.
* V+ r9 H5 l2 J8 I! u# w•        show version: This command displays the switch’s hardware and software status.5 t/ j8 m* k2 X
•        show flash: This command displays the files and directories in the flash.
& B4 g% }; M  T•        show history: This command displays the last ten commands.6 k) E( B, |4 R7 R6 V6 ~
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.6 f2 s' G$ @. }* W) ?
•        show log: This command displays logging messages of the switch.8 j0 O3 R' R) w; b$ e
•        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

返回列表