返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
$ p6 C+ S1 X- g, P6 a8 X•        ip default-gateway [address]: This is a global command and set default gateway.) @  y5 v# R7 Q9 `8 l3 U9 |
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
: v. X4 j  N; `•        interface fast Ethernet 0/x: This command puts users into user configuration mode.4 k3 c! {! Q9 g. U7 c, ^( [
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.* w% ?' H' i  B$ q' B. @, ?
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
  k$ C* J/ C3 y. o7 F; B•        hostname [name]: This command assigns a host name to the switch.
& n: q! {7 @+ G' L5 R•        line vty 0 15: This command enters vty (telnet) configuration mode.
$ E% r; [) M$ T, l•        line con 0: This command enters console configuration mode.! ~8 M0 y& _/ e2 R  U! {: n* G, r
•        login: This command tells the switch to ask for a password.
  z* O, T. z2 d# N0 V6 n3 ~•        password [password]: This command sets the password.
4 g+ k9 q6 H. z9 k8 W•        enable password [password]: This command sets the password to enter privileged mode.
' J2 c) ~, r- g9 G& ~•        enable secret [password]: This command sets encrypted password.
; f% T& n/ o% w& ]. ?# {$ z% X+ i6 B•        configure terminal: This command enters configuration mode.4 X( U; w) _2 l& _* t$ K( U# G; D& i
•        show interfaces fastethernet 0/x: This command displays interface status.
2 \" ^, M+ o0 t. q# A# M•        show interfaces: This command displays information of all interfaces.
0 e6 u1 N: i9 B: l) w•        show interfaces vlan 1: This command displays the ip address configuration.
5 n2 b" `" \1 \) {! s5 t/ k; I•        show [running/startup]-config: This command displays RAM/NVRAM settings.& u# Q& A7 h5 f7 u! H
•        show-mac-address-table: This command displays the MAC address table.  b5 t2 Y: P& @7 y
•        show version: This command displays the switch’s hardware and software status.* t" S: w: q* e% z# W
•        show flash: This command displays the files and directories in the flash.6 P1 K1 j7 Z2 V2 e7 g
•        show history: This command displays the last ten commands.
  F" R4 y, I$ h* s6 b•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.* S" d4 a" Y; |$ N
•        show log: This command displays logging messages of the switch.
' Z2 e0 p" V' S/ L+ y' E•        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

返回列表