返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
( U& m) f8 x! {) t* H) a•        ip default-gateway [address]: This is a global command and set default gateway.
( _6 Y8 n: G4 |* n0 C4 o•        ip address [address][subnet mask]: This command configures the interface and sets the ip address./ ]# v- S  q( M8 j
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.( `& j6 r7 F8 W) u4 H3 M7 p4 {
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
" l1 v. X; |' ?& `# l0 u•        duplex {auto/full/half}: This command sets duplex mode for the interface.% d& d. D+ m: j& a5 t
•        hostname [name]: This command assigns a host name to the switch.2 v+ e# y/ P+ ]
•        line vty 0 15: This command enters vty (telnet) configuration mode.. F; P: }, A$ p# Q  Y. Y. V, z
•        line con 0: This command enters console configuration mode.
; ]. f( R9 Z$ i& t7 l•        login: This command tells the switch to ask for a password.' e$ O' H: ]" W# q. J8 S# x
•        password [password]: This command sets the password.9 D" M6 {* l2 j7 ^
•        enable password [password]: This command sets the password to enter privileged mode.
" w  J5 @' X$ {7 Q. L•        enable secret [password]: This command sets encrypted password.
) [0 t, y7 Y! O•        configure terminal: This command enters configuration mode.5 I9 I5 x' b! G6 }; i
•        show interfaces fastethernet 0/x: This command displays interface status.+ d. w$ \7 [# _& `4 N
•        show interfaces: This command displays information of all interfaces." o& D1 ^; m% z$ g' P) Q7 m2 I) M
•        show interfaces vlan 1: This command displays the ip address configuration.
# `3 \8 \) y) q5 q•        show [running/startup]-config: This command displays RAM/NVRAM settings.3 E1 F7 q* J8 E$ d: V# V- J( R
•        show-mac-address-table: This command displays the MAC address table.
) u5 J3 y$ |3 w9 U- K" q8 h4 ]•        show version: This command displays the switch’s hardware and software status.
% y, R$ L9 K2 j4 ~, f' n2 A•        show flash: This command displays the files and directories in the flash." M5 R' z; k6 v6 o4 n1 E9 D
•        show history: This command displays the last ten commands.! I! b' @. H  e" y
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
- R7 T2 F' X" u. Q•        show log: This command displays logging messages of the switch.
6 f6 @8 p/ W# Y5 S: r' M•        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

返回列表