返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).7 ]8 o* d" {  @) M
•        ip default-gateway [address]: This is a global command and set default gateway.
5 g) T* ~3 ]* j, O$ d! V•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.4 |, F! @, i- Z% C% n+ Y
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
' ~9 `* E" k9 C3 g* u•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.' l) C) R0 j( Z& G% l
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
, b5 j/ b1 i: `/ O•        hostname [name]: This command assigns a host name to the switch.! I$ ]) ~% |6 X& i, L/ Z( L
•        line vty 0 15: This command enters vty (telnet) configuration mode.9 M' \  f' _4 S0 @  [
•        line con 0: This command enters console configuration mode.
- V8 K, r) }  {+ F- G# x& S8 ?$ f•        login: This command tells the switch to ask for a password.- L0 \( R" x/ K6 K6 e& L
•        password [password]: This command sets the password.- ?- e& W/ t3 {/ i. T
•        enable password [password]: This command sets the password to enter privileged mode./ _0 _. X# G  s/ u& {$ A9 v9 x
•        enable secret [password]: This command sets encrypted password.$ w" e7 Y- ^$ k9 D
•        configure terminal: This command enters configuration mode.
# T5 E7 R, a# A8 }•        show interfaces fastethernet 0/x: This command displays interface status.
+ k5 _5 l3 S- u3 @•        show interfaces: This command displays information of all interfaces.
% N  p9 ?3 ^) H•        show interfaces vlan 1: This command displays the ip address configuration." A8 X1 D' R! L5 P
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
& ~( X% X& L% q1 @•        show-mac-address-table: This command displays the MAC address table.
. C% G! s; Q4 d% i; W•        show version: This command displays the switch’s hardware and software status.
; F& L1 {* o. L& @1 X•        show flash: This command displays the files and directories in the flash.* K" c# n: \2 d- S
•        show history: This command displays the last ten commands.( v- P5 ]9 M. v5 O) f, b
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch., k' h& o$ ^/ V
•        show log: This command displays logging messages of the switch.0 c/ p; _* }! i) N4 j
•        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

返回列表