返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
2 Q2 K! l. f3 Q4 C- N% @+ I•        ip default-gateway [address]: This is a global command and set default gateway.
/ `6 V- ~- }1 Y4 ^•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
% K& H, g# u6 e3 @' o- ]4 @) P•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
/ o0 x8 ?. r! D9 L% W5 a5 Q•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.8 ?0 i0 q% ?6 G/ U* _/ }
•        duplex {auto/full/half}: This command sets duplex mode for the interface.$ t! N7 s" q7 {% Z" z3 o
•        hostname [name]: This command assigns a host name to the switch.
0 w3 A) A/ X: Q5 L" l•        line vty 0 15: This command enters vty (telnet) configuration mode.2 }1 b: J6 O2 X$ K( G9 j3 x  R4 C
•        line con 0: This command enters console configuration mode." W+ C0 R& b3 ]& N) c, {. I
•        login: This command tells the switch to ask for a password.; C9 F- Q1 \) w# C
•        password [password]: This command sets the password." k% v$ [- @, ?8 z/ `
•        enable password [password]: This command sets the password to enter privileged mode.
; C3 G4 u$ O1 x; a. L•        enable secret [password]: This command sets encrypted password.& s. B$ W) K- u$ Z
•        configure terminal: This command enters configuration mode.
: y' a& _0 X4 h8 o. v( P- Z# X•        show interfaces fastethernet 0/x: This command displays interface status.
& V' ~) @9 r& C) g% Z# T•        show interfaces: This command displays information of all interfaces.
( a% f" D9 n1 ?' F3 d•        show interfaces vlan 1: This command displays the ip address configuration.$ ]4 O0 y4 M. K! s
•        show [running/startup]-config: This command displays RAM/NVRAM settings.+ C& c% B$ J& `  f
•        show-mac-address-table: This command displays the MAC address table.- ?; ~9 n: Q4 j; @; M$ Z6 I
•        show version: This command displays the switch’s hardware and software status.
! e) U. y, \! _1 [% J! N•        show flash: This command displays the files and directories in the flash.
- x0 x' [# q) W( W5 P" t•        show history: This command displays the last ten commands.
6 L# V$ [* V. p. H! t•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
3 \' u& q( `7 A: @* R•        show log: This command displays logging messages of the switch., n6 C7 z2 c2 W5 x
•        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

返回列表