返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).. B* s) H* v( i
•        ip default-gateway [address]: This is a global command and set default gateway.
% F1 }  I" M0 P. Q- s8 k7 T•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.3 }9 ^( H) y# @4 f( o
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.9 F2 H8 H) d' |( {! K8 i9 k
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.  p) k% y- Q" y  D( [
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
4 m2 Z6 k# ]6 X( i7 o•        hostname [name]: This command assigns a host name to the switch.* l$ Z5 H1 [1 u6 ]# E3 I
•        line vty 0 15: This command enters vty (telnet) configuration mode.& Y' U3 u" B. ]
•        line con 0: This command enters console configuration mode.
! o' w) c  N1 ^•        login: This command tells the switch to ask for a password.
; e0 L. f8 K& f8 ^8 {* Y" F# s•        password [password]: This command sets the password.% n( `. p* ^0 ]5 \9 \
•        enable password [password]: This command sets the password to enter privileged mode.
! i! H7 _! [* ]2 t5 a; D•        enable secret [password]: This command sets encrypted password.
6 m# Y8 L0 t/ T$ m: o! Z$ M. j•        configure terminal: This command enters configuration mode.6 D1 ^$ h4 C5 R: d
•        show interfaces fastethernet 0/x: This command displays interface status.
% ]5 b3 q* N9 [' ]" u•        show interfaces: This command displays information of all interfaces.- Y1 z* [' ^+ d" n$ u
•        show interfaces vlan 1: This command displays the ip address configuration.
" L- a4 a1 J8 Z0 f1 `) {•        show [running/startup]-config: This command displays RAM/NVRAM settings.6 K6 D- n$ L( Y2 U3 `
•        show-mac-address-table: This command displays the MAC address table.
; ^- W7 ~% h1 @* ~$ a% F3 Q) t•        show version: This command displays the switch’s hardware and software status.
# w; j8 F& e) n5 U, E•        show flash: This command displays the files and directories in the flash.+ z# ~9 E$ i3 O$ [
•        show history: This command displays the last ten commands.: g' \3 o% k5 u
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
- Q, B9 u* S% J7 {; [•        show log: This command displays logging messages of the switch.: p. l4 C& h1 K3 A
•        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

返回列表