返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).( K* d2 }5 A+ I8 A& R
•        ip default-gateway [address]: This is a global command and set default gateway.
3 B! U8 {9 a) Y1 I; ?•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.6 E; r8 {: u: ~" w
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
/ N8 E% l. q! I$ K•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.& a2 S6 G+ U* ]" S9 Z
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
5 L: [# `2 c' H, o8 C& o* T: B•        hostname [name]: This command assigns a host name to the switch.
2 j" X7 `# l7 k/ k. x•        line vty 0 15: This command enters vty (telnet) configuration mode.6 P, ]' _* P6 k' p; Y) p
•        line con 0: This command enters console configuration mode.
5 P0 E5 [) D* e•        login: This command tells the switch to ask for a password.
! L+ u, M# j( v% x& c0 a•        password [password]: This command sets the password.
! Q0 ]- G1 F* p- V7 l0 ~8 }5 O3 L•        enable password [password]: This command sets the password to enter privileged mode.
* z) \5 m- K3 s& c•        enable secret [password]: This command sets encrypted password.  v2 Y: |" l4 S1 o: m0 y* S
•        configure terminal: This command enters configuration mode.# q2 ~: E- r# P  S4 j6 P
•        show interfaces fastethernet 0/x: This command displays interface status.
8 y1 {7 _6 Q9 i  q5 j•        show interfaces: This command displays information of all interfaces.
9 e5 w! A/ U* b2 }, d3 S•        show interfaces vlan 1: This command displays the ip address configuration.2 }. K* a& O9 H$ J4 T' k' K* Z0 g
•        show [running/startup]-config: This command displays RAM/NVRAM settings.5 n! x+ P  h0 Q9 ^6 m
•        show-mac-address-table: This command displays the MAC address table.
+ C" J( b, [( w; Q# i•        show version: This command displays the switch’s hardware and software status.  `% a8 A, X4 ?/ j
•        show flash: This command displays the files and directories in the flash.
& g2 Y; `8 ~" N) c1 ^! ^: X) a•        show history: This command displays the last ten commands.
) g& d4 K4 B+ [2 _•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.7 D7 a2 x( x4 q) p
•        show log: This command displays logging messages of the switch.
) R; t5 O7 t, [6 k•        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

返回列表