返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
4 L) {4 r  g7 u  p: R8 F5 i•        ip default-gateway [address]: This is a global command and set default gateway.- W, w) v: S# m4 X
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.8 H5 l7 {4 q! \. y$ a
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
$ ]5 N  v! R/ _4 x- H•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.1 A3 l1 A$ v% ~2 b! q
•        duplex {auto/full/half}: This command sets duplex mode for the interface.+ I' G% _4 L2 U. u8 }
•        hostname [name]: This command assigns a host name to the switch.
' Z# o! |9 I+ c, }* D•        line vty 0 15: This command enters vty (telnet) configuration mode., ?) o# j, R0 g" N" w
•        line con 0: This command enters console configuration mode.
1 l# p* o7 a7 ~0 t•        login: This command tells the switch to ask for a password.
( L( t6 L/ }- n1 P7 v7 o: H* e$ ?•        password [password]: This command sets the password.
9 a$ p4 Z0 X) Y1 D: W) a! Z1 w8 ^•        enable password [password]: This command sets the password to enter privileged mode.
9 I, Y$ \+ P2 a7 X9 y) @. y! @•        enable secret [password]: This command sets encrypted password.9 k: h( u* S+ k( B: Z6 o8 v
•        configure terminal: This command enters configuration mode.% I6 u1 @. c; |$ x. a& w$ Y
•        show interfaces fastethernet 0/x: This command displays interface status.# e) C- Z6 Y4 u- L1 }9 Y
•        show interfaces: This command displays information of all interfaces.  z3 @! w0 X* ^3 r
•        show interfaces vlan 1: This command displays the ip address configuration.& G) e& {* ~: t, b3 q
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
+ a7 ^2 [# Y$ j( ]' F& P6 Z+ k•        show-mac-address-table: This command displays the MAC address table.. C  d7 R4 ], ]( c
•        show version: This command displays the switch’s hardware and software status.
7 B  n9 T4 s: @! t8 o•        show flash: This command displays the files and directories in the flash.& i6 ]- @; O* {4 S* H1 f+ s' L* E) _
•        show history: This command displays the last ten commands.
; Z! q. }$ G6 Z# p3 Z5 W: f•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
" n/ R/ }/ `! W9 a$ J* p•        show log: This command displays logging messages of the switch.6 c; W2 ^7 {# x2 p0 j% \6 R; ~
•        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

返回列表