返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
, Y" {' w! a& \1 k) s3 |•        ip default-gateway [address]: This is a global command and set default gateway., W/ y$ s2 C1 Z3 i. \4 l; `8 B% ~5 p
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
1 D5 `. A/ H* e7 C7 [4 a- ?6 F$ ~•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
) w  g, A  f$ l% N5 Z•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.3 a$ c* m3 U/ w  }
•        duplex {auto/full/half}: This command sets duplex mode for the interface.$ c! ^# C/ r5 H
•        hostname [name]: This command assigns a host name to the switch.' I1 F8 }' b  t. K8 B9 _
•        line vty 0 15: This command enters vty (telnet) configuration mode.; b9 ^. B7 \$ s$ [7 O* `
•        line con 0: This command enters console configuration mode.. w4 F  n2 Q, s
•        login: This command tells the switch to ask for a password.
0 M1 ]" }) s6 T% @•        password [password]: This command sets the password.
3 |& q3 ^! k; w; B•        enable password [password]: This command sets the password to enter privileged mode.! O; e' t" O* l( D
•        enable secret [password]: This command sets encrypted password.( u9 I4 r9 V2 w+ g# d3 P$ C( ~) K
•        configure terminal: This command enters configuration mode.
6 l3 C2 ~  q* `•        show interfaces fastethernet 0/x: This command displays interface status.* U. a6 i3 w1 H3 Y% w
•        show interfaces: This command displays information of all interfaces.* q  Z6 G( Y* a) `
•        show interfaces vlan 1: This command displays the ip address configuration.
. S, y$ N0 {% Z& u- w•        show [running/startup]-config: This command displays RAM/NVRAM settings.
" G* C# S8 J7 r9 ]  m" F•        show-mac-address-table: This command displays the MAC address table.
; b! l# m" \7 h/ \, |/ S: V•        show version: This command displays the switch’s hardware and software status.
+ J6 s' r% o7 `3 _' E, x•        show flash: This command displays the files and directories in the flash.6 f# `' P* E7 N
•        show history: This command displays the last ten commands.
1 m& X; a1 O6 l+ d  b3 v* I' ^& l- M# [•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
3 W0 s" t* p' }* `- y•        show log: This command displays logging messages of the switch.1 `/ L, r6 V; i" J
•        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

返回列表