返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
5 j& k6 |% {- e2 D•        ip default-gateway [address]: This is a global command and set default gateway.
& a! R: p! e" s. D! T4 b; Y; o•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.! G7 M3 d5 F0 O" ?% ?
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
) g- [0 R/ E  f  j6 W& n•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.( S& K. E2 C# w  R* J! g
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
( |9 q  G* S/ E" c* j•        hostname [name]: This command assigns a host name to the switch./ d+ }0 |% Z, B) O3 @1 v) w8 T8 R9 m
•        line vty 0 15: This command enters vty (telnet) configuration mode.
4 @3 n4 a8 Z- s7 J: W' C•        line con 0: This command enters console configuration mode.% b+ l0 A7 u! f! [8 i  E
•        login: This command tells the switch to ask for a password.
& [/ ?' D, Y. v6 H% K•        password [password]: This command sets the password., ]- g$ Q0 v- K! S) T
•        enable password [password]: This command sets the password to enter privileged mode.9 W* L1 d" x( K- ?! A3 @
•        enable secret [password]: This command sets encrypted password.
8 X( R' r, [! c- r' O•        configure terminal: This command enters configuration mode.& K% p! K, ]: @8 s* I) F( R8 j/ m
•        show interfaces fastethernet 0/x: This command displays interface status., O0 z% s5 D5 D; p& X5 `5 k# X
•        show interfaces: This command displays information of all interfaces.% R+ R) i3 U! K5 j( o& l8 x  V
•        show interfaces vlan 1: This command displays the ip address configuration.6 z7 x+ E. L1 B
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
3 K$ l2 ]5 y% y4 t  z•        show-mac-address-table: This command displays the MAC address table.- F3 j; _+ o1 F  ?! R
•        show version: This command displays the switch’s hardware and software status.) x6 i4 l! u; @
•        show flash: This command displays the files and directories in the flash.8 B5 l0 F) j$ c; L( z
•        show history: This command displays the last ten commands./ A3 I5 c+ ^8 T4 W) Z0 Q- ^
•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.  y  U* J9 W- Z3 Z6 G
•        show log: This command displays logging messages of the switch.- d7 |: z8 m( f# i  U7 ^
•        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

返回列表