返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
# b$ L. B8 E/ o/ Y•        ip default-gateway [address]: This is a global command and set default gateway.( Q5 Q0 E/ ]  O9 i  x- e
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.9 H& i+ P1 W* j$ U7 k+ X
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.2 l7 e, ~; c7 a- o% m$ B5 A
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
% G! Z8 _9 ^  F: t•        duplex {auto/full/half}: This command sets duplex mode for the interface.
# v) |, [6 d" X5 c/ y6 C•        hostname [name]: This command assigns a host name to the switch.
# N( D& O- j! l' a: d" \7 R) m•        line vty 0 15: This command enters vty (telnet) configuration mode.
! e; T4 c. c/ p# J' K) n4 B•        line con 0: This command enters console configuration mode.
; T* e; ~& b" \4 }) q; }•        login: This command tells the switch to ask for a password.8 j7 h! E0 _- A, K7 W
•        password [password]: This command sets the password.1 O+ t9 b# q- v5 f5 a! Q' r6 p
•        enable password [password]: This command sets the password to enter privileged mode.7 p" V. T; l, |) E% T  s
•        enable secret [password]: This command sets encrypted password.9 |, `+ o- S; U2 w8 d
•        configure terminal: This command enters configuration mode.& \- r  J, u, m* r( H2 m% W
•        show interfaces fastethernet 0/x: This command displays interface status.: G$ U( C; V' t( I1 }
•        show interfaces: This command displays information of all interfaces.
+ l- d7 u' s4 a, W•        show interfaces vlan 1: This command displays the ip address configuration.+ f8 O3 `4 B8 x5 }  n% E. j9 L/ M2 Y
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
2 C, O$ d  Y' d8 p) _2 |•        show-mac-address-table: This command displays the MAC address table.# `1 @( l1 ?  N6 ~' l: _+ q  P0 K
•        show version: This command displays the switch’s hardware and software status.
" ]( r7 h% F; r$ \! i+ p•        show flash: This command displays the files and directories in the flash.
# E0 a, k. x9 ]- _' ?6 y•        show history: This command displays the last ten commands.  t3 q! S7 [0 |! q
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
0 |2 o; }/ ~! i0 g5 ]) u$ I: ]0 d•        show log: This command displays logging messages of the switch.8 y# x. w, h$ g) w  z$ 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

返回列表