返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
: o  W0 m9 b  a4 N( X# O8 h•        ip default-gateway [address]: This is a global command and set default gateway.3 D& U+ b3 O& w
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
' }) {/ e6 N8 y& l* `; c# q7 f•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
- v2 c0 r# C/ Z0 c; x- s; _•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.! M# o8 q5 F' D* Z
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
' P1 A7 t5 b  h8 @+ o; \4 |•        hostname [name]: This command assigns a host name to the switch.2 u, D  E3 u% A. b1 |
•        line vty 0 15: This command enters vty (telnet) configuration mode./ n7 d, B3 T7 Y2 z/ y
•        line con 0: This command enters console configuration mode.' J- y$ }+ }9 O4 {
•        login: This command tells the switch to ask for a password.# i% w' o+ q! f+ K
•        password [password]: This command sets the password.
. h# F8 v3 ]! ~. ~; H% e•        enable password [password]: This command sets the password to enter privileged mode.
% O: v& Z& H% b•        enable secret [password]: This command sets encrypted password.& F# I% j% p: F2 P- ^& t
•        configure terminal: This command enters configuration mode.! I4 [" s; t" P( @- n
•        show interfaces fastethernet 0/x: This command displays interface status.8 i" S' b5 ~5 `1 T
•        show interfaces: This command displays information of all interfaces.
7 Y' a6 q+ g" W1 v5 U6 z•        show interfaces vlan 1: This command displays the ip address configuration.
0 g, c, E" ~( U; b7 y•        show [running/startup]-config: This command displays RAM/NVRAM settings.+ a  K; Z2 f7 r6 U: ]3 q: E. u+ T/ f4 n
•        show-mac-address-table: This command displays the MAC address table.; z9 d) e7 g+ b, L' \
•        show version: This command displays the switch’s hardware and software status.
5 v- ~! Z3 {; [$ N( k7 I3 i+ Z•        show flash: This command displays the files and directories in the flash.
# J. i; U1 n, a+ x; z5 k- L+ r% M•        show history: This command displays the last ten commands.) [9 c6 a8 |5 p. j4 M
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.3 V$ c5 N- g! V+ q
•        show log: This command displays logging messages of the switch.5 Z$ d5 W# m8 e- s6 |
•        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

返回列表