返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).- f) A+ ]% g( i* u: x  ~7 t% `% Q
•        ip default-gateway [address]: This is a global command and set default gateway.
/ i* M9 w- v9 ?0 T•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.0 t+ G# I$ I, x6 v& U6 N
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
7 W  m  Y* [4 w% g3 L; M: W•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.) C5 E* c. y, y  ?$ a: E8 d
•        duplex {auto/full/half}: This command sets duplex mode for the interface.4 M% n8 e3 G9 o% Z4 ]' Y
•        hostname [name]: This command assigns a host name to the switch.
4 ^: ]% L! H7 R: R) \•        line vty 0 15: This command enters vty (telnet) configuration mode.
* f, e# e1 S4 ]  Y: Q  ~/ A( a•        line con 0: This command enters console configuration mode.
, W' C' M. Y7 z$ H•        login: This command tells the switch to ask for a password.
" m) P, `. ]0 n8 Y( Q•        password [password]: This command sets the password.
6 g! P1 ]6 l; a. t) N7 J6 Y7 c1 j•        enable password [password]: This command sets the password to enter privileged mode.
8 I1 W* }% y4 H5 J0 r•        enable secret [password]: This command sets encrypted password.
2 K! y) X8 B8 Z+ H•        configure terminal: This command enters configuration mode.2 [" [( G/ T* u3 l& K- x9 k- B
•        show interfaces fastethernet 0/x: This command displays interface status.; z1 }1 j& x) Y" u2 n  _% u
•        show interfaces: This command displays information of all interfaces.4 Z. Z) M) j+ k0 q6 b
•        show interfaces vlan 1: This command displays the ip address configuration.0 w2 y4 @0 z' Z) |7 f6 I6 k1 Y
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
: V; l' F) D2 h/ q7 O2 ]' T•        show-mac-address-table: This command displays the MAC address table.
! T- Z% {; t+ p. y0 }•        show version: This command displays the switch’s hardware and software status.
7 l3 f: u: ^9 c9 D7 x•        show flash: This command displays the files and directories in the flash.
/ K4 G) l0 J  c8 `9 o•        show history: This command displays the last ten commands.; g0 m. d, j3 z6 F/ j
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.# y% T0 k/ b& v1 s6 B' K
•        show log: This command displays logging messages of the switch.5 t* ~( [7 E& A7 u& L+ G
•        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

返回列表