返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
3 `( \% H2 @+ K6 W0 ?1 X•        ip default-gateway [address]: This is a global command and set default gateway.
6 ]0 l4 `3 z  d3 A8 ?•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
- U5 h! e: l5 g. G•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
1 G1 k: E! A8 u•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.5 {5 W0 h  T2 [9 P& W
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
- Y& k9 [+ V. D' w7 _9 p0 z•        hostname [name]: This command assigns a host name to the switch.) {0 _3 O# H" d# S
•        line vty 0 15: This command enters vty (telnet) configuration mode.5 e8 i) z* S' M! P( f, f
•        line con 0: This command enters console configuration mode.! n3 h* Y+ B, X( [, n5 b" ?% ?6 E
•        login: This command tells the switch to ask for a password.1 m# P, w% D& @! k
•        password [password]: This command sets the password.6 ~, y+ v$ S; v4 y. c
•        enable password [password]: This command sets the password to enter privileged mode.
; D8 y5 c6 A! p6 j* [9 X3 k•        enable secret [password]: This command sets encrypted password.
2 n5 G. R  d0 F- v6 l- Q. s•        configure terminal: This command enters configuration mode.& H1 V! I" n( l2 b" \
•        show interfaces fastethernet 0/x: This command displays interface status.5 v% _6 m& N. D1 |* {$ T6 l% V' z! T
•        show interfaces: This command displays information of all interfaces.4 v& h: C. Z. e
•        show interfaces vlan 1: This command displays the ip address configuration.
% V  m8 {2 }* J! p7 @•        show [running/startup]-config: This command displays RAM/NVRAM settings.& h/ q6 s0 z4 P  Y0 L6 E* q
•        show-mac-address-table: This command displays the MAC address table.
* n* \, i$ F. l( \# c, b0 Z" I•        show version: This command displays the switch’s hardware and software status.( y7 l5 b" ~. s1 O) o- K
•        show flash: This command displays the files and directories in the flash.
: Y0 [5 [% j5 b$ ^8 a- z•        show history: This command displays the last ten commands.
, ^! C- k/ H! ]6 z( L•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.+ m9 u. b% g& Y" I. F3 O
•        show log: This command displays logging messages of the switch.
+ N: \0 q, P6 M, |/ B' 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

返回列表