返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1)./ Q2 W& M2 t+ y' y
•        ip default-gateway [address]: This is a global command and set default gateway.
% ?( G9 ?5 G6 |6 y: m' t7 D  h( H•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
1 W' C5 ]! x4 N) ?$ ]•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
" `! \8 H6 R; v4 \" k" \•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
$ n* Y5 ~+ k/ t! f# n, H•        duplex {auto/full/half}: This command sets duplex mode for the interface.! i2 L% A1 f0 h' C! u
•        hostname [name]: This command assigns a host name to the switch.2 z5 B- N& E0 W2 T5 x7 w; H0 W1 N( P
•        line vty 0 15: This command enters vty (telnet) configuration mode.
& b4 K( z3 T0 J$ I•        line con 0: This command enters console configuration mode.6 P$ i" q% {7 O2 h' {- s
•        login: This command tells the switch to ask for a password.
1 g& H4 f4 @/ S6 W( K& [•        password [password]: This command sets the password.
. x  c* i4 q- q1 h, |, d' Y7 h•        enable password [password]: This command sets the password to enter privileged mode.
$ d$ C+ G- H$ M- ]! u  R2 }•        enable secret [password]: This command sets encrypted password./ s: V8 ?1 y# }' z. _0 P
•        configure terminal: This command enters configuration mode.( d4 N1 i" h( V% B2 `& Y* Q, w- v
•        show interfaces fastethernet 0/x: This command displays interface status.
8 i; D, x) [2 C! g% G8 s0 S1 i•        show interfaces: This command displays information of all interfaces.
: A% H/ U& S7 I/ {0 f0 `•        show interfaces vlan 1: This command displays the ip address configuration., o' K% Y8 [: D
•        show [running/startup]-config: This command displays RAM/NVRAM settings.
3 K7 _  u  m# w5 f5 F9 z2 S, r•        show-mac-address-table: This command displays the MAC address table.
  Q$ J) w5 g$ W" a•        show version: This command displays the switch’s hardware and software status.& W2 n4 }- g8 C9 P
•        show flash: This command displays the files and directories in the flash.
/ F3 i6 e' f& @- ^: I+ f) b7 _1 s•        show history: This command displays the last ten commands.
4 l& U/ F# A! {& `•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
4 @! r5 X0 _" L8 |•        show log: This command displays logging messages of the switch.! ]  X1 v! w0 j6 i
•        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

返回列表