返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
% ^; h: h. p1 [7 P" \6 L•        ip default-gateway [address]: This is a global command and set default gateway.9 Y: `: _! ~. q$ O# h
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.; {& D/ B0 A) p' \) o$ W
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.8 P% M: c0 }" g* }4 D3 V- ?
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.- g% r4 r3 `% X+ B& b; G: }0 W
•        duplex {auto/full/half}: This command sets duplex mode for the interface.5 L1 o% c! ^! X, T1 \
•        hostname [name]: This command assigns a host name to the switch.) S( c0 K7 p$ J& ~7 r
•        line vty 0 15: This command enters vty (telnet) configuration mode.
; z- V- q, L7 r; o$ `/ ]8 {5 a•        line con 0: This command enters console configuration mode.
1 G: p" \* S$ {  w6 W4 Y: q$ i•        login: This command tells the switch to ask for a password.
0 [+ C2 [$ Y( a•        password [password]: This command sets the password.
0 a% q7 T4 {' `8 P% S" I: {•        enable password [password]: This command sets the password to enter privileged mode.
3 u/ I) I' @+ T1 ]8 m4 K8 M•        enable secret [password]: This command sets encrypted password.
# c3 r! D7 ^! I' s2 x" w•        configure terminal: This command enters configuration mode.
2 b, Y6 H- u0 \+ `$ U; w7 \•        show interfaces fastethernet 0/x: This command displays interface status.
7 o/ V) w% K/ n•        show interfaces: This command displays information of all interfaces., z  }, U' d. Q. @4 {
•        show interfaces vlan 1: This command displays the ip address configuration.
) v! F( \# a8 @•        show [running/startup]-config: This command displays RAM/NVRAM settings.
& H. Z! P" t& L& j4 v$ u: v4 ]! U•        show-mac-address-table: This command displays the MAC address table.
, R0 J# c0 x% n+ b1 K! l•        show version: This command displays the switch’s hardware and software status.! O* T: r" e: b
•        show flash: This command displays the files and directories in the flash.$ Z$ H' c+ D' G0 \5 W, l
•        show history: This command displays the last ten commands.
: M/ h, Q* U0 o% f•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
9 u) S. R% a: j- s! A•        show log: This command displays logging messages of the switch.% e2 [8 l5 M% Y3 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. 資訊坊科技有限公司  
無線工程施工、方案設計、無線產品、天饋材料、終端設備綜合供應商
Tel: 852-27491011  Fax: 852-81483532

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

TOP

返回列表