返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).$ {- H! U. w+ d' Q" h$ p
•        ip default-gateway [address]: This is a global command and set default gateway.
/ [) g. E* a% z2 Q' M( |" L5 T•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.4 X) W# @$ h- f/ A6 N
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.2 j9 z" V4 R' C! j! k# X3 t7 F
•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
5 E; u* L) f+ L" \' j* [" F( \•        duplex {auto/full/half}: This command sets duplex mode for the interface.
, x; t  ^) p$ Y- E•        hostname [name]: This command assigns a host name to the switch.
) l: `" d1 f" X8 {' g( ^•        line vty 0 15: This command enters vty (telnet) configuration mode.
  @$ N9 L+ z, Z( |% Q•        line con 0: This command enters console configuration mode.
5 g6 O% S2 a$ q2 n•        login: This command tells the switch to ask for a password.1 _5 T7 a( ?2 h4 N4 X3 O
•        password [password]: This command sets the password.. m( t* e& n. \
•        enable password [password]: This command sets the password to enter privileged mode.
% T% d  _. I$ D2 _) J1 e, b•        enable secret [password]: This command sets encrypted password.3 q$ F# Z/ }) X
•        configure terminal: This command enters configuration mode.
0 Y" u/ Q. j- l  [4 Q" ^•        show interfaces fastethernet 0/x: This command displays interface status.
6 P$ n; @8 \% d9 D7 y•        show interfaces: This command displays information of all interfaces.2 i) |1 a0 T; m" |3 `
•        show interfaces vlan 1: This command displays the ip address configuration.
; {3 F/ ?5 l0 X5 \) L0 X•        show [running/startup]-config: This command displays RAM/NVRAM settings.( R' o/ ?# f4 o) F6 e& g* D
•        show-mac-address-table: This command displays the MAC address table.
6 D9 y( \8 G$ W•        show version: This command displays the switch’s hardware and software status.& B# k0 w/ X8 v. _- W* j
•        show flash: This command displays the files and directories in the flash.2 J% O8 U* l/ d: n: Q
•        show history: This command displays the last ten commands.
8 a7 r1 z: b* \" p- g•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.- Q9 O& z2 p* {& s
•        show log: This command displays logging messages of the switch.
6 A. K* T# x3 ]3 d, E0 U•        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

返回列表