返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1)." h, [5 k$ I! F9 U
•        ip default-gateway [address]: This is a global command and set default gateway.
( |0 ]7 O9 h; [0 ^. j) l•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.5 x  z' P+ i( z. @/ c! q
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
' f. l+ c; m& `# G5 \! G2 d•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.4 J* v& e# e5 q, n7 @& |0 |/ a
•        duplex {auto/full/half}: This command sets duplex mode for the interface.2 s( ^3 Y2 s% Y" D( k$ ?$ Z8 B
•        hostname [name]: This command assigns a host name to the switch.
# J, `& h* \" e$ ^+ j5 t* W•        line vty 0 15: This command enters vty (telnet) configuration mode.
) |2 r# l+ \( U! P•        line con 0: This command enters console configuration mode.; F# Y" N- ^# n4 Y( {% B( q* c6 @" m
•        login: This command tells the switch to ask for a password.
3 f. ]' ]) k/ j7 T! Y0 O* t6 v•        password [password]: This command sets the password.& K* p8 e' p$ O
•        enable password [password]: This command sets the password to enter privileged mode.
9 [& O' F  \" h/ [) Z5 q•        enable secret [password]: This command sets encrypted password.+ L* G) C0 N9 p: j" x) H1 ]
•        configure terminal: This command enters configuration mode.
( K5 \! u$ h  h: @•        show interfaces fastethernet 0/x: This command displays interface status.9 b) I( ?! T( ^# ]
•        show interfaces: This command displays information of all interfaces.+ U! ^" e8 E0 j  m) _& U
•        show interfaces vlan 1: This command displays the ip address configuration.
5 g) H. h9 i) a% J5 v•        show [running/startup]-config: This command displays RAM/NVRAM settings.
" N+ d9 J3 g" N" V4 I•        show-mac-address-table: This command displays the MAC address table.- }$ |; E$ T/ T# J3 S
•        show version: This command displays the switch’s hardware and software status.- O* n/ ]" |" E( f8 |' L
•        show flash: This command displays the files and directories in the flash.
# t& D8 x4 y! g- y+ V7 d! M+ M•        show history: This command displays the last ten commands.: J6 A- z8 \8 E  Y
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.& `# T4 D. h! [# R. ?$ S- W
•        show log: This command displays logging messages of the switch.
0 }3 H5 I: _* X3 T•        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

返回列表