返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
, A: T' l- ^3 d& N8 m% U( g1 E5 R4 e•        ip default-gateway [address]: This is a global command and set default gateway.
" p9 W9 n$ p- d5 u: }•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.8 `* C- T- o* L+ S& b! I
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.( e# J7 `1 D3 U, e
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.9 t. A/ _% N5 q7 t/ P
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
# e: {$ e0 m0 n. d: w! O& H+ U! M$ `•        hostname [name]: This command assigns a host name to the switch.& l' }8 }5 D) q# A) o
•        line vty 0 15: This command enters vty (telnet) configuration mode.. `+ ?; W" H6 d3 Q4 b
•        line con 0: This command enters console configuration mode.
" `& W' p1 R0 w8 u/ ]•        login: This command tells the switch to ask for a password.% {) _- x  E0 S- z+ U
•        password [password]: This command sets the password.  a7 U4 e' U% F( j
•        enable password [password]: This command sets the password to enter privileged mode.
) T* c" K9 Y& c. y6 [9 B•        enable secret [password]: This command sets encrypted password.
: I- q. r1 i9 N4 C•        configure terminal: This command enters configuration mode.
+ ~5 s1 a3 ]$ _) }: u•        show interfaces fastethernet 0/x: This command displays interface status.& v: j0 @: G6 \, t
•        show interfaces: This command displays information of all interfaces.
6 L& b9 H0 g1 q•        show interfaces vlan 1: This command displays the ip address configuration.
5 Q' S; N; p3 x. m5 ~9 \6 T$ I•        show [running/startup]-config: This command displays RAM/NVRAM settings.& ]  z4 ^7 |; e
•        show-mac-address-table: This command displays the MAC address table.2 H7 W7 V$ h' c* e
•        show version: This command displays the switch’s hardware and software status.% _( ?7 v! P6 j) c
•        show flash: This command displays the files and directories in the flash.
8 p1 L* M" T7 C' ], _) m( X- U! I•        show history: This command displays the last ten commands.
9 d5 Z0 i- `- S, z% }•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.! `3 I+ s# H2 r% l# L0 ~
•        show log: This command displays logging messages of the switch.
1 w0 Z# B7 D: [  @& D•        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

返回列表