返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).1 [) u+ Z; R4 T" {* X/ k
•        ip default-gateway [address]: This is a global command and set default gateway.6 `1 |# V; `6 Q0 ^% D" g7 X
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.
3 X1 ^1 W: x9 U$ H) O•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
" s8 U: O0 [0 ^. |: k" F0 A' z5 b•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.
) ~# s8 ^# N% s# }•        duplex {auto/full/half}: This command sets duplex mode for the interface.
* p  V+ b% c" x  f( c6 i•        hostname [name]: This command assigns a host name to the switch.3 p$ Q; h% X2 R7 Y  v, m" C" _  \
•        line vty 0 15: This command enters vty (telnet) configuration mode.  ?! z: w3 l  }# m
•        line con 0: This command enters console configuration mode.( r1 `" i3 Q( Y0 O4 Q4 W. a
•        login: This command tells the switch to ask for a password.$ X0 |  Q; b0 l8 D8 M& x+ u
•        password [password]: This command sets the password.
" Y' H  q  ^) `4 L# `•        enable password [password]: This command sets the password to enter privileged mode.
1 G0 o1 Q5 p  P4 z. b$ K+ c•        enable secret [password]: This command sets encrypted password.
5 g; i2 g/ q, j+ M•        configure terminal: This command enters configuration mode.3 y% P7 p4 c: b  f3 |* X# b- X1 U
•        show interfaces fastethernet 0/x: This command displays interface status.
# w, B8 N% V: K' }" t+ f•        show interfaces: This command displays information of all interfaces.! @* s: u0 j, L& v0 z  q/ K5 F
•        show interfaces vlan 1: This command displays the ip address configuration./ k4 i" {- e- @: H- j! v; q
•        show [running/startup]-config: This command displays RAM/NVRAM settings.( M. C6 Z  J) `$ g! x
•        show-mac-address-table: This command displays the MAC address table.
' D! }: F0 a( k; J" g* \, P•        show version: This command displays the switch’s hardware and software status.& J- s6 L* K2 z" u' t% A
•        show flash: This command displays the files and directories in the flash.
. E' v- C( c8 p5 A! I. ^% J3 V( {+ Q•        show history: This command displays the last ten commands.
$ l6 b" @9 X+ t" I* R+ `•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.
6 t+ @- j4 s6 Y* K•        show log: This command displays logging messages of the switch.
/ e0 w$ a1 H* \3 _- P•        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

返回列表