返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
3 d# X" M3 p3 M3 P•        ip default-gateway [address]: This is a global command and set default gateway.) E- R8 ], ^1 G5 |1 i
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.! c8 W9 F* D, m' n; M; N0 k) j
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
2 Q( B0 T5 _. I; w2 ^/ T•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.1 H" F2 B# I) t  V
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
5 y0 p% H/ P7 r& u* D•        hostname [name]: This command assigns a host name to the switch.( |$ m0 b1 Z/ U+ F9 |, v
•        line vty 0 15: This command enters vty (telnet) configuration mode." X& P9 n- J. l9 k* Y2 U
•        line con 0: This command enters console configuration mode., |$ P3 O& B5 q: g7 |
•        login: This command tells the switch to ask for a password.
6 x  m' s' o0 O. ?* `4 r•        password [password]: This command sets the password.2 V+ A: S; q9 F$ [8 `5 ]
•        enable password [password]: This command sets the password to enter privileged mode.
+ O7 Y: r0 G6 V) J, b! a•        enable secret [password]: This command sets encrypted password.
: H4 g! U; T0 i) P8 g& t/ n•        configure terminal: This command enters configuration mode.
, t! l3 H% h- A' q9 O! k0 G% m•        show interfaces fastethernet 0/x: This command displays interface status.8 q9 P) U- i3 d* C
•        show interfaces: This command displays information of all interfaces.
5 H- @1 z! \' S& \3 W9 R$ m•        show interfaces vlan 1: This command displays the ip address configuration.7 r- E* @: Z, s
•        show [running/startup]-config: This command displays RAM/NVRAM settings.! g. N! ]: ^8 X  t6 H
•        show-mac-address-table: This command displays the MAC address table.) U- X- s0 t: c. v) ?
•        show version: This command displays the switch’s hardware and software status.5 B1 a% n1 H% o9 G( W
•        show flash: This command displays the files and directories in the flash.8 r4 n- E+ ]" ~7 N# }- ?7 S& J
•        show history: This command displays the last ten commands.5 U, i4 A3 x* R0 E" w! X: o
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.2 g' c+ G# Y' G* a. ]  R" `3 j
•        show log: This command displays logging messages of the switch.1 F8 q* `, l5 W# t; `' d+ 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

返回列表