返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).0 g# i6 `) o" s  U7 w
•        ip default-gateway [address]: This is a global command and set default gateway.7 i8 e& O/ P* Z
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.! B% j' |+ s% t' U2 x
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
! w9 a' T+ M0 |; W' ], g•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
, ]" ~- ~+ W) |5 |- R) h# P•        duplex {auto/full/half}: This command sets duplex mode for the interface.7 H2 a) C# P' x+ T" k
•        hostname [name]: This command assigns a host name to the switch.
/ p% Q9 N0 [" x+ t( o) N•        line vty 0 15: This command enters vty (telnet) configuration mode.
1 h% \. r6 C1 H•        line con 0: This command enters console configuration mode.; T- t) f1 S" S8 ^
•        login: This command tells the switch to ask for a password.
9 X1 W4 \; H0 i- Y1 F•        password [password]: This command sets the password.
( T* Q% l7 I: t& J•        enable password [password]: This command sets the password to enter privileged mode.
5 Q$ T  F! H3 o/ i9 Y  J) U•        enable secret [password]: This command sets encrypted password.
  c% U3 i: h7 `+ }•        configure terminal: This command enters configuration mode.  I( u% p% |( G+ L
•        show interfaces fastethernet 0/x: This command displays interface status.3 }2 [1 O6 n7 s& Y7 C1 l6 ~- V$ R
•        show interfaces: This command displays information of all interfaces.1 Y9 ], h5 @% K/ g' L
•        show interfaces vlan 1: This command displays the ip address configuration.
( ^9 q/ e* s8 E- X•        show [running/startup]-config: This command displays RAM/NVRAM settings.
) s8 K. v6 D; W) b3 D0 s  {•        show-mac-address-table: This command displays the MAC address table.
0 F0 s" _- F/ r9 ], |•        show version: This command displays the switch’s hardware and software status.& o6 @6 ]% D2 D6 v, W
•        show flash: This command displays the files and directories in the flash.' j* E2 X: O$ w
•        show history: This command displays the last ten commands.
) ]( B, Q4 E& Q# m6 o•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
- H& r+ {0 t1 V! z, j/ n4 M) n•        show log: This command displays logging messages of the switch.
! m* l* p  \: Y9 x9 f* G- P! T4 R•        copy run start / write mem: This command saves configurations from RAM to NVRAM.
Bill Tang     MSN:billtang@openplatform.com.hk
Openplatform Technology Co.,Ltd. 資訊坊科技有限公司  
無線工程施工、方案設計、無線產品、天饋材料、終端設備綜合供應商
www.openplatform.com.hk  Tel: 852-27491011  Fax: 852-81483532

中國無線技術論壇 http://www.how2do.com.Hk

现在我这边都是在用h3c的,命令差别多,思科的还就都没用了,不过现在还有这个型号设备在网。
来自生活现象

TOP

返回列表