返回列表 發帖

Cisco 2960 常用命令

•        interface vlan 1: This is a global command that configures the interface for default LAN (VLAN 1).
4 A! {! f% B- F•        ip default-gateway [address]: This is a global command and set default gateway.6 I( B) s; M0 h; Q3 ]
•        ip address [address][subnet mask]: This command configures the interface and sets the ip address.  X+ y9 o% @7 [8 z
•        interface fast Ethernet 0/x: This command puts users into user configuration mode.
9 S* _% E3 b' _# p- B•        speed {10/100/1000/auto/nonegotiate}: This command sets the interface’s speed.0 R6 S( W9 u, O; {$ e* \
•        duplex {auto/full/half}: This command sets duplex mode for the interface.
$ G7 q& p9 A; Y# A•        hostname [name]: This command assigns a host name to the switch.
# [+ k8 d# \8 C•        line vty 0 15: This command enters vty (telnet) configuration mode.
& ^& ^* ~, V. a+ B! g•        line con 0: This command enters console configuration mode.
& S' x) D- f2 a! M•        login: This command tells the switch to ask for a password.8 i: e; V7 w$ Q+ Y6 B: N$ A' \
•        password [password]: This command sets the password.# ?* C- g4 k: U, Y& t( r$ J
•        enable password [password]: This command sets the password to enter privileged mode.7 v5 [2 ?* E4 w" \3 {# m
•        enable secret [password]: This command sets encrypted password./ d+ h" h7 |' O  X+ `
•        configure terminal: This command enters configuration mode.( T& m# ^0 \$ E2 t- S% |
•        show interfaces fastethernet 0/x: This command displays interface status.
! g3 y1 s) Q# x5 X6 k3 Q•        show interfaces: This command displays information of all interfaces.4 Q- N! \7 c' o
•        show interfaces vlan 1: This command displays the ip address configuration.
, N; o+ R2 a# e2 I' I% z" N•        show [running/startup]-config: This command displays RAM/NVRAM settings.
" I( S7 a  x9 u: U•        show-mac-address-table: This command displays the MAC address table.
! Y  B5 C4 z: b# E* B•        show version: This command displays the switch’s hardware and software status.
" s* \7 S$ a" X! b/ u•        show flash: This command displays the files and directories in the flash.
+ k( ^5 ~" Q- d2 v  ^•        show history: This command displays the last ten commands.
7 T) O6 B* h$ j" X& M- f9 D7 j•        show cdp neighbors (detail): This command displays the information of neighboring Cisco devices connected to the switch.  d" A% I2 ?; ^" [6 [  X
•        show log: This command displays logging messages of the switch.
$ ]( `- I9 e, O: U•        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

返回列表