返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).: j/ X5 t' l! v2 N1 K/ R6 h
•        ip default-gateway [address]: This is a global command and set default gateway.$ E( ?) G0 y/ Q$ V) k# v; ]
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.9 J5 E/ r' s) Q2 D& M/ R
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.# @( q5 b2 r: {9 h4 ^9 O' z" Q
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
  Z* x) S! x* p/ ]' E•        duplex {auto/full/half}: This command sets duplex mode for the interface.
0 m* Y+ V4 ]( p•        hostname [name]: This command assigns a host name to the switch.
  K1 A& v- q& ]% w- ^& D•        line vty 0 15: This command enters vty (telnet) configuration mode.
6 K" ?$ b- I+ f7 h/ s; E/ q# T•        line con 0: This command enters console configuration mode." z! S3 I3 f% A$ P' \
•        login: This command tells the switch to ask for a password.( u( h6 v& k) Z) J; G: C
•        password [password]: This command sets the password.
$ R# _2 r* D5 m•        enable password [password]: This command sets the password to enter privileged mode.
( V0 n6 G, k% B$ {1 a# Q9 V•        enable secret [password]: This command sets encrypted password.
' [! ]& _5 \+ o# ?* {8 |•        configure terminal: This command enters configuration mode.
2 C8 M8 ~2 |' F3 ^; o) D•        show interfaces fastethernet 0/x: This command displays interface status.) f' J4 `1 @# I3 ]/ [  Y) d
•        show interfaces: This command displays information of all interfaces.
% U' q8 g  z, [- x  p•        show interfaces vlan 1: This command displays the ip address configuration.
" _4 n8 d) S+ C2 i& ]•        show [running/startup]-config: This command displays RAM/NVRAM settings.# F2 U: |$ C# H6 I; @& }' C* D& p( A
•        show-mac-address-table: This command displays the MAC address table.
( i1 `& M0 }( N+ a+ a# P/ ~# y7 Y/ s9 |•        show version: This command displays the switch’s hardware and software status.
) W( c, ^1 ]7 L2 s•        show flash: This command displays the files and directories in the flash." Y) ~9 B+ A8 J9 n3 n( L
•        show history: This command displays the last ten commands.0 s0 K3 n9 U1 a' @$ A
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch./ E. H7 a2 \7 _' O, ~
•        show log: This command displays logging messages of the switch.
; u7 ]" L+ ~4 f3 g•        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

返回列表