返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).9 U# h9 ]- [+ Y) _: Y) K
•        ip default-gateway [address]: This is a global command and set default gateway.7 O1 M( I; n- k' k
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.. M" n' x; A' }/ t- O
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
, [1 F3 D) z6 W5 h7 p•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
' R" v% w9 ^0 Q  e9 p& n•        duplex {auto/full/half}: This command sets duplex mode for the interface.6 m' P- v2 T& O. n2 Q! p7 k$ }
•        hostname [name]: This command assigns a host name to the switch." h) @. i# m$ y
•        line vty 0 15: This command enters vty (telnet) configuration mode.
+ ?$ U0 j% S$ ^( F( ]! r•        line con 0: This command enters console configuration mode.- D; H4 g, X# L$ f
•        login: This command tells the switch to ask for a password.3 ~" I- I+ D8 z$ j% \/ C; q
•        password [password]: This command sets the password.
  s" B  b1 Q7 N( K( |•        enable password [password]: This command sets the password to enter privileged mode.! S% D  g( I% t$ _, N
•        enable secret [password]: This command sets encrypted password.
5 R; z: `! f7 u! h•        configure terminal: This command enters configuration mode.
5 L0 d. q, W9 p•        show interfaces fastethernet 0/x: This command displays interface status.
0 v4 u( h! d8 P5 d  B/ v: F•        show interfaces: This command displays information of all interfaces.- g+ _. g+ u& _' E* R
•        show interfaces vlan 1: This command displays the ip address configuration.
+ {9 K7 @2 N9 C( m# t8 v•        show [running/startup]-config: This command displays RAM/NVRAM settings.) K6 \$ d1 X6 r2 S. I4 C& n7 o
•        show-mac-address-table: This command displays the MAC address table.: u2 \4 @  z( v) K% S3 M9 }# A
•        show version: This command displays the switch’s hardware and software status.' C/ T' h: R* R1 {
•        show flash: This command displays the files and directories in the flash.
. D/ @. l! y# W: v# \; F5 q8 g•        show history: This command displays the last ten commands.
' z/ ~& v) M& q- s  N/ f5 e: s•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
  V4 z7 h! z! M; R0 D•        show log: This command displays logging messages of the switch.
  Z- J+ B  ]* ?9 r0 Y& e•        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

返回列表