返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
3 h, Y" K3 b! N. N) A& v•        ip default-gateway [address]: This is a global command and set default gateway.
, E# @) s' l4 w# n% X4 g•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
; \4 l5 }9 P' b$ ~  F1 ]$ j•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
0 H$ v2 y5 D9 a7 Z- e1 G•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
" }6 H: w4 w* {) U•        duplex {auto/full/half}: This command sets duplex mode for the interface.0 W9 u* A+ f, Q1 }% T2 `- T4 `' i
•        hostname [name]: This command assigns a host name to the switch.; o6 q4 D5 z' k" R0 d
•        line vty 0 15: This command enters vty (telnet) configuration mode.
1 l  L! N5 ]+ S) ^3 r* Y9 r, d•        line con 0: This command enters console configuration mode.; T" H2 {* s  W0 s
•        login: This command tells the switch to ask for a password.
& V) _: L2 y$ B•        password [password]: This command sets the password.
1 b5 B2 G" K* X$ g* g* X8 x" [•        enable password [password]: This command sets the password to enter privileged mode.$ p7 H" N: n; y
•        enable secret [password]: This command sets encrypted password.) ]/ _% u* ^7 M3 k( X9 f
•        configure terminal: This command enters configuration mode.1 [' d- W. d, b
•        show interfaces fastethernet 0/x: This command displays interface status.
! b4 ~4 f( }% U& t' t0 w8 T. i•        show interfaces: This command displays information of all interfaces.
) D$ w& `, f# K•        show interfaces vlan 1: This command displays the ip address configuration.( w* h% c5 _( u0 ~0 _) Y4 z
•        show [running/startup]-config: This command displays RAM/NVRAM settings.9 a# _  O& E6 _
•        show-mac-address-table: This command displays the MAC address table.
* \$ d* A( @: X" D. }# p1 w•        show version: This command displays the switch’s hardware and software status.
% X. p2 `3 Q# j' I0 K% S) G•        show flash: This command displays the files and directories in the flash.
* i9 I. X: q0 G/ v# a& u1 N. X•        show history: This command displays the last ten commands.3 u. O; d: @* T9 C0 F$ \
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.( L! Z2 m* \$ I  K: R4 K5 d5 O
•        show log: This command displays logging messages of the switch.! E, T/ z; T; M7 D! f8 U* c
•        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

返回列表