返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
: Z, M+ H- c% \, s" {8 |4 f•        ip default-gateway [address]: This is a global command and set default gateway.) k3 X2 c3 Q2 D% j. R/ P# G9 E
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.' ^4 H! D1 ^+ z* g& u) T  N1 @5 e
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
$ z3 `) ?2 ]9 T4 R" ~! ^& Y3 M: m•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
, k' K" x0 g# q$ n" a: U, T, E•        duplex {auto/full/half}: This command sets duplex mode for the interface.
+ Y6 K4 r1 p3 p) D•        hostname [name]: This command assigns a host name to the switch.% L- D- d- h9 h" L; g. F8 V. P( ]
•        line vty 0 15: This command enters vty (telnet) configuration mode.* R% Z& L8 [, D, Z& y1 P; O6 T: t. M. C
•        line con 0: This command enters console configuration mode., I2 O( f* R3 _2 l  }( ~7 \, n8 w
•        login: This command tells the switch to ask for a password., X: a4 Y# O# s7 f% h$ ^
•        password [password]: This command sets the password.8 @  T& x" }$ c
•        enable password [password]: This command sets the password to enter privileged mode.
2 @8 ]/ o' z& V+ L•        enable secret [password]: This command sets encrypted password.( E7 W: A5 h0 m
•        configure terminal: This command enters configuration mode.3 ]- X9 N* @$ b% P
•        show interfaces fastethernet 0/x: This command displays interface status.
' T- Z0 F& Z. \& H% _, A•        show interfaces: This command displays information of all interfaces.
' n) O' @8 i- s- |- A•        show interfaces vlan 1: This command displays the ip address configuration.
% [3 _; p( V6 V0 g7 t7 a•        show [running/startup]-config: This command displays RAM/NVRAM settings.( y. W8 A  l$ R* G% G. _
•        show-mac-address-table: This command displays the MAC address table.
; U, H# l! }8 p- o; V- C•        show version: This command displays the switch’s hardware and software status.& M3 O9 q/ ^4 q/ j8 N
•        show flash: This command displays the files and directories in the flash.3 }, x) W6 ?/ D( l9 p0 d) k
•        show history: This command displays the last ten commands.' d& h$ d+ B+ f/ r: i9 f5 ]
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.' z- K5 ]- Q6 k: ^7 ?
•        show log: This command displays logging messages of the switch.6 n: I3 r6 s% G* 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

返回列表